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

Shopware 6下Supervisor进程持续重启、队列任务无法处理的问题求助

Shopware 6下Supervisor进程持续重启、队列任务无法处理的问题求助

大家好,我目前在使用Shopware 6,因为主机服务商不支持systemd,所以打算禁用内置的admin worker,改用Supervisor来处理队列和任务。我参照了Shopware和Symfony相关文档配置了Supervisor,但现在遇到了棘手的问题:配置好的进程一直在自动重启,Shopware/Symfony的队列任务完全没被处理。

以下是我的相关配置和日志信息:

我的Supervisor配置文件(messenger-worker.conf)

[program:messenger-consume]
command=php /home/user/path/to/shopware/bin/console messenger:consume --time-limit=60 --memory-limit=512M async low_priority
user=user
numprocs=2
startsecs=0
autostart=true
autorestart=true
startretries=10
process_name=%(program_name)s_%(process_num)02d
environment=MESSENGER_CONSUMER_NAME=%(program_name)s_%(process_num)02d

Supervisor日志内容(部分)

These en...

有没有大佬能帮我排查下问题根源?我实在搞不懂为什么进程会持续重启,队列任务也一直无法正常执行。

备注:内容来源于stack exchange,提问作者Carsten

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.04.16 09:04:50