|
|
|
|
When Postfix opens too many files or sockets, processes will
abort with fatal errors, and the system may log "file table full"
errors.
-
Reduce the number of processes as described under "Tuning the number of Postfix processes" above.
Fewer processes need fewer open files and sockets.
-
Configure the kernel for more open files and sockets.
The details are extremely system dependent and change with the
operating system version. Be sure to verify the following information
with your system tuning guide:
-
Some FreeBSD kernel parameters can be specified in
/boot/loader.conf, and some can be changed with sysctl commands.
Which is which depends on the version.
kern.ipc.maxsockets="5000"
kern.ipc.nmbclusters="65536"
kern.maxproc="2048"
kern.maxfiles="16384"
kern.maxfilesperproc="16384"
-
Linux kernel parameters can be specified in /etc/sysctl.conf
and can also be changed with sysctl commands:
fs.file-max=16384
kernel.threads-max=2048
-
Solaris kernel parameters can be specified in /etc/system,
as described in the Solaris
FAQ entry titled "How can I increase the number of file
descriptors per process?"
* set hard limit on file descriptors
set rlim_fd_max = 4096
* set soft limit on file descriptors
set rlim_fd_cur = 1024
|
|
|