[OpenSIPS-Users] Running out memory when sending ack
Liviu Chircu
liviu at opensips.org
Wed Nov 20 09:22:14 CET 2013
Hello Tito,
Firstly, note that OpenSIPS will not use the entire available RAM on the
box, but rather a predefined value ("-m" parameter, e.g. "-m 128" for a
128MB preallocated memory pool).
Does your scenario not work at all or does OpenSIPS start misbehaving
after some time? The log messages tell us that OpenSIPS has run out of
memory and is unable to properly process incoming traffic.
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 11/20/2013 07:14 AM, Tito Cumpen wrote:
>
> Group,
>
>
>
> I am relaying my invites and loose routes to a sipservlet using the
> seas module and wesip. I am noticing that when acks are sent to
> opensips it is directed to relay those acks to wesip and then back out
> to the recipient it fails to do so. Consequently I see this message
> being generated and eventually a memory problem. I am not seeing the
> message traverse through seas into the my servlet. Take note this is a
> single call on a server with more than sufficient ram. I am using
> version opensips-1.7.2-tls
>
>
> Thanks,
> Tito
>
>
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2038]: here is a loose route
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2038]: This has a totag
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2038]: ack received by
> opensips sending to app server!
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2038]: received at route 1
> sending to seas
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2038]:
> ERROR:seas:create_as_event_t: no transaction provided...
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2038]:
> ERROR:seas:w_as_relay_t: unable to create event code
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2039]: here is a lose route
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2039]: This has a totag
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2039]: received at route 1
> sending to seas
>
> Nov 19 20:21:08 mediaproxy2 /sbin/opensips[2026]:
> INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
> Servers] [0 Uncomplete AS]
>
> Nov 19 20:21:09 mediaproxy2 /sbin/opensips[2041]:
> WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation
>
> Nov 19 20:21:09 mediaproxy2 /sbin/opensips[2041]:
> ERROR:tm:sip_msg_cloner: no more share memory
>
> Nov 19 20:21:09 mediaproxy2 /sbin/opensips[2041]: ERROR:tm:new_t: out
> of mem
>
> Nov 19 20:21:09 mediaproxy2 /sbin/opensips[2041]: ERROR:tm:t_newtran:
> new_t failed
>
> Nov 19 20:21:09 mediaproxy2 /sbin/opensips[2026]:
> INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
> Servers] [0 Uncomplete AS]
>
> Nov 19 20:21:11 mediaproxy2 /sbin/opensips[2026]:
> INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
> Servers] [0 Uncomplete AS]
>
> Nov 19 20:21:17 mediaproxy2 /sbin/opensips[2038]: here is a lose route
>
> Nov 19 20:21:17 mediaproxy2 /sbin/opensips[2038]: This has a totag
>
> Nov 19 20:21:17 mediaproxy2 /sbin/opensips[2038]: received at route 1
> sending to seas
>
> Nov 19 20:21:17 mediaproxy2 /sbin/opensips[2026]:
> INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
> Servers] [0 Uncomplete AS]
>
> Nov 19 20:21:17 mediaproxy2 /sbin/opensips[2026]:
> INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
> Servers] [0 Uncomplete AS]
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2026]:
> INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
> Servers] [0 Uncomplete AS]
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2031]:
> WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2031]:
> ERROR:tm:relay_reply: no more share memory
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2031]:
> WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2031]:
> ERROR:tm:_reply_light: failed to allocate shmem buffer
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2031]:
> WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation
>
> Nov 19 20:21:38 mediaproxy2 /sbin/opensips[2031]:
> ERROR:tm:relay_reply: no more share memory
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131120/baf99609/attachment.htm>
More information about the Users
mailing list