[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Open File Limit



Thomas,

Heh, it was that little hint.   I missed closing one file descripter.
Appreciate you pointing me in the right direction.

- Matt

-----Original Message-----
From: Thomas Lamy [mailto:Thomas.Lamy@netwake.de]
Sent: Thursday, May 01, 2003 2:33 PM
To: Matthew Walkup
Cc: Debian-User; debian-isp@lists.debian.org
Subject: 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


--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: