LoginSignup
2
4

More than 3 years have passed since last update.

gunicornの再起動方法

Posted at

Tips

gunicornの再起動方法

方法

% ps aux | grep gunicorn

表示されるPIDの一番小さいプロセスIDがmasterプロセスのため、killを行う。

% kill -HUP <一番小さいプロセスID>

HUPオプションを付加することにより、単純にプロセスをkillするのではなく、プロセスを再起動(reload)させることができます。

Reference

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4