basic use of sidekiq (2)

发布时间:2017-2-20 12:23:46 编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"basic use of sidekiq (2) ",主要涉及到basic use of sidekiq (2) 方面的内容,对于basic use of sidekiq (2) 感兴趣的同学可以参考一下。

$ ps -ax | grep sidekiq 1198 pts/28   Sl+    0:00 sidekiq 4.1.1  [0 of 25 busy]                                                              1259 pts/33   S+     0:00 grep --color=auto sidekiq

可以使用sidekiqctl关闭服务

$ sidekiqctl --helpsidekiqctl - stop a Sidekiq process from the command line.Usage: sidekiqctl <command> <pidfile> <kill_timeout> where <command> is either 'quiet' or 'stop'       <pidfile> is path to a pidfile       <kill_timeout> is number of seconds to wait until Sidekiq exits       (default: 10), after which Sidekiq will be KILL'dBe sure to set the kill_timeout LONGER than Sidekiq's -t timeout.  If you wantto wait 60 seconds for jobs to finish, use `sidekiq -t 60` and `sidekiqctl stop path_to_pidfile 61`
$ sidekiqctl stop ~/tmp/sidekiq.pid Sidekiq shut down gracefully.

上一篇:CDQ分治
下一篇:【BZOJ 3190】 3190: [JLOI2013]赛车 (半平面交)

相关文章

相关评论