Too many open files

Joan Bryan joan.bryan at KCL.AC.UK
Thu May 1 09:26:00 IST 2003


Message-ID: <EXECMAIL.1030501092600.M at godiva.kcl.ac.uk>
Priority: NORMAL
X-Mailer: Execmail for Win32 5.1.1 Build (10)
MIME-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"

On Wed, 30 Apr 2003 19:51:08 +0100 Julian Field
<mailscanner at ECS.SOTON.AC.UK> wrote:

> At 19:34 30/04/2003, you wrote:
> >I upgraded MailScanner from 3.21 to 4.19 with Sun solaris 2.7.  All goes
> >well in lite traffic.
> >
> >I had a similar problem with some other software on Solaris 2.6 which I
> >fixed by adding...
> >ulimit -n unlimited
> >to that the script that kicks off that process.
> >
> >You could add that to the init script or check_MailScanner script I
> >guess.
>
> If you are running Solaris, then add this to /etc/system and then reboot:
>
> * rlim_fd_max = system-wide file descriptors limit
> * rlim_fd_cur = per-user    file descriptors limit
> * Default values are 256 per user and 1024 globally, which is
> * far too small for MailScanner, which can use 1000 on its own.
> set rlim_fd_max=16384
> set rlim_fd_cur=8192
>

I did exactly this in solaris 8, but it had no effect on the number
of files that could be opened per mailscanner process (still
restricted to 125 per batch), so I shall be trying Kevin's suggestion
...


> BTW Make sure you get that change exactly right, or your machine won't boot
> :-)
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support

----------------------
Joan Bryan
Unix Systems Administrator
Information Systems
Telephone: +44 (0) 20 7848 2671
mailto:joan.bryan at kcl.ac.uk



More information about the MailScanner mailing list