[Kamailio-Devel] [ openser-Bugs-2050115 ] pkg memory management

SourceForge.net noreply at sourceforge.net
Thu Aug 14 00:26:55 CEST 2008


Bugs item #2050115, was opened at 2008-08-13 19:17
Message generated for change (Comment added) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2050115&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Antanas Masevicius (zoltran)
Assigned to: Nobody/Anonymous (nobody)
Summary: pkg memory management

Initial Comment:
performing contact dumps from in memory with such commands as:

# openserctl ul show
or
# openserctl online

produces error:

> Aug 11 17:25:06 test /usr/sbin/openser[15267]: DBG:mi_fifo:mi_parse_node:
end of input tree
> Aug 11 17:25:06 test /usr/sbin/openser[15267]:
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
> Aug 11 17:25:06 test /usr/sbin/openser[15267]: ERROR:core:add_mi_attr: no
more pkg mem (24)
> Aug 11 17:25:06 test /usr/sbin/openser[15267]:
ERROR:mi_fifo:mi_fifo_server: command (ul_dump) processing failed

this comes out after 20 days of openser-1.3.2 operation with couple of
thausands of contacts.

--
Antanas Masevicius
email: antanas.masevicius at ntt.lt

----------------------------------------------------------------------

>Comment By: Henning Westerholt (henningw)
Date: 2008-08-13 22:26

Message:
Logged In: YES 
user_id=337916
Originator: NO

Hi,

if i remember correctly, Dan also reported this problem some times ago on
the devel list. Perhaps we really should investigate to get rid of this
pkg_mem pool, and replace it with plain malloc.. 

In the meantime its probably possible to work around/ delay this problem
by increasing the pkg memory pool size, or i'm wrong? 

Henning

----------------------------------------------------------------------

Comment By: Daniel-Constantin Mierla (miconda)
Date: 2008-08-13 21:46

Message:
Logged In: YES 
user_id=1246013
Originator: NO

this might be memory fragmentation. How many times you run openserctl ul
show in this period?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2050115&group_id=139143



More information about the Devel mailing list