[Koha-bugs] [Bug 16885] koha-stop-zebra should be more sure of stopping zebrasrv
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 2 17:02:11 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16885
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |philippe.blouin at inlibro.com
--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
>From Philippe Blouin on the dev ml:
=== QUOTE
We've had this problem on 10% of our installations. I solved it by
going nuclear with logrotate since that was really hurting the users to
not have zebra working (it would appear like working on our monitor, but
was actually just dying and restarting).
Here is the postrotate I've end up with, after many iterations of Next
Level Apocalypse You :)
postrotate
service apache2 reload
find /etc/init.d/ -name "*zebra-daemon" -exec bash -c 'service
"$(basename "$0")" stop' {} \;
sleep 3
find /etc/init.d/ -name "*zebra-daemon" -exec bash -c 'service
"$(basename "$0")" stop' {} \;
sleep 3
pkill -9 zebra
sleep 2
pkill -9 zebra
sleep 2
find /etc/init.d/ -name "*zebra-daemon" -exec bash -c 'service
"$(basename "$0")" start' {} \;
endscript
As you see, no subtlety, but I've had no problem for a year now...
== END QUOTE
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list