Hi,
we are using the XMPP gateway modules:
• PUA
• PUA_XMPP
• XMPP
The behavior is ok but since the modules are started, the memory usage
is getting increased and now also the swap memory area is used.
I send to you the following information:
1. Numer of records from PUA and xmpp_presentity tables, they are quite
stable:
SQL select count(*) from pua;
COUNT(*)
--
10218
SQL select count(*) from xmpp_presentity;
COUNT(*)
--
754
2. list of PKG fragments with gdb :
$1 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$2 = {size = 32, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$3 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$4 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$5 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$6 = {size = 104, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$7 = {size = 32, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$8 = {size = 32, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$9 = {size = 56, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$10 = {size = 96, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$11 = {size = 56, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$12 = {size = 112, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$13 = {size = 24, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$14 = {size = 24, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$15 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$16 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}
$17 = {size = 40, u = {nxt_free = 0x0, is_free = 0}, file =
0x2b657aa12c00 presence: utils_func.h, func = 0x2b657aa1aed0
uandd_to_uri, line = 66,
check = 4042322160}.
3. Output of sercmd cfg.set_now_int core mem_dump_pkg :
……..10969. N address=0xb1b320 frag=0xb1b2f0 size=104 used=1
qm_status: alloc'd from presence: utils_func.h: uandd_to_uri(66)
qm_status: start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
qm_status:10970. N address=0xb1b3e8 frag=0xb1b3b8 size=32 used=1
qm_status: alloc'd from presence: utils_func.h: uandd_to_uri(66)
qm_status: start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
qm_status:10971. N address=0xb1b468 frag=0xb1b438 size=32 used=1
qm_status: alloc'd from presence: utils_func.h: uandd_to_uri(66)
qm_status: start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
qm_status: dumping free list stats :
qm_status: hash= 1. fragments no.: 4, unused: 0
bucket size: 8 - 8 (first 8)
qm_status: hash= 2. fragments no.: 8, unused: 0
bucket size:16 -16 (first16)
qm_status: hash= 3. fragments no.: 6, unused: 0
bucket size:24 -24 (first24)
qm_status: hash= 4. fragments no.: 1, unused: 0
bucket size:32 -32 (first32)
qm_status: hash= 6. fragments no.: 3, unused: 0
bucket size:48 -48 (first48)
qm_status: hash= 8. fragments no.: 8, unused: 0
bucket size:64 -64 (first64)
qm_status: hash= 9. fragments no.: 6, unused: 0
bucket size:72 -72 (first72)
qm_status: hash= 12. fragments no.: 5,