Please try update to latest Observium revision (rolling updates).

I upgraded used caching library, there may have been some incompatibilities with recent php versions (>=7.2).

Although personally I had no problems even with php 8.0 and APCu.

Graeme Davis via observium wrote on 08.07.2021 15:07:
Our main Observium instance has been loading very slow recently ... I disabled APCu (caching was set to auto) and it's soooo much faster now!  We're on CentOS 7 / PHP 7.4 / MariaDB 10.2

Thanks,
Graeme


On Wed, Jul 7, 2021 at 10:47 AM Milton Ngan via observium <observium@observium.org> wrote:
this is running on ubuntu18.04 with php7.2. but i repro’ed the issue on ubuntu 20.04 with php7.4. 

Sent from my iPad

On Jul 7, 2021, at 2:35 AM, Adam Armstrong via observium <observium@observium.org> wrote:

 What version of PHP is this to have a 3 year old apcu?

Adam.

Sent from my iPhone

On 7 Jul 2021, at 10:32, Milton Ngan via observium <observium@observium.org> wrote:


APCu is definitely installed. PHP sees it, Observium sees it. But when you use /cache_info in the URL you can see it constantly writing back to the cache, and never getting any hits. 

<Screen Shot 2021-07-05 at 2.20.18 PM.png>
<Screen Shot 2021-07-06 at 10.57.39 AM.png>


On Jul 6, 2021, at 10:24 AM, Markus Klock via observium <observium@observium.org> wrote:

Did you install the php-apcu package?
sudo apt-get install -y php-apcu

/Markus 

Den tis 6 juli 2021 kl 18:40 skrev Milton Ngan via observium <observium@observium.org>:
I have noticed that when I enable webUI caching, that the page loads don’t speed up. It regularly takes 3 seconds to render a page, although the tool tip at the bottom shows APCu caching is enabled. However, if I force the cache driver to “files”, then I see a huge speed up (page loads drop to about 100-200ms).

Is there some extra config to get APCu working correctly? I didn’t see anything in the docs, but I could have missed it.


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

--
Mike Stupalov
Observium Limited, http://observium.org