Facing too many open files error problem in linux

Asked By 10 points N/A Posted on -
qa-featured

i am not  familiar with this problem. this problem is disturbing me when i work on several web sites. i am not an expert so i need help. i am telling you details about this problem. I am using fedora linux and my server name is nginx server. first i found log server error which is automatically fixed after some moments. after that i found this huge problems. the error is given below

ERROR_TOO_MANY_OPEN_FILES

4 (0x4)

why this happen? can anyone tell me. what is the fault? i am confused. please reply me earlier.

SHARE
Best Answer by mahmud2427
Best Answer
Best Answer
Answered By 0 points N/A #103468

Facing too many open files error problem in linux

qa-featured

Open /etc/security/limits.conf file and change the existing values for "hard" and "soft" parameters as follows:

* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047 
 
Restart the system after making changes.
 
Answered By 590495 points N/A #103469

Facing too many open files error problem in linux

qa-featured

If, on the other hand, after changing the values mentioned in the post above you still get an error, try checking your computer for any possible errors. Use a disk utility application to check the system. For a much thorough diagnostics on the system, use a disk utility application like PC Tools Performance Toolkit, Norton SystemWorks, or Norton Utilities.

If after checking the hard drive the result is negative, try scanning your system for possible virus infection. Update your antivirus then run a full system scan on your computer. You may also try doing a disk cleanup on your system. It is possible that a corrupted temporary file is affecting the system and is causing this error.

Related Questions