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
相关产品推荐
相关产品推荐

