Server Problem

Garrett Cooper youshi10 at u.washington.edu
Tue Dec 19 00:56:48 PST 2006


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

Jonathan Horne wrote:
> On Monday 18 December 2006 16:51, ossama abdel-haleem wrote:
>> Dear Sir,
>>   I have HP Proliant ML 370 G4 server with dual Processors 3.6 intel xeon
>> and HP Smart RAID controller (Config=>RAID5) (146GB * 6) + (4 GB Of RAM.)
>> The server working as application server (Tailored Software) based on
>> POSTGRESQL server. I installed the FreeBSD 6.1 to serve 100 users with the
>> application so - after period of time I found an error message appeared on
>> the server : Kern. Maxfiles Limit Exceeded By UID 1001, Please See Tuning
>> (7).
>>
>>   What is the problem? Can You Help Me because after this message appears
>> the server activities down.
>>
>>   Thanks
>>   Ossama Abdel Haleem
> 
> i think you must be referring to.  on my system, the default setting can be 
> seen, like this:
> 
> [jhorne at athena ~]$ sysctl -a|grep kern.maxfiles
> kern.maxfiles: 12328
> 
> in order to raise this, a line would be added to /boot/loader.conf, like this:
> kern.maxfiles=24576
> 
> hth,
> jonathan

Either that, or if someone has too many files open they need to be
limited. login.conf(5) provides more information about that, along with
limits(1) and tuning(7), and the handbook chapter:
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html>.

That value is a bit low though, and you should be safe in doubling or
quadrupling it.

- -Garrett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFh6k7EnKyINQw/HARAqcrAJ90A7E86K81BN1glF2tSny7FcugKgCgnn3z
cnGFhSGrNCEdrMPFCezN4kA=
=PgHo
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list