[Koha-bugs] [Bug 16309] opac-image.pl makes cpu 100%
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 08:39:47 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16309
Jacek Ablewicz <abl at biblos.pk.edu.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |master
Severity|enhancement |normal
CC| |abl at biblos.pk.edu.pl
--- Comment #1 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Hugo Agud from comment #0)
> We have seen that activating koha local cover in koha 3.22.5 and plack
> disabled, for every search koha launches several opac-image.pl but keeps
> live between 6 and 20 seconds and make cpu crash.
>
> If plack is enabled, erverything works fine.
opac/opac-image.pl is slower in 3.22 than it was in 3.20 (about 4x slower on
average, since Bug 13967 - it triggers DBIx class loading on
"OPACLocalCoverImages" system preference fetch, i.e. adding 500+ msec to each
opac-image.pl invocation). But it's hard to imagine it can actually cause
server to crash - unless it's some seriously underpowered kind of setup
(virtual machine with only a couple of relatively slow CPU cores assigned)?
Apart from switching to plack - another workaround would be setting up
memcached as a Koha cache system (that works in current master, not sure about
3.22.x branch).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list