Hi,

as a first level of debugging, please refer to:
   http://www.openser.org/dokuwiki/doku.php?id=memory

regards,
bogdan


Daniel-Constantin Mierla wrote:

Hello,

if you get "out of memory" at peak and then it recovers, it is not a memory leak, just insufficient shared memory. Use -m command line option to tune the value. By default it is 32MB.

The size of memory you have to allocate depends on how many subscribers online you have. The user location cache uses shared memory as well.

Cheers,
Daniel


On 09/02/06 00:54, Greg Fausak wrote:

We've been doing a little bit
of stress testing on the auc_redirect module.
Throwing 60 calls per second at it.  After quite
a while I start getting error messages like:

Sep  1 15:33:43 www openser[74528]: ERROR: sip_msg_cloner: cannot
allocate memory
Sep  1 15:33:43 www openser[74499]: redirect.g2.sbsqa2.com-LOOSE:
time_t=1157142823 ^LINE=47 ^FILE=/var/local/ser/ROUTLET/config.pre
[EMAIL PROTECTED] ^cseq=3
^contact=<sip:[EMAIL PROTECTED]>
^from=sip:[EMAIL PROTECTED] ^fromtag=18001002132
^to=sip:[EMAIL PROTECTED] ^totag=5724 ^method=BYE
^ruri=sip:+116661
[EMAIL PROTECTED]:5060 ^messageid=263458^remark=Doing it
Sep  1 15:33:43 www openser[74528]: ERROR: new_t: out of mem:
Sep  1 15:33:43 www openser[74592]: redirect.g2.sbsqa2.com-LOOSE:
time_t=1157142823 ^LINE=47 ^FILE=/var/local/ser/ROUTLET/config.pre
[EMAIL PROTECTED] ^cseq=3
^contact=<sip:[EMAIL PROTECTED]>
^from=sip:[EMAIL PROTECTED] ^fromtag=18001002133
^to=sip:[EMAIL PROTECTED] ^totag=5725 ^method=BYE
^ruri=sip:+116661
[EMAIL PROTECTED]:5060 ^messageid=263192^remark=Doing it
Sep  1 15:33:43 www openser[74528]: ERROR: t_newtran: new_t failed
Sep  1 15:33:43 www openser[74499]: ERROR: sip_msg_cloner: cannot
allocate memory
Sep  1 15:33:43 www openser[74592]: ERROR: new_t: out of mem:
Sep  1 15:33:43 www openser[74499]: ERROR: new_t: out of mem:
Sep  1 15:33:43 www openser[74592]: ERROR: t_newtran: new_t failed

in the log file.  I have seen similar problems with regular t_relay
when we approach 200
calls per second. Is this a shared memory problem? How much shared memory to
I need to set up?

Have a great weekend!

---greg



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to