https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31616
Bug ID: 31616
Summary: koha_worker isn't using RabbitMQ on startup if it's a
local server.
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If RabbitMQ is on the same host that koha then koha_worker is started too early
and it is unable to connect to RabbitMQ so it fallback to polling.
Example with koha-testing-docker
rabbitmqctl list_channels
Listing channels ...
root@kohadevbox:kohadevbox$
No channels.
$ restart_all
Restarting Apache httpd web server: apache2.
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:.
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:.
.
root@kohadevbox:kohadevbox$ rabbitmqctl list_channels
Listing channels ...
pid user consumer_count messages_unacknowledged
<[email protected]> guest 1 0
<[email protected]> guest 1 0
root@kohadevbox:kohadevbox$
or double check with
ss -ntp
port 61613 connections.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/