why "too many open files"?
Q: The server doesn't run smoothly and I find "too many open files" in error log?
A: Linux limits the number of file descriptors that any one process may open; the default limits are 1024 per process.
The open file limit is one of the limits that can be tuned with the ulimit command. The command ulimit -aS displays the current limit, and ulimit -aH displays the hard limit (above which the limit cannot be increased without tuning kernel parameters in /proc).
If you have suffered from such errors,and your open file limit is too low,you may trun it up into 65535 by this command:ulimit -n 65535.This should help to solve this problem.
Key Words: too many open file; unlimit ;
|