Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 1999 15:35:15 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Mike Alich <hostmaster@cctinc.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: File Table Full
Message-ID:  <19990812153515.A72708@dan.emsphone.com>
In-Reply-To: <37B31D59.3A39D3D2@cctinc.net>; from "Mike Alich" on Thu Aug 12 15:15:37 GMT 1999
References:  <37B31D59.3A39D3D2@cctinc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 12), Mike Alich said:
> Can anyone tell me how to increase the number of allowed files open in
> the system?
> 
> About every week or so I get an error "file: table is full" and it go
> one for a few seconds to a few mins.  How can I track down what is
> causing this?  I think it might be a run away cgi or something.

"sysctl kern.maxfiles" will print the size of the file table.  You can
raise this at runtime by running "sysctl -w kern.maxfiles=10000" or
whatever you want.  You will probably want to recompile your kernel
with a higher "maxusers" value, though (try using double the current
value).  "maxusers" affects some other variables that need to be raised
for machines used as server.


-- 
	Dan Nelson
	dnelson@emsphone.com


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




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