This problem occurs because of the limitation of system on the number of files opened by the program. Use the ulimit -a command to view [root@5 ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, - f) unlimited pending signals (-i) 4096 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 4096 virtual memory (kbytes, -v) Unlimited file locks (-x) unlimited As you can see, the limit on open files is 1024. We can increase the number of files that can be opened by modifying this value. ************************************************** **************** Temporary modification: Change it to 2048, use ulimit -n 2048. When you increase the value of open files to a certain extent, your Too many open files It will not appear again. ************************************************** **************** To change these two parameter values for a long time, modify /ect/security/limits.conf and add two lines to the file:
The code is as follows: * - nofile 65535 * - nproc 65535
Note: This line sets the default open file number for each user to 2048. Note that the "nofile" item has two possible restrictions. It is hard and soft under the
The YUV format has two broad categories: planar and packed. For the planar YUV format, the Y of all
Everyone knows that shell script is like a batch file (.bat) in the early DOS era. The simplest fun
1.LinuxOSVersion:RedHat AS 52. Network Environment Settings: Host (Linux): IP: 192.168.1.1 NetMark:
The Gentoo Linux operating system (pronounced /ˈdʒɛntuː/) is a Linux meta-release
Microsoft extends the life cycle of Vista and Windows 7
Linux instance recovery file deleted
Xen's rapid deployment basics tutorial
How to build Debian apt-get source on redhat
How to check the shell type used by the Linux operating system
A Shell tool: jsondiff.sh Using the basic tutorial
How to configure the linux system nat Internet
Tip: Generate crypt encrypted passwords under Linux
Sed mode space and reserved space
Linux operating system startup process detailed
Use the nohup command to let the linux program run in the background
How does Win10 remove the uninstalled Modern app icon? Win10 removes the uninstalled Modern app
Win10 enters the traditional “personalized” setting interface through the desktop right-click menu.
How to install Win8.1 Update patch?
The popping noise problem of Windows7 when playing HD movies is
Tcp&Dns working mechanism under Linux
VISTA installed other language software, resulting in garbled resolution
What should I do if the Win8.1 Chinese font is very vague?
Windows 8 file corruption can not be fixed automatically how to do