[OpenSIPS-Users] memory management and drouting

Patrick phigaro at dmv.com
Wed Jun 10 16:15:24 CEST 2009


Is there a core file?  The comment for the function sig_alarm_abort()  
says:

/**
  * Timeout handler during wait for children exit.
  * like sig_alarm_kill, but the timeout has occured when cleaning up,
  * try to leave a core for future diagnostics
  * \param signo signal for killing the children
  * \see sig_alarm_kill
  */


Is there anything before the SIGTERM 15?   That's the signal that  
"opensipsctl stop" sends to the program to terminate cleanly if  
possible so that is normal.  Though, the BUG isn't normal since that  
indicates that the sig_alarm_abort() functions was called because the  
alarm timer tripped.

Patrick


On Jun 9, 2009, at 10:35 AM, Brett Nemeroff wrote:

This may be a hint?
Jun  9 09:32:31 voicefoxtelephony /usr/local/sbin/opensips[5358]:  
INFO:core:sig_usr: signal 15 received
Jun  9 09:32:31 voicefoxtelephony /usr/local/sbin/opensips[5340]:  
INFO:core:sig_usr: signal 15 received
Jun  9 09:32:31 voicefoxtelephony /usr/local/sbin/opensips[5338]:  
INFO:core:sig_usr: signal 15 received
Jun  9 09:32:57 voicefoxtelephony ntpd[2123]: synchronized to  
64.73.32.134, stratum 2
Jun  9 09:33:31 voicefoxtelephony /usr/local/sbin/opensips[5326]:  
CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered,  
dying...

I stopped the proc with opensipsctl stop


On Tue, Jun 9, 2009 at 9:31 AM, Brett Nemeroff <brett at nemeroff.com>  
wrote:
This has actually just become a pretty serious issue for me....

It seems that now when I restart opensips with opensipsctl stop/start  
one process hangs:
  ps ax|grep opensips
  4744 ?        R      0:57 /usr/local/sbin/opensips -P /var/run/ 
opensips.pid -m 512

Which will eventually die in like 2-3 minutes.. but then I have to  
delete /var/run/opensips.pid

Also, as of late, I'm getting the error that my dr_rules table is  
empty, which it certainly isn't..This all seems to be related to  
memory issues.. any ideas here??
-Brett




On Mon, Jun 8, 2009 at 9:15 PM, Brett Nemeroff <brett at nemeroff.com>  
wrote:
management


_______________________________________________
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/20090610/1946f942/attachment.htm 


More information about the Users mailing list