Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Sep 1998 13:54:59 -0700
From:      Christopher Knight <merlin@ghostwheel.com>
To:        Tom <tom@uniserve.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: too many open files
Message-ID:  <3.0.5.32.19980904135459.019ea7c0@pop.ghostwheel.com>
In-Reply-To: <Pine.BSF.3.96.980904134351.20117B-100000@shell.uniserve.ca >
References:  <Pine.BSF.3.96.980904114540.9375A-100000@amber.ghostwheel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 01:44 PM 9/4/98 -0700, Tom wrote:
>
>On Fri, 4 Sep 1998, Christopher Knight wrote:

>> #!/bin/sh
>> 
>> /usr/sbin/sysctl -w kern.maxfiles=8192
>> /usr/sbin/sysctl -w kern.maxvnodes=16384 
>> 
>> 
>> That takes care of my 'too many files open' problem.
>
>  Just for "root".  That increases the system file table.  The per-user
>limits in /etc/login.conf still apply, unless you are root.

And root processes.  My system was bouncing mail and my webserver was
crashing, while my messages log was filling with kernel errors about too
many open files.

This fixed my system-wide problem, which made me happy.

Thank you for the clarification though.

-ck

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980904135459.019ea7c0>