Librenms open page slow

When asking for help and support, please provide as much information as possible. This should include:

  • Steps to reproduce an issue.
  • The output of ./validate.php
    =====================================
    ====================================
    Component | Version
    --------- | -------
    LibreNMS | 22.2.1-23-g19e0ad604
    DB Schema | 2022_02_03_164059_increase_auth_id_length (235)
    PHP | 7.4.3
    Python | 3.8.10
    MySQL | 10.3.34-MariaDB-0ubuntu0.20.04.1
    RRDTool | 1.7.2
    SNMP | 5.8
    ====================================

[OK] Composer Version: 2.2.7
[OK] Dependencies up-to-date.
[FAIL] APP_KEY does not match key used to encrypt data. APP_KEY must be the same on all nodes.
** [FIX]:**
** If you rotated APP_KEY, run lnms key:rotate to resolve.**
[OK] Database connection successful
[OK] Database schema correct
[INFO] Detected Dispatcher Service
[WARN] Your install is over 24 hours out of date, last update: Fri, 11 Mar 2022 16:38:31 +0000
** [FIX]:**
** Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.**
[WARN] Your local git contains modified files, this could prevent automatic updates.
** [FIX]:**
** You can fix this with ./scripts/github-remove**
** Modified Files:**
** app/Models/Device.php**
** resources/views/widgets/alerts.blade.php**
** resources/views/widgets/availability-map.blade.php**

=====================================
If it’s an issue with the WebUI then please consider including a screenshot and the browser version you are using.

Google Chrome , Firefox…ETC

HI Sir

My Librenms become slow when I open a page.

I think that I add many ping point (3xxx)

The Cpu is not full when i disable follow

#/5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1
#
/5 * * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
#01 * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
#*/5 * * * * librenms /opt/librenms/check-services.php >> /dev/null 2>&1

And I use distribute poller , so poller ping is other vm process.

PHP setting is only different the follow:

/etc/php/7.4/fpm# vim php.ini

; Maximum amount of memory a script may consume (128MB)
; PHP: Description of core php.ini directives - Manual
;memory_limit = 1024M(Marked)

Would any give me some idea !?

Many thanks!!

Hi

Modify DB vCPU Core Count up and the problem will solve.

But DB CPU loading not 100%, but still improving the performance that open Librenms page

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.