Starman workers reload via signal

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Starman workers reload via signal

Fridolin SOMERS

We recently found some interesting Starman feature.

Since it is a master/workers software there is, like in Apache, a way to
"gracefully" rebuild the workers without stopping master :
kill -HUP 123 (123 being the master PID).

Unlike stop/start of starman, the used workers will not be stopped until
there task is done. During that idle workers will indeed be killed and
This is useful when one wants to refresh Plack persistence on a
production running server.

See :

We used this in our systemd service for starman :
ExecReload=/bin/kill -HUP ${MAINPID}

This may be usefull in koha-plack.


Fridolin SOMERS <[hidden email]>
BibLibre - software and system maintainer
Koha-devel mailing list
[hidden email]
website :
git :
bugs :