[OpenSIPS-Users] OpenSIPS freeze

Stas Kobzar stas.kobzar at modulis.ca
Wed Jul 30 14:32:45 CEST 2014


Hi Bogdan,

Thank you for the response.
I guess I can implement "trap" with 1.8 also using this code:
https://github.com/OpenSIPS/opensips/blob/master/scripts/opensipsctl#L2625

I will try that.
Thanks!



On Mon, Jul 28, 2014 at 1:38 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

>  Hi Stas,
>
> It looks like one of the processes gets stuck in doing something (maybe an
> I/O ?) while keeping a lock - the rest of processes will get one by one
> stuck in that taken lock.
>
> This is not easy to debug - as a start you could try to get a bt from each
> opensips script. Opensipsctl for 1.11 can do that for you via the "trap"
> command. Of course, you can do the same with a small shell script doing
> gdb+bt for all opensips processes.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 25.07.2014 21:30, Stas Kobzar wrote:
>
> Hello List,
>
>  We have strange problem with OpenSIPS that happens already second time.
>
>  OpenSIPS just stops responding. It is up and running but there is
> nothing in the log file.
> I can see that there are SIP packets arrives in my tcpdump log but no
> response from OpenSIPS.
>
>  We also have monit alerts on CPU usage more then 90%.
>
> I had to restart it to make it work.
>
>  OpenSIPS was not crashed, I do not have any core dump.
>
>  OpenSIPS is running on VMWare virtual machine 2CPU, 2G RAM, it has 512M
> of shared memory assigned. There are around 1000 phones, which is not much
> for OpenSIPS.
>
>  This also happens at night when there are not much traffic.
>
>  OpenSIPS version 1.8.4
> Loaded modules:
>   acc.so
>   alias_db.so
>  auth_db.so
>  auth.so
>  avpops.so
>  cachedb_redis.so
>  cfgutils.so
>  db_mysql.so
>  dialog.so
>  dispatcher.so
>  domain.so
>  drouting.so
>  exec.so
>  load_balancer.so
>  maxfwd.so
>  mi_fifo.so
>  mi_xmlrpc.so
>  nathelper.so
>  options.so
>  perl.so
>  permissions.so
>  pike.so
>  presence_callinfo.so
>  presence_dialoginfo.so
>  presence_mwi.so
>  presence.so
>  presence_xml.so
>  pua_bla.so
>  pua_dialoginfo.so
>  pua_mi.so
>  pua.so
>  pua_usrloc.so
>  registrar.so
>  rls.so
>  rr.so
>  signaling.so
>  sipmsgops.so
>  sl.so
>  textops.so
>   tm.so
>  uac_auth.so
>  uac.so
>  uri.so
>  usrloc.so
>
>
> Does anyone had any similar problem? Any idea where to search?
>  Thank you,
>
>  --
> Stas Kobzar
>
> VoIP Developer
> 514 284 2020
> www.modulis.ca
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>


-- 
Stas Kobzar

VoIP Developer
514 284 2020
www.modulis.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140730/882d771b/attachment.htm>


More information about the Users mailing list