[Koha-bugs] [Bug 16758] Caching issues in scripts running in daemon mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 7 12:31:43 CET 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mirko at abunchofthings.net
   Patch complexity|Trivial patch               |Small patch

--- Comment #10 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jacek Ablewicz from comment #5)
> BTW, I'm wondering what is an order of starting koha-common && memcached in
> debian packaged installs? If on server reboot indexer daemon gets started
> before memcached is up and running, it will default to Cache::Memory as
> well, even if the MEMCACHED_* variables are set up properly.

In my rc5.d I have:
S01koha-common
S03memcached

So yes, koha-common (including indexer, sip) starts before memcached. I added a
debug print in get_instance and saw a few lines with Cache::Memory in the logs
when rebooting.

We probably should use update-rc.d to lower the priority of koha-common in the
Debian package install.

Patch complexity is definitely not trivial ;)

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


More information about the Koha-bugs mailing list