[OpenSIPS-Users] memory management and drouting
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Jun 11 09:50:02 CEST 2009
Hi Brett,
What it happens is the attendant process spending too much time in doing
shutdown - this trigger the CRITICAL message you see after 60 seconds.
So if the shutdown is longer than 60 seconds, opensips will brutally
stop with this error.
Why it happens ? my guess is it takes longer than 60 secs to free from
mem all the 1M of rules from drouting :)....This is the optimist guess.
The pessimist one is maybe some end looping (bug?) happens and opensips
never stops.....
Regards,
Bogdan
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
> <mailto: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
> <mailto:brett at nemeroff.com>> wrote:
>
> management
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list