5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

HAProxy - reloadコマンド

Last updated at Posted at 2015-07-17

HAProxyの設定を変更したあとreloadするコマンドのメモ
新しいプロセスが生成されて、新規コネクションは新しいプロセスで受け付ける
古いプロセスはそれまでのコネクションがすべて切断されたタイミングで終了する

HAProxyのreloadコマンド

haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid)

※設定ファイル・PIDファイルは適宜変更

5
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
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?