Re: Open File Limit
Rus Foster wrote:
>
> On Thu, 1 May 2003, Matthew Walkup wrote:
>
> > However, every morning, I run a Perl script that processes
> all of my apache
> > logs into webalizer. I believe it is this script, that
> cause me to get
> > several errors in the /var/log/daemon.log (The cron.daily is run at
> > 06:25:00):
> > May 1 06:32:40 a-web inetd[17351]: getpwnam: mail: No such user
> > May 1 06:32:42 a-web inetd[17354]: getpwnam: cyrus: No such user
> > <-- several logs removed, just named information -->
> > May 1 08:45:55 a-web inetd[13332]: execv /usr/sbin/exim:
> Too many open
> > files in system
> > May 1 08:45:56 a-web inetd[13336]: execv /usr/sbin/exim:
> Too many open
> > files in system
>
> Try
>
> echo bignumber > /proc/sys/fs/file-max
>
Or, fix file descriptor leaks on your perl script. I have yet to see a web
server crawling on fd limits.
Thomas
Reply to: