Subject: Re: smbd dies under heavy transfers
To: Gilles Gravier <Gilles@Gravier.org>
From: =?UTF-8?B?UHJ6ZW15c8WCYXcgUGF3ZcWCY3p5aw==?= <pp@kv.net.pl>
List: netbsd-users
Date: 04/15/2007 10:58:12
--Signature=_Sun__15_Apr_2007_10_58_12_-0500_UIiYstpk0CKq.o3E
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Sun, 15 Apr 2007 17:44:24 +0200
Gilles Gravier <Gilles@Gravier.org> wrote:

> I had a look at /var/run/samba/smbd.log and found these entries at
> the end:
>
> [2007/04/15 09:36:20, 1] smbd/files.c:file_init(195)
>   file_init: Information only: requested 10000 open files, 1752 are
> available.

Try this in file /etc/sysctl.conf:
#!/sbin/sysctl -f
#
# $NetBSD: sysctl.conf,v 1.5 2003/11/03 15:12:06 briggs Exp $
#
# sysctl(8) variables to set at boot time.

# Default core name template:
#kern.defcorename=%n.core

# Number of kernel threads to use for NFS client
#vfs.nfs.iothreads=4
vfs.generic.usermount=1
kern.maxfiles=10000
kern.maxproc=1024

Regards,
p2o2
--
Przemysław (p2o2) Pawełczyk <pp_o2@o2.pl>
The LearN@BSD Project: http://pp.kv.net.pl

--Signature=_Sun__15_Apr_2007_10_58_12_-0500_UIiYstpk0CKq.o3E
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iD8DBQFGIkuUD9+eS/1tsfYRAmMgAJwJsm/LTyp2ZtWAegvXj9PHtCf9LgCfVIhz
WvBPS8mdEb9IoGNs81Yci2Y=
=FMBt
-----END PGP SIGNATURE-----

--Signature=_Sun__15_Apr_2007_10_58_12_-0500_UIiYstpk0CKq.o3E--