[Koha-bugs] [Bug 17814] New: koha-plack --stop should make sure that Plack really stop
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Dec 26 11:43:59 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17814
Bug ID: 17814
Summary: koha-plack --stop should make sure that Plack really
stop
Change sponsored?: ---
Product: Koha
Version: 16.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: gmcharlt at gmail.com
Reporter: pongtawat at punsarn.asia
QA Contact: testopia at bugs.koha-community.org
koha-plack --stop doesn't ensure that Plack was really stopped before
returning.
So in case that koha-plack --stop was quickly follows by koha-plack --start
(e.g. logrotate), it could leave Plack in stop state. This is due to koha-plack
--start think that Plack was already started, while it actually is being
stopped.
For me I think this is the cause why I got random Plack stop when logrotate is
run.
It should be similar to the case of Zebra in Bug #16885, and the solution might
be the same: adding "--retry=TERM/30/KILL/5;" to start-stop-daemon command.
I just try that on our server and will see if the problem goes away.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list