Php Laravel 5.4.16宅地-监理突然终止

Php Laravel 5.4.16宅地-监理突然终止,php,laravel,ubuntu,homestead,supervisord,Php,Laravel,Ubuntu,Homestead,Supervisord,自从今天更新我的宅地以来,我一直在管理队列(使用Redis)方面遇到问题。我面临的问题是,我的队列在大约60秒后自动终止(有一些交替) 这个问题在更新到最新的homestead版本之前从未发生过,我只是不明白为什么会发生这种情况,没有关于这个问题的日志或错误,我的同事也有同样的问题 我的内存仅使用~1000MB RAM,这远远低于我允许的4GB限制,所以这不会是问题所在。使用PHP本身运行脚本也能很好地工作,只是主管给出了问题 我尝试更改为队列驱动程序的数据库变量,它会导致相同的情况发生(另外,

自从今天更新我的宅地以来,我一直在管理队列(使用Redis)方面遇到问题。我面临的问题是,我的队列在大约60秒后自动终止(有一些交替)

这个问题在更新到最新的homestead版本之前从未发生过,我只是不明白为什么会发生这种情况,没有关于这个问题的日志或错误,我的同事也有同样的问题

我的内存仅使用~1000MB RAM,这远远低于我允许的4GB限制,所以这不会是问题所在。使用PHP本身运行脚本也能很好地工作,只是主管给出了问题

我尝试更改为队列驱动程序的数据库变量,它会导致相同的情况发生(另外,它比管理器慢)。使用同步驱动程序确实可以让它保持活动状态,但速度是原来的10倍,我希望Redis能帮我处理队列

我的主管配置如下所示:

; supervisor config file

[unix_http_server]
file=/var/run/supervisor.sock   ; (the path to the socket file)
chmod=0700                       ; sockef file mode (default 0700)

[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor            ; ('AUTO' child log dir, default $TEMP)

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL  for a unix socket

; The [include] section can just contain the "files" setting.  This
; setting can list multiple files (separated by whitespace or
; newlines).  It can also contain wildcards.  The filenames are
; interpreted as relative to this file.  Included files *cannot*
; include files themselves.

[include]
files = /etc/supervisor/conf.d/*.conf
[program:grotesmurf_laravel_queue]
process_name=%(program_name)s_%(process_num)02d
command=php /home/vagrant/Code/grotesmurf/artisan queue:work --sleep=3 --tries=3 --queue=grotesmurf --timeout=0
autostart=true
autorestart=true
user=vagrant
numprocs=3
redirect_stderr=true
stdout_logfile=/home/vagrant/Code/grotesmurf/storage/logs/queue/laravel_queue.out.log
stderr_logfile=/home/vagrant/Code/grotesmurf/storage/logs/queue/laravel_queue.err.log
我的项目特定配置如下所示:

; supervisor config file

[unix_http_server]
file=/var/run/supervisor.sock   ; (the path to the socket file)
chmod=0700                       ; sockef file mode (default 0700)

[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor            ; ('AUTO' child log dir, default $TEMP)

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL  for a unix socket

; The [include] section can just contain the "files" setting.  This
; setting can list multiple files (separated by whitespace or
; newlines).  It can also contain wildcards.  The filenames are
; interpreted as relative to this file.  Included files *cannot*
; include files themselves.

[include]
files = /etc/supervisor/conf.d/*.conf
[program:grotesmurf_laravel_queue]
process_name=%(program_name)s_%(process_num)02d
command=php /home/vagrant/Code/grotesmurf/artisan queue:work --sleep=3 --tries=3 --queue=grotesmurf --timeout=0
autostart=true
autorestart=true
user=vagrant
numprocs=3
redirect_stderr=true
stdout_logfile=/home/vagrant/Code/grotesmurf/storage/logs/queue/laravel_queue.out.log
stderr_logfile=/home/vagrant/Code/grotesmurf/storage/logs/queue/laravel_queue.err.log
我的php fpm日志没有输出任何内容

我的supervisord队列没有输出任何内容

我的laravel.log没有输出任何内容

我的主管版本:3.3.1

我的php版本是:7.1.3-3+deb.sury.org~xenial+1

我的laravel版本是:5.4.16

如果需要更多信息,请告诉我

有人对尝试的事情有什么建议吗?还有其他人也遇到过这个问题吗


提前感谢。

您是否尝试过明确停止并重新启动supervisor服务
sudo服务主管重新加载
sudo服务主管重新启动
sudo service supervisor status
返回什么?是的,我尝试过重新启动服务几次,还尝试过停止服务、关闭vagrant、再次打开vagrant并再次启动服务。systemctl stauts不显示任何内容,您可以查看它。