Bug 27115 - Restarting koha-common fails to restart SIP2 server
Summary: Restarting koha-common fails to restart SIP2 server
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-30 08:01 UTC by Joonas Kylmälä
Modified: 2024-08-05 15:30 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Kylmälä 2020-11-30 08:01:55 UTC
Sometimes when we run "systemctl restart koha-commmon" the SIP server doesn't get restarted but might just get stopped leading to longer than expected downtime. There is probably some sort of race condition.
Comment 1 Katrin Fischer 2023-07-01 14:24:26 UTC
I am not sure if this is still valid, but at least there is no mention of SIP in the output of koha-common restart:

sudo service koha-common restart
Restarting Koha ILS: koha-commonStopping Plack daemon for kohadev:.
Stopping Z39.50/SRU daemon for kohadev:.
Stopping Koha worker daemon for kohadev (default):.
Stopping Koha worker daemon for kohadev (long_tasks):.
Stopping Koha indexing daemon for kohadev:.
Successfully stopped all services for instance koha-common:.
Starting Plack daemon for kohadev:.
Starting Z39.50/SRU daemon for kohadev:.
Starting Koha worker daemon for kohadev (default):.
Starting Koha worker daemon for kohadev (long_tasks):.
Starting Koha indexing daemon for kohadev:.
.
Comment 2 Liz Rea 2024-08-05 15:30:13 UTC
I've seen this too, I think it happens when there are a lot of SIP workers/processes and it takes some time for them to kill.