[Devel] Re: [Users] Bug reports

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 20 14:29:31 CEST 2005


Hi Klaus,

the error shows that shm. mem is full..... :). Even if the TCP 
connection was successfully accepted, it closed by openser since it's 
not able to create some internal structures used to manage the connection.

The shm mem starvation may happen from 2 reasons:
    1) small shm mem pool and high peeks of usage -> try to increase it
    2) mem leak :) -> once you get the error, stop the test without 
restarting the proxy; after 10 min (when the mem used for other 
connections should be freed), restart the test and see if the error pops 
up immediately or not.

regards,
bogdan

Klaus Darilion wrote:

> Hi Bogdan!
>
> After 60 protos tests (in parallel) openser is still alive, but TCP 
> connections do not work anymore. The following is a scenario where a 
> call is received via UDP and should be forwarded to the gateway via TCP:
>
> logilfe:
> 21(23056) ERROR: tcpconn_new: mem. allocation failure
> 21(23056) ERROR: tcp_connect: tcpconn_new failed, closing the  socket
> 21(23056) ERROR: tcp_send: connect failed
> 21(23056) msg_send: ERROR: tcp_send failed
> 21(23056) ERROR:tm:t_forward_nonack: sending request failed
>
> tcpdump shows that the TCP handshake is successful, but the connection 
> will be terminated by openser immediately.
>
> # tcpdump -i any port 5060
> INVITE:
> 14:01:07.495302 IP phone.sip > proxy.sip: UDP, length: 899
> 100 trying back to phone
> 14:01:07.654810 IP proxy.sip > phone.sip: UDP, length: 597
>
> TCP handshake
> 14:01:07.672736 IP proxy.60496 > gateway.sip: S 138335430:138335430(0)
>     win 5840 <mss 1460,sackOK,timestamp 704718422 0,nop,wscale 0>
> 14:01:07.681691 IP gateway.sip > proxy.60496: S 4117591954:4117591954(0)
>     ack 138335431 win 4128 <mss 536>
> 14:01:07.681732 IP proxy.60496 > gateway.sip: . ack 1 win 5840
>
> TCP connection will be terminated by openser
> 14:01:07.681817 IP proxy.60496 > gateway.sip: F 1:1(0) ack 1 win 5840
> 14:01:07.686532 IP gateway.sip > proxy.60496: . ack 2 win 4128
>
> 477 Unfortunately error on sending to next hop occurred (477/TM)
> 14:01:07.691917 IP proxy.sip > phone.sip: UDP, length: 661
>
> openser is still running - how can I help do debug this?
>
> regards
> klaus
>
> Bogdan-Andrei Iancu wrote:
>
>> Hi everybody,
>>
>> in term of days, we will start the work of preparing the next release 
>> - docs, compilation warnings, version setting, packages,etc.
>>
>> to speed the things up and to end the bug fixing period, please 
>> everybody report if there are any remaining known bugs or problems - 
>> just to know about them and fix them ASAP.
>>
>> critical ones are fixed (the ones in TM).
>> there are still couple of crashes reported in uac_redirect and uac 
>> (from mangling part) modules - we are working on it.
>>
>> thanks and regards,
>> bogdan
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>




More information about the Devel mailing list