file descriptors on FreeBSD

ISP List isp-list at TULSACONNECT.COM
Tue Dec 10 00:18:02 GMT 2002


At 08:34 AM 12/10/2002 +1300, you wrote:
>Mike,
>
>Your suggestion seemed to solve the problem for about 6 hours and now it is
>doing the same thing again:(

When you added the lines to sysctl.conf, did you reboot?  What does:

bash$ sysctl -w kern.maxfiles=65536

and

bash$ sysctl -w kern.maxfilesperproc=32768

..result in?

Make sure that the startup scripts that start mailscanner and your mta use
/bin/sh as the shell, as the "ulimit" command is only valid for that
shell.  FWIW, I am running MailScanner 4.10-1 on FreeBSD 4.6.2 and 4.7 and
have never had to tweak the FD's..

--Mike



More information about the MailScanner mailing list