Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:config:increasing-os-file-descriptor-limit [2019/07/19 12:47] Jackson Zhang |
litespeed_wiki:config:increasing-os-file-descriptor-limit [2019/07/19 14:10] Jackson Zhang |
||
---|---|---|---|
Line 9: | Line 9: | ||
**Process-level file descriptor limits** | **Process-level file descriptor limits** | ||
- | Use the command ''ulimit -n'' to check current process-level file descriptor limit. You can reset these limits by adding a number after the command (e.g. ''ulimit -n 10000''). | + | Use the command ''ulimit -n'' to check current process-level file descriptor limit. You may find: |
+ | ulimit -n | ||
+ | 32768 | ||
+ | |||
+ | You can reset these limits by adding a number after the command, such as: | ||
+ | ulimit -n 3276800 | ||
Note: In Linux, non-root users can also use ''ulimit -n xxxx'' to change the process-level limit (at least in Kernel 2.4.x), but you need to add the following lines in /etc/security/limits.conf to give these users permission: | Note: In Linux, non-root users can also use ''ulimit -n xxxx'' to change the process-level limit (at least in Kernel 2.4.x), but you need to add the following lines in /etc/security/limits.conf to give these users permission: |