赞
踩
问题描述:在高并发访问时,出现
socket() failed (24: Too many open files) while connecting to upstream, client: 222.217.216.66, server: s.fpbshg.cn, request: "GET /1.0.0/ll/share HTTP/1.1", upst ream: "fastcgi://127.0.0.1:9000", host: "", referrer:
的提示
问题排查:
ulimit -n
返回65535 无异常
问题解决
修改 nginx.conf,增加worker_rlimit_nofile 选项
#指定一个nginx进程可以打开的最多文件描述符数目 worker_rlimit_nofile 65535;
问题解决
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。