kern.maxfiles limit exceeded by uid 1003? what to do?
Frederique Rijsdijk
frederique at isafeelin.org
Tue Apr 14 12:56:55 UTC 2009
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
More information about the freebsd-questions
mailing list