Rails版本-Rails 5.1.5
Ruby版本-ruby 2.5.0p0
Sidekiq版本-5.1.1
下面是sidekiq.log中的日志,它直接说“正在关机”,没有错误
2019-01-16T12:36:07.648Z 9671 TID-1d26lr报废网站Worker JID-d6a67fd45f6a0aeaae4c00ec INFO:开始2019-01-16T12:36:09.174Z 9671 TID-1d26lr ScrappingWebsiteWorker JID-d6a67fd45f6a0aeaae4c00ec INFO: 已完成:1.526秒2019-01-16T12:36:09.855Z 9671 TID-1d2br7 ScrappingWebsiteWorker JID-210d5cc7db6b22e463c338d3 INFO:开始 2019-01-16T12:36:12.440Z 9671 TID-1fnqyf报废网站Worker JID-e2e91163b608750cd5db5004 INFO:开始2019-01-16T12:36:12.789Z 9671 TID-1d2br7 ScrappingWebsiteWorker JID-210d5cc7db6b22e463c338d3 INFO: 已完成:2.934秒2019-01-16T12:36:15.573Z 9671 TID-1fnqyf ScrappingWebsiteWorker JID-e2e91163b608750cd5db5004 INFO:完成:3.133 sec 2019-01-16T19:35:01.947Z 9671 TID-brvk7信息:正在关闭
再次启动sidekiq时记录
2019-01-17T09:54:16.927Z 15968 TID-5z1nk INFO:正在启动Sidekiq 5.1.1 带有redis选项{:url =>“ redis:// localhost:6379/0”, :id =>“ Sidekiq-server-PID-15968”}} 2019-01-17T09:54:16.933Z 15968 TID-5z1nk信息:Cron作业-添加名称为schedule_test_job的作业 2019-01-17T09:54:18.884Z 15968 TID-5z1nk信息:在红宝石中运行2.5.0p0 (2017-12-25修订版61468)[x86_64-linux] 2019-01-17T09:54:18.884Z 15968 TID-5z1nk信息:请参阅许可和LGPL-3.0以获得许可 细节。 2019-01-17T09:54:18.884Z 15968 TID-5z1nk信息:升级至 Sidekiq Pro提供更多功能和支持:http://sidekiq.org 2019-01-17T09:54:18.925Z 15968 TID-oryka2xto ScrappingWebsiteWorker JID-264ed726f15e9d1c59db570c INFO:开始
下面是我的服务器目录的详细信息
Filesystem 1K-blocks Used Available Use% Mounted on
udev 2014648 0 2014648 0% /dev
tmpfs 404504 15720 388784 4% /run
/dev/xvda1 50758760 22119660 28622716 44% /
tmpfs 2022520 12 2022508 1% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 2022520 0 2022520 0% /sys/fs/cgroup
tmpfs 404504 0 404504 0% /run/user/1000
/var/log/kern.log的日志
我如何找出关闭sidekiq的问题?