Mandriva Expert
The place where your Mandriva Linux system finds support

Maximum Open Files

+/- details
User denny_snyder
Incident Number 8319
Date 2001/12/27 21:25
Status Incident closed
Paid No

Product 8.1
Architecture x86_32
Scope Mail Server

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
denny_snyder : 27/12/01 09:25 PM : Incident created
-   Where do I find out what the maximum limit of open files is set and where can I raise it? Postfix is complaining about "too many open files" every once in a while and I need to fix this..... I lowered the maximum smtp process limit to 75 to get some breathing room for now.... but I would like to raise it back to 150 soon to give Postfix the funning room it needs to keep up with the 16K email users on my mail server.....

Thanks!!!

 
Linegod_7611 : 27/12/01 11:25 PM : Reply received
-   From http://www.postfix.org/faq.html#moby-linux

Running hundreds of Postfix processes on Linux
When you increase the number of Postfix processes into the hundreds, the kernel will eventually run out of file handles; after that it is likely to run out of
process slots.

The following information is kernel version dependent.

To set parameters at boot time on Linux systems that have /etc/sysctl.conf, add the following lines:

fs.file-max = 16384
kernel.threads-max = 2048

To set kernel parameters at run time, execute the following commands as root:

# echo 16384 > /proc/sys/fs/file-max
# echo 2048 > /proc/sys/kernel/threads-max


----
Note: If this answer resolves your problem, please remember to close this question.

 
denny_snyder : 28/12/01 05:01 PM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers