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

Re: Exim Errors



On Mon, Mar 12, 2001 at 06:29:08PM -0800, Eric G. Miller wrote:
> On Mon, Mar 12, 2001 at 06:21:51PM -0500, Matt Kopishke wrote:
> > Hi, I keep getting errors like this:
> > 
> > Mar 12 09:42:56 Jekyll exim[7309]: 2001-03-12 09:42:56 14cTXE-0001tt-00
> > Cannot open main log file "/var/log/exim/mainlog": Too many open files in
> > system: euid=8 egid=8
> > 
> > This is on our main email server, which gets hit pretty hard.  Does 2.4 up
> > the open file limit?
> 
> I think the number of file handles is configurable.  Maybe have a look
> at linux/Documentation/sysctl/fs.txt and /proc/sys/file-max.
> 
> Maybe, echo "8096" > /proc/sys/file-max ??  Don't know, never played
> with it...

Actually, /proc/sys/fs/file-max in 2.2.  (And Eric probably
meant 8192, though I don't know that even numbers matter.)

More critically, you may also have to increase the file
handle resource limit (ulimit -n 2048, or so) before the
mail server gets executed, perhaps in /etc/init.d/exim.

(Pray report what works?)

-- 
Michael J. Micek, CyberStrategies, Inc. sysadmin.	mmicek@csz.com



Reply to: