[Devel] openser hangs

Klaus Darilion klaus.mailinglists at pernau.at
Tue Sep 6 14:35:09 CEST 2005


Bogdan-Andrei Iancu wrote:
> Hi Klaus,
> 
> are you running in fork mode? - asking since you are referring to only 
> one process listening on the network.

Yes, fork mode. Started via the init.d script.

I just found out, that it is another thread that receives from the sockets:

philipp:/export/log# netstat -anp|grep 5060|grep openser
tcp        0      0 83.136.32.83:5060       0.0.0.0:* 
LISTEN     5239/openser
udp   129360      0 83.136.32.83:5060       0.0.0.0:* 
        5239/openser

> are you able to attach to it with gdb and get a backtrace?

which thread?
philipp:/export/log# gdb 5237
(gdb) bt
No stack.
(gdb) file /usr/sbin/openser
Reading symbols from /usr/sbin/openser...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) bt
No stack.
(gdb)

> what kind of tests were you running? stress or conformity?

conformity

regards
klaus

> 
> regards,
> bogdan
> 
> Klaus Darilion wrote:
> 
>> Hi!
>>
>> I did again some protos tests and openser hangs. It is still running, 
>> but does not respond to SIP packets anymore. The process which listens 
>> on the network (5237) is in "pause".
>>
>> The FIFO is still working:
>>   philipp:/# openserctl fifo lcr_dump
>>   sip:1.2.32.167:5060:tcp
>>   sip:1.2.164.123:5060:tcp
>>   sip:1.2.32.168:5060:tcp
>>   sip:1.2.33.4:5060:tcp
>>
>> Any glues how to debug this issue?
>>
>> klaus
>>
>> philipp:/export/log# ps -Al|grep openser
>> 1 S   106  5239  5237  0  76   0 - 10052 pipe_w ?        00:00:00 openser
>> 1 R   106  5240  5237  0  85   0 - 10138 -      ?        00:07:47 openser
>> 1 R   106  5243  5237  0  85   0 - 10138 -      ?        00:08:05 openser
>> 1 R   106  5245  5237  0  85   0 - 10138 -      ?        00:08:02 openser
>> 1 R   106  5246  5237  0  85   0 - 10172 -      ?        00:07:49 openser
>> 1 S   106  5248  5237  0  76   0 - 10052 schedu ?        00:00:36 openser
>> 1 S   106  5250  5237  0  76   0 - 10052 schedu ?        00:00:00 openser
>> 1 S   106  5252  5237  0  76   0 - 10052 schedu ?        00:00:00 openser
>> 1 S   106  5253  5237  0  76   0 - 10052 schedu ?        00:00:00 openser
>> 1 S   106  5254  5237  0  76   0 - 10052 schedu ?        00:00:00 openser
>> 1 S   106  5255  5237  0  76   0 - 10018 schedu ?        00:00:00 openser
>> 5 S   106  5237     1  0  76   0 - 10018 pause  ?        00:00:00 openser
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>
> 
> 




More information about the Devel mailing list