On Thu, 11 Sep 2008, Nicolas Haller wrote:
Hi all,
I have a little problem with Postfix. I have a Postfix server acting as
fallback_relay. This box have a big queue (between 10000 and 100000
mails). The box is under FreeBSD and all is ok except this message I see
in syslog:
postfix/qmgr[52291]: fatal: socket: Too many open files
I try to change some sysctl values like kern.maxfiles,
kern.maxfilesperproc, kern.ipc.maxsockets and kern.ipc.somaxconn but I
still receive too many open file message.
Someone know what is wrong?
Some extra info:
OS: FreeBSD 6.0 (same problem on FB-6.3)
Postfix: 2.2.2 (same problem on Postfix 2.5.1)
Our server here is strictly used for filtering. It also houses the MySQL
install for the filtering system. I have the following sysctl values set:
kern.ipc.somaxconn=4096
kern.maxfiles=131072
kern.maxfilesperproc=32768
kern.maxvnodes=131072
Your mileage may vary.
-d