[Samba] How long does samba connection live?
Marco Gaiarin
gaio at sv.lnf.it
Fri Feb 26 08:40:49 UTC 2021
Mandi! Yakov Revyakin via samba
In chel di` si favelave...
> - Is there something in (or missing from) samba configuration that would
> explain this? A connection timeout, keepalive etc.
I use in [globals]:
socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15
to have 5 minutes idle time.
Seems strange to me '2 hours', the default, you can look at in:
/proc/sys/net/ipv4/{tcp_keepalive_time,tcp_keepalive_probes,tcp_keepalive_intvl}
are 1 hour, AFAIK.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the samba
mailing list