タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

Starmanに関するhide_o_55のブックマーク (2)

  • Handling SIGQUIT to gracefully shutdown Starman

    Link: Handling SIGQUIT to gracefully shutdown Starman Implemented QUIT handler to gracefully shutdown Starman workers (and full graceful restart with Server::Starter) — one of the ugliest monkeypatch I’ve written in a few months. HUPのリスタート処理がlinux環境で app.psgi 以外のファイルパスを使っていた場合にうまく動いていなかったのを直したのと同時に、Server::Starter対応の部分で、デフォルトでTERMを受け取ったらgraceful shutdownしないといけないのが、そこが実装されてなかったのに気づいた。というわけで、SIGQUIT

  • Changing the HUP handling in Starman

    Link: Changing the HUP handling in Starman Starman is one of the most popular HTTP preforking servers for PSGI/Plack, and its handling of HUP signals to do graceful restarts has been broken for a couple of months in certain environments. There are many reasons for the breakage, one of which is the change in our own Plack ecosystem on how to manage @ARGV and the other is how fragile and insane the

    hide_o_55
    hide_o_55 2011/12/02
    StarmanのHUPの扱いが変更。--preload-appとgraceful restartを一緒に使う場合はServer::Startaerを使う
  • 1