-
Notifications
You must be signed in to change notification settings - Fork 178
Q9604
Nigel Metheringham edited this page Nov 29, 2012
·
2 revisions
I get the too many open files error especially when a lot of messages land for Majordomo at the same time.
The problem appears to be the number of open files the system can handle. This is changable by using the proc filesystem. To your /etc/rc.d/rc.local file append something like the following:
# Now System is up, Modify kernel parameters for max open etc.
if [ -f /proc/sys/kernel/file-max ]; then
6384 >> /proc/sys/kernel/file-max
fi
if [ -f /proc/sys/kernel/inode-max ]; then
4576 >> /proc/sys/kernel/inode-max
fi
if [ -f /proc/sys/kernel/file-nr ]; then
160 >> /proc/sys/kernel/file-nr
fi
By echoing the value you want for file-max to the file file-max etc., you actually change the kernel parameters.
- Exim is mysteriously crashing, usually when forking to send a delivery
- I want to use logrotate which is standard with RH5.2 Linux to rotate
- I'm seeing the message *inetd[334]: imap/tcp server failing (looping),
- I get the too many open files error especially when a lot of messages
- I installed debian 2.2 linux on a small 325mb 486 laptop. When I try to
- I'm having trouble configuring Exim 4 on a Debian system. How does
- I'm having difficulties trying to make Exim 4 with Redhat 9 and Berkeley
- I'm running Exim 3 under Debian, and want to upgrade to Exim 4. How
- Why do some servers refuse SMTP connections from my Linux box, but