I'm getting the error that there are not enough file descriptors.

Article ID: 2518 
Last Review: Oct,6 2008
Author:
Last updated by: system APPLIES TO:
  • Parallels Pro Control Panel Windows

Additional information

View Knowledge
Knowledge ID 1299
Product : ServerXchange
Version : ServerXchange
Topic : 2.2

Title
I'm getting the error that there are not enough file descriptors.

Summary
I'm getting the error that there are not enough file descriptors.

Prevention


Details
Solution:

To increase the number of file descriptors per process (default is 1024) on the Private Server use the "ulimit" command.

To list all ulimit values:

ulimit -a

To change the number of open file descriptors for the current bash session:

ulimit -n 2056

For the daemon hitting the open file descriptor limit modify its init.d script so each time that daemon is started it gets the new value. So for example edit /etc/rc.d/init.d/httpd and add ulimit -n 2056 before httpd is run.

- Updated: February 11, 2002


Attachments


Related Knowledge

Related Links
 
Last ModifiedUsageSatisfiedLast Used
8/20/2004 12:51:51 PM11 10/11/2007 6:37:15 AM


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields