Resource temporarily unavailable the number of connections to the user is set too small

Source: Internet
Author: User

-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 &nbsp ;             (-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      &nbsp   # 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.