Sometimes the maximum number of files opened by default is not large enough. You need to set it. If you want it to take effect permanently, modify/etc/security/limits. conf, add the following content, exit and re-log on to the * hard nofile 65535 * Soft nofile 65535 app. In addition, in/etc/rc. add ulimit-N to sysinit. Sometimes, the maximum number of files opened by default is not large enough. You need to set it. If you want it to take effect permanently, modify/etc/security/limits. conf, add the following content, exit and log on again.
* Hard nofile 65535
* Soft nofile 65535
The app to take effect must be restarted.
In addition, you can add ulimit-N 65535 to/etc/rc. sysinit. You need to restart the system.
You can also write hard_limit_nofile = 65535 in/etc/sysconfig/init. I guess you also need to restart it.
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.