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

Bill Moran wrote:
> In response to Lowell Gilbert <[EMAIL PROTECTED]>:
> 
>> Garrett Cooper <[EMAIL PROTECTED]> writes:
>>
>>> Just wondering if anyone else was experiencing the same issues that I
>>> am.. it's related to Samba-3.0.22c and sockets / filehandles.
>>>
>>> For some odd reason every couple days (~2 days) I have to restart the
>>> smbd daemon because it eats up 6000+ filehandles, just for sockets I
>>> assume (based on netstat output). At the point where it reaches 8000
>>> some filehandles open, the system refuses to fork, forcing me to login
>>> as root on the console directly instead of via SSH.
>>>
>>> My machine is a local / preferred master (smbd fights with XP Home
>>> clients because they want to be master browsers), with limited access
>>> to a few XP clients (<4 clients at any given point in time), plus an
>>> XBox using smbclient with XBox Media Center.
> 
> Have you investigated the possibility that Samba legitimately needs more
> filehandles than that?  Even if there are only 4 clients, they may be
> opening 2000 files each (The output of smbstatus right before the system
> exhausted its filehandles would be interesting)  If that's the case, you
> can update the amount of available filehandles using sysctl or by
> recompiling your kernel.
> 
> We have some PostgreSQL servers that require the filehandle limit be raised
> to 50000, for example.

Will give that a thought--thanks!
- -Garrett

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWMtF6CkrZkzMC68RAu37AJ94ynYimAmz7u5wJTsYqJPWD4hyUgCfcHun
PK7vUcytITYlRmfunW68qHU=
=Pfsj
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to