Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 14:56:47 +0200
From:      Frederique Rijsdijk <frederique@isafeelin.org>
To:        VeeJay <maanjee@gmail.com>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: kern.maxfiles limit exceeded by uid 1003? what to do?
Message-ID:  <49E4880F.2060601@isafeelin.org>
In-Reply-To: <2cd0a0da0904140511y53fe5da6tc1aaea76bc712d30@mail.gmail.com>
References:  <2cd0a0da0904140511y53fe5da6tc1aaea76bc712d30@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
VeeJay wrote:
> Hi there
> 
> I am keep getting this error on the screen. I have tried to solve this
> problem by myself but still no luck. Could anyone guide what to do to
> increase the limit and avoid this error?
> 
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
> files open in the system
> Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
> files open in the system
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
> 
> When this happens, I am unable to login on the server by consol or ssh. what
> to do? And I have to restart the server manually.... by on/off switch...


If it's not a very busy machine, something must be wrong with postfix to
cause this error.

If it is a busy machine, you can increase the kern.maxfiles.

sysctl kern.maxfiles=<number>

You can set it in /etc/sysctl.conf to set it at boot time.



-- Frederique





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