[Koha] High CPU usage, slow OPAC/Staff interface, with memcache

Alvaro Cornejo cornejo.alvaro at gmail.com
Sat Aug 17 09:43:44 NZST 2024


Hi,

Yes, the idea is to identify who is calling the opac-search.pl.

The opac-search.pl is not a service, therefore "someone" needs to run it.
Unless there is something that put it in a sort of endless loop or it hungs
up

Hope helps,

Alvaro


Le ven. 16 août 2024, 16:09, Daniel Owens <dcowens76 at gmail.com> a écrit :

> Thank you for responding, Alvaro.
>
> I hadn't recently checked apache logs. I had been checking the apache
> error logs to see why apache was shutting down. But that seems to have been
> resolved with memcache.
>
> But the CPU issue remains. I am guessing you mean the access log? I don't
> see much there. But maybe I am looking in the wrong place: sudo tail -f
> /var/log/apache2/access.log
>
> If I find the right place, am I looking for a single IP that is accessing
> Koha repeatedly?
>
> Daniel
> On 8/15/24 3:48 PM, Alvaro Cornejo wrote:
>
> Hi Daniel
>
> Have you checked apache logs? It may be a crawl robot that is indexing
> your system
>
> Regards,
>
> Alvaro
>
>
>
> |----------------------------------------------------------------------------------------|
>  Stay safe / Cuídate/  Reste sécurisé
> *7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
> mesure.
>  *q *Recycle always / Recicla siempre / Recyclez toujours
>  P Print only if absolutely necessary / Imprime solo si es necesario /
> Imprimez seulement si nécessaire
>
>
> Le jeu. 15 août 2024 à 15:27, Daniel Owens <dcowens76 at gmail.com> a écrit :
>
>> I am running Koha 24.05.03.000 on Ubuntu 24.04 with 8 vCPU cores and 32
>> GB of RAM.
>>
>> Recently I found that the VPS was running at 100% CPU usage and
>> discovered that memcache was not running. The high CPU usage would cause
>> it to crash. To solve this, I started memcache and confirmed it was
>> running and followed the instructions at
>> https://wiki.koha-community.org/wiki/Koha_Tuning_Guide. It seemed to run
>> better for a short time. But it is back up to 100% usage, which slows it
>> down considerably. When I run top to see what is using the CPU, it shows
>> many opac-search.pl running on many processes. Is that normal? Are there
>> other things I can do to reign in CPU usage?
>>
>> Daniel
>>
>> _______________________________________________
>>
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>


More information about the Koha mailing list