[Samba] Samba 2.2.6 leaks file descriptions!

Gerald (Jerry) Carter jerry at samba.org
Fri Oct 25 15:51:01 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 25 Oct 2002, Joakim Tjernlund wrote:

> Hi 
> 
> My server has ran out of file descriptors(FDs) a few times since 2.2.5 up to 2.2.6.
> When looked into the problem I found a lot of smbd processes that had hundreds of open FDs.
> I am on RH 7.2.

I need some more information such as the kernel version, client's OS, 
etc...

Also, what are the clients doing?  Any special applications running?


> I have compiled the sources form SAMBA_2_2 CVS branch from yesterday.  
> usally I just specify the --prefix= parameter to configure before I do
> make clean;make; make install
> 
> I also noticed that the yesterdays CVS has changed the default paths for
> lots of config/logs TDB files such as var/locks/*.tdb is now
> var/cache/samba/*tdb and private/ is now etc/samba/private/ when did
> this happen and why was it changed?

Part of the fhs stuff I think.  Only happens when you define a prefix.
Otherwise the /usr/local/samba/ directory stays the same.  Has been like 
this for several releases now IIRC.

> total 0
> dr-xr-xr-x    3 root     root            0 Oct 25 10:39 ./
> dr-xr-xr-x  206 root     root            0 Jun 29 12:00 ../
> -r--r--r--    1 root     root            0 Oct 25 11:40 cmdline
> lrwxrwxrwx    1 root     root            0 Oct 25 11:40 cwd -> //
> -r--------    1 root     root            0 Oct 25 11:40 environ
> lrwxrwxrwx    1 root     root            0 Oct 25 11:40 exe -> /usr/local/samba2.2.3/sbin/smbd*

I'm assuming this directory name does not imply the installed Samba 
version , right ?




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard           ------------------------- http://www.hp.com
 SAMBA Team                ---------------------- http://www.samba.org
 GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9uWfpIR7qMdg1EfYRAkogAKDfv3Kcs2ks9rABaXV0AmabpYg2ygCffpss
ZWSWxJwZ4Dtofl75ymvEZL0=
=SIYG
-----END PGP SIGNATURE-----




More information about the samba mailing list