Subject: Re: Too many open files
To: Manuel Bouyer <firstname.lastname@example.org>
From: Peter Eisch <email@example.com>
Date: 06/21/2007 07:38:59
On 6/21/07 6:03 AM, "Manuel Bouyer" <firstname.lastname@example.org> wrote:
> On Thu, Jun 21, 2007 at 01:43:55PM +0300, Martti Kuparinen wrote:
>> Manuel Bouyer wrote:
>>> so your're probably hitting the soft descriptor limit for ntpd.
>>> I have several systems where I had to bump it in /etc/rc.d/ because ntpd
>>> one socket per IP address :(
>> What should I set and where?
> I added
> ulimit -n 256
> at the start of ntpd_precmd() in /etc/rc.d/ntpd
Isn't the "more right" way to do this is create a file at:
That contains the one line:
ulimit -n 256
Then you're protected against system upgrades or changes. I do similar
things for bacula an mysqld and it works quite nicely.