[Serdev] TCP problems

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Jan 17 13:38:00 UTC 2007


On Jan 17, 2007 at 11:33, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> Andrei Pelinescu-Onciul wrote:
> >
> >ser should  never remained blocked. Both send and connects have timeouts
> >and the receives are done independently.
> 
> But it blocks during TCP connection setup - right?
> Does lowering the timeout is only a small benefit - if the proxy 
> permanently receives new requests which requires new TCP connection 
> setup the proxy is busy with lots of short blocking TCP connection setups.

Yes, that's correct.
If you are worried about connections to some unresponding destinations,
then  enabling blacklists in ser.cfg would help here.
Disabling tcp would help even more :-)

That's one of the reason I'm not so found of sip/tcp (too many
opportunities for easy DOSes).


Andrei

> 
> regards
> klaus
> 
> >Have you tried changing tcp_send_timeout and tcp_connect_timeout to a
> >lower value (this might be the interval you see until ser starts working
> >again)?
> >Apart from this delay, the other problem might be explained entirely by
> >sipp behaviour (no receive when send blocks).
> >
> >
> >Andrei
> 
> 
> -- 
> Klaus Darilion
> nic.at


More information about the Serdev mailing list