[Samba] How long does samba connection live?
h.reindl at thelounge.net
Thu Feb 25 19:06:04 UTC 2021
Am 25.02.21 um 20:01 schrieb Yakov Revyakin via samba:
> During load testing or desktop creation we're noticing many smbd processing
> that appear to be kept open by open tcp connections. (My understanding is
> that these processes should die quickly but instead they persist for about
> 2 hours). These processes continue to increase in number and use up memory
> during a stress test because they only begin to die 2 hours into the test.
> Questions are:
> - Is there something in (or missing from) samba configuration that would
> explain this? A connection timeout, keepalive etc.
> - Or is this expected behaviour that these would remain open for so long -
> even to powered-off machines?
nf_conntrack_tcp_timeout_established - INTEGER (seconds)
default 432000 (5 days)
More information about the samba