A summary of toomanyopenfiles is a common solution for weblogic toomanyopenfiles running for a period of time: 1. Cause: Why does this problem occur? (1) jvm reads the server and the application class (2) creates a new... A summary of too program open files is a common solution for weblogic too program open files running for a period of time: 1. Cause: Why is this problem? (1) jvm reads the server and the application class (2) creates a new socket connection. (3) The application opens a new file. Www.2cto.com 2. Solution: 1. View the system's related parameters on the number of files: maxfile // The number of files opened by a single process (at least 3000) maxfile_lim // hard limit the maximum number of users that a single process opens, it will affect the maximum number of threads of other processes -- 2048 max_thread_proc. View network parameters. for unix systems, if they are in the TIME_WAIT status, wait until the end of the status. The time is controlled by the network core parameter www.2cto.com tcp_time_wait_interval. You can obtain this information through ndd-get/dev/tcp tcp_time_wait_interval. Default value: 600 s 3. use a tool to view the number of files opened by the process (including connections) 1. lsof (lsof-p pid) 2. glance (for hpux) shortcut key F to view open files)
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