Questions tagged «file-descriptors»


3
nginx打开的文件太多,似乎无法提高限制
服务器是Ubuntu 13.04(GNU / Linux 3.9.3-x86_64-linode33 x86_64)。 nginx是nginx / 1.2.6。 我已经为此工作了几个小时,所以这就是我得到的,这也是我所做的。 tail -f /usr/local/nginx/logs/error.log 2013/06/18 21:35:03 [crit] 3427#0: accept4() failed (24: Too many open files) 2013/06/18 21:35:04 [crit] 3427#0: accept4() failed (24: Too many open files) 2013/06/18 21:35:04 [crit] 3427#0: accept4() failed (24: Too many open files) 2013/06/18 21:35:04 [crit] 3427#0: …

1
Ubuntu 16.04 Server MySql open_file_limit不会高于65536
我在XenServer上运行Ubuntu 16.04 Server,但遇到MySql的打开文件限制问题。 到目前为止,这是我所做的: sudo nano /etc/security/limits.conf (参考) * soft nofile 1024000 * hard nofile 1024000 * soft nproc 102400 * hard nproc 102400 mysql soft nofile 1024000 mysql hard nofile 1024000 sudo nano /etc/init/mysql.conf (参考) limit nofile 1024000 1024000 limit nproc 102400 102400 须藤nano /etc/mysql/mysql.conf.d/mysqld.cnf (参考) [mysqld_safe] open_files_limit = …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.