-
-bash:fork:resource temporarily unavailable problem This problem occurs because the number of connections to the Linux user is set too small, as long as the max user processes is modified to www.2cto.com Set the maximum number of processes for each Linux user, I set the maximum number of processes for a Linux user to 10,000: ulimit-u 10000 ulimit-a core File size (blocks,-c) 0 data seg size &NB Sp (Kbytes,-D) unlimited scheduling priority (-e) 0 &NB Sp;file size (blocks,-f) unlimited pending signals & nbsp (-i) 81920 max locked memory (Kbytes,-l) max Memor Y size (Kbytes,-m) unlimited open files &NBSP ; (-N) 65536 needs to be modified (because it is the TCP protocol to open the socket, to open the file handle, and the single-process maximum open file handle operating system is limited, the default is 1024x768) pipe Size &NBSp (bytes,-p) 8 posix message queues (bytes,-Q) 819200 real-time priority (-r) 0 stack size (Kbytes,-s) 10 cpu time (seconds,-T) unlimited max user Processes   ; (-u) 81920 virtual memory (Kbytes,-V) UN Limited file Locks (x) unlimited What is a core file that, when a program crashes, copies the stored image of the process in the core file of the current working directory of the process. www.2cto.com core file is just a memory image (plus debugging information), mainly for debugging. The core file is a binary file that requires a tool to parse the memory image of the program when it crashes. The system default core file size is 0, so it is not created. You can use the Ulimit command to view and modify the size of the core file. permanent change unlock maximum number of processes and maximum file opening limits for Linux systems: vi/etc/security/ limits.conf   # Add the following lines * Soft Noproc 11000 #软连接 * Hard Noproc 11000 #硬连接 * Soft nofile 4100 &NBSP ; * Hard Nofile 4100 Description: * represents for all users, Noproc is the maximum number of processes, Nofile is the maximum number of open files
Resource temporarily unavailable the number of connections to the user is set too small