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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 4 03:57:10 CET 2020


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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
If I manually run zebrasrv by hand I'll get the same result which shows that
zebrasrv isn't set up to propagate SIGTERM to its child processes. 

/usr/bin/zebrasrv -v none,fatal,warn,request -k 1024 -f
/etc/koha/sites/kohadev/koha-conf.xml

Visit http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test

root at kohadevbox:kohadevbox$ ps -efww | grep "zebrasrv"
root     25693  3959  0 02:52 pts/1    00:00:00 /usr/bin/zebrasrv -v
none,fatal,warn,request -k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
root     25697 25693  0 02:53 pts/1    00:00:00 /usr/bin/zebrasrv -v
none,fatal,warn,request -k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
root     25712 25617  0 02:53 pts/2    00:00:00 grep zebrasrv
root at kohadevbox:kohadevbox$ kill 25693
root at kohadevbox:kohadevbox$ ps -efww | grep "zebrasrv"
root     25697     1  0 02:53 pts/1    00:00:00 /usr/bin/zebrasrv -v
none,fatal,warn,request -k 1024 -f /etc/koha/sites/kohadev/koha-conf.xml
root     25727 25617  0 02:53 pts/2    00:00:00 grep zebrasrv

------------------------------ ----------------------------------------
------------------

On koha-testing-docker, we are using 2.0.59 (and I have mine set up for ICU
atm):

root at kohadevbox:kohadevbox$ zebraidx -V
Zebra 2.0.59
(C) 1994-2014, Index Data
Zebra is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
SHA1 ID: c00bfddbf0f3608340d61298acc61dafb167f9b2
Using ICU

Looking at the Zebra news
https://github.com/indexdata/idzebra/blob/master/NEWS, I don't see anything
about SIGTERM specifically.

-- 
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