Subject: Re: smbd dies under heavy transfers
To: =?windows-1252?Q?Przemys=3Faw_Pawe=3Fczyk?= <pp@kv.net.pl>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 04/15/2007 20:36:27
Once I do this... do I just reboot? Or do I actually need to rebuild a
kernel?
Gilles.
Przemys?aw Pawe?czyk wrote:
> 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
>
--
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org>
*=* *http://www.gravier.org/*
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026*
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus
aberrante." [Anatole France]