You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu服务器Laravel应用CPU占满100%问题排查求助

Laravel队列进程引发CPU使用率100%问题

我在DigitalOcean的Ubuntu服务器上部署了Laravel应用,过去几个月运行一直正常,但今天凌晨6点左右CPU使用率突然飙升到100%。通过htop和atop命令排查后,发现问题源于PHP进程——有多个运行queue:worker的PHP进程占用大量资源。

我使用Supervisor来管理队列,之前队列运行都很正常,当前的Supervisor配置如下:

process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/artisan queue:work
autostart=true
autorestart=true
user=root
numprocs=8
redirect_stderr=true
stdout_logfile=/var/www/html/worker.log

相关进程截图:
HTOP进程截图
ATOP进程截图

内容的提问来源于stack exchange,提问作者Pepa Zdepa

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.03 11:55:16