[Pkg-samba-maint] Bug#424405: Bug#424405: Bug#424405: Smbd keeps many TCP connections for no good reason (deadtime/keepalive)
vorlon at debian.org
Wed May 16 23:15:02 UTC 2007
On Wed, May 16, 2007 at 07:49:24AM +0200, Christian Perrier wrote:
> Quoting Daniel F. Smith (dfsmith at almaden.ibm.com):
> > Package: samba
> > Version: 3.0.24-6
> > Severity: minor
> > Running "netstat -tap" in my environment showed many connections being
> > fielded by smbd, some probably many weeks old.
> > The default configuration revealed that Samba was sending keepalive messages
> > even though the connections didn't ask for anything that existed (and failed
> > authentication---they are mostly browser requests and maybe worms).
> > Adding "deadtime = 1" to /etc/samba/smb.conf kept the netstat table
> > manageable. A value of 5 may be more appropriate for general use.
> That seems to be upstream's recommendation, yes ("Using this parameter
> with a timeout of a few minutes is recommended for most systems").
> Any objections from other maintainers if I activate this in the
> default provided smb.conf?
What does this do to long-lived client connections that may be idle for
minutes (or hours while the user is away from his desk) at a time?
I would prefer to have a discussion with upstream about making this a
built-in default, if it's really a current and widely-supported
recommendation. It may just be a comment that someone put in the
documentation which hasn't been vetted by the Samba Team as a whole.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon at debian.org http://www.debian.org/
More information about the Pkg-samba-maint