ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [inet-admins] Cyrus



Andrew Miroshnichenko wrote:
> 
> Solar Designer wrote:
> > > А кто-нибудь мне может сказать, где задается KEEPALIVE таймаут?
> >
> > Включается setsockopt(2) из исходника. Само значение таймаута прошито
> > в ядре, обычно несколько минут.
> А не несколько ЧАСОВ, случайно? В winsock вроде как 4 часа молчания
> до первого пакета, и потом через 2 часа.

 Сие я прочитал в man setsockopt (система UnixWare)

SO_KEEPALIVE comes into play when a connection has had no     
traffic on it for two hours.  At that point either side of the
connection that has SO_KEEPALIVE set will send a special      
packet guaranteed to elict a response from a properly         
implemented TCP/IP product.  If a response is not received,   
(after several short-interval timeouts), the connection is    
declared down and processes using the socket are notified by  
sending a SIGPIPE signal.

Всего доброго!
-- 
Dmitry E. Kiselyov
Nizhny Novgorod City Health Emergency Station
E-mail: dima@gssmp.sci-nnov.ru   ICQ: 2010591
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.