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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/