[OpenSIPS-Users] Opensips crashing due to out of memory error
John Khvatov
ivaxer at gmail.com
Sun Apr 10 23:45:44 CEST 2011
On 10.04.2011, at 8:35, Ronald Cepres wrote:
> Have you tried increasing the amount of allocated memory for OpenSIPS?
>
> On Sun, Apr 10, 2011 at 5:53 AM, Nauman Sulaiman <nauman762-home at yahoo.co.uk> wrote:
> Hi, I'm getting random crashes of Opensips 1.6.2, here are the entries in the log, seems to be out of memory, how should i try to solve this issue.
>
> ERROR:tm:_reply_light: failed to allocate shmem buffer
> ERROR:tm:_reply_light: failed to allocate shmem buffer
> ERROR:tm:relay_reply: no more share memory
> ERROR:core:new_avp: no more shm mem
> ERROR:core:add_avp: Failed to create new avp structure
I have same problem with OpenSIPS since 1.6.0 release. OpenSIPS has huge memory leak somewhere. Increasing the amount of allocated memory helps only delay crash.
Memory usage graph (1.6.4, KkB is MB):
http://dev.sgu.ru/pub/opensips_memory_usage.png
I use the following modules:
$ grep loadmodule opensips.cfg
loadmodule "signaling.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "maxfwd.so"
loadmodule "rr.so"
loadmodule "textops.so"
loadmodule "localcache.so"
loadmodule "mi_fifo.so"
loadmodule "mi_datagram.so"
loadmodule "db_flatstore.so"
loadmodule "siptrace.so"
loadmodule "db_text.so"
loadmodule "db_postgres.so"
loadmodule "db_http.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "auth.so"
loadmodule "auth_db.so"
loadmodule "uri.so"
loadmodule "domain.so"
loadmodule "dialog.so"
loadmodule "mediaproxy.so"
loadmodule "nat_traversal.so"
loadmodule "permissions.so"
loadmodule "alias_db.so"
loadmodule "avpops.so"
loadmodule "mi_xmlrpc.so"
loadmodule "dialplan.so"
loadmodule "pike.so"
loadmodule "pua.so"
loadmodule "pua_usrloc.so"
--
WBR, John Khvatov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110411/3c968447/attachment.htm>
More information about the Users
mailing list