Bug 4470 - Deadtime default should be non-zero
Summary: Deadtime default should be non-zero
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 3.0.23d
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2007-03-25 14:21 UTC by Patrick Rynhart
Modified: 2020-02-14 12:03 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Rynhart 2007-03-25 14:21:00 UTC
When running Samba with XP clients the number of idle smbd processes can grow without limit. For this reason, I propose that the default deadtime of 0 (i.e. no auto-disconnection) is changed to a non-zero (but conservative) value.

Even the man page states: The default deadtime is 0 but "we recommend that you override the default" [.. because this ...] "can lead to unnecessary consumption of the server's resources by inactive clients". 

The above is especially true when Samba is operating as a PDC because a denial of service problem can result (i.e. the domain becomes unavailable due to a lack of resources).

I'd like to refer to the following posts containing (anacodotal) evidence regarding this change:

1) http://lists.samba.org/archive/samba-technical/2002-August/023264.html

2) https://bugzilla.samba.org/show_bug.cgi?id=3832

3) http://lists.samba.org/archive/samba/2002-August/048702.html

4) http://lists.samba.org/archive/samba-technical/2006-February/045428.html

5) http://lists.samba.org/archive/samba-technical/2003-March/027485.html


Comment 1 Björn Jacke 2020-02-14 12:03:10 UTC
this was changed in the meantime, sorry for the lack of feedback here.