Hi Daniel, I agree with Alvaro's suggestion. We recently had the same problem (and the same script opac-search.pl taking up all the CPU). A look through the apache log files showed very frequent accesses by a number of bots. I put a robots.txt file at the top level of the site and the problem went away. We did notice that it takes time for the bots to notice the file so it took a day or so for the load to really fall back.
Hope this helps Chris Brown On Thu, Aug 15, 2024 at 9:26 PM Daniel Owens <dcowen...@gmail.com> wrote: > 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@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha