[Koha-bugs] [Bug 27140] New: koha-zebra doesn't properly stop Zebra

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 3 05:33:38 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27140

            Bug ID: 27140
           Summary: koha-zebra doesn't properly stop Zebra
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

So I just tried "koha-zebra --restart kohadev" after making a change to log
levels to include request in koha-conf.xml in koha-testing-docker and it's a
mess:

root at kohadevbox:koha(bug_12430)$ ps -efww | grep "zebrasrv"
kohadev+   808     1  0 02:04 ?        00:00:00 daemon
--name=kohadev-koha-zebra --pidfiles=/var/run/koha/kohadev/
--errlog=/var/log/koha/kohadev/zebra-error.log
--output=/var/log/koha/kohadev/zebra-output.log --verbose=1 --respawn --del
ay=30 --user=kohadev-koha.kohadev-koha -- /usr/bin/zebrasrv -v none,fatal,warn
-k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
kohadev+   840   808  0 02:04 ?        00:00:00 [zebrasrv] <defunct>
kohadev+  5183     1  0 04:28 ?        00:00:00 /usr/bin/zebrasrv -v
none,fatal,warn -k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
root      5373  3959  0 04:31 pts/1    00:00:00 grep zebrasrv

Using "kill -9", I kill off all those.

I run "koha-zebra --start kohadev":

root at kohadevbox:koha(bug_12430)$ ps -efww | grep "zebrasrv"
kohadev+  5418     1  0 04:31 ?        00:00:00 daemon
--name=kohadev-koha-zebra --pidfiles=/var/run/koha/kohadev/
--errlog=/var/log/koha/kohadev/zebra-error.log
--output=/var/log/koha/kohadev/zebra-output.log --verbose=1 --respawn --del
ay=30 --user=kohadev-koha.kohadev-koha -- /usr/bin/zebrasrv -v
none,fatal,warn,request -k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
kohadev+  5422  5418  0 04:31 ?        00:00:00 /usr/bin/zebrasrv -v
none,fatal,warn,request -k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
root      5424  3959  0 04:31 pts/1    00:00:00 grep zebrasrv

That's much better now.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list