litespeed Resource temporarily unavailable 异常退出

分类:技术 3.89k浏览

近期一台高负荷web服务器(litespeed)经常出现进程异常退出的问题,看日志。

2018-11-05 10:32:57.009170 [NOTICE] Apache configuration file has changed, restart gracefully to apply the change …

2018-11-05 10:32:57.010803 [INFO] [220.181.108.120:18975] connection to [uds://tmp/lshttpd/APVH_vyrzhent_Suphp.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: Resource temporarily unavailable

尝试解决方法:

service lsws restart 重启 Litespeed,登录litespeed web console ,找到 CGI Settings 。

尝试修改:

Process Soft Limit

Process Hard Limit

参阅文献:

https://www.litespeedtech.com/docs/webserver/config/extapps/lsapi#procSoftLimit