file descriptors on FreeBSD

Craig Bates c.bates at COMNET.CO.NZ
Tue Dec 10 02:19:52 GMT 2002


On Tuesday 10 December 2002 13:18, you wrote:
> 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?

[root at mx3 craig]# sysctl -w kern.maxfiles=65536
kern.maxfiles: 65536 -> 65536
[root at mx3 craig]# sysctl -w kern.maxfilesperproc=32768
kern.maxfilesperproc: 32768 -> 32768

> 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..

That is interesting!  Are you running spam assassin & RAZOR?

Craig




More information about the MailScanner mailing list