Hello all,
i’ve suddenly encountered an issue on my librenms installation.
Installation details: i5 750, 12GB of ram, Ubuntu server 18.04. apache2 (physical installation, not a VM)
24 devices polled by one poller, default configuration of librenms. no change done on cron for librenms. The only config done are : mail transport, custome alert rules, devices/services/app definition, dependencies and dashboard.
as a new forum user i cannot post more than one screenshot, so i’ve put it via links.
yesterday, without having done any change on my librenms, i started to received temperature alerts for my librenms server itself. After a check i’ve discovered that there is a high cpu usage and memory usage. htop gave me the information that it is due to php called by librenms with script :
“daily.php -f recalculate_device_dependencies”
i then restarted apache, updaded the system with apt-get update && apt-get upgrade, ran daily.sh update, rebooted the server. after a reboot issue was gone, but as soon as the cron run for daily.sh at 00:15 am, issue came back. the process is still active at 11.00am like it was stuck in a kind of loop of dependencies (based on the name of the command). Then i’ve done a validate.php, except python in the GUI warning nothing came out.
The GUI is responsive, the poller performance is correct and stable.
i tried to find an explanation on google, but no result with the command as search.
If somebody has any idea, thank you for you much appreciated help.
In the below link is my devices dependencies map in which you can see that there is no loop.
you will also find additionnal capture on this imgbb album including cpu/mem usage and temperature : captures — ImgBB
Here is my output of validate.php
Component | Version |
---|---|
LibreNMS | 1.69-5-g240edd214 |
DB Schema | 2020_07_27_00522_alter_devices_snmp_algo_columns (188) |
PHP | 7.4.11 |
Python | 3.6.9 |
MySQL | 10.1.47-MariaDB-0ubuntu0.18.04.1 |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.3 |
OpenSSL | |
==================================== |
[OK] Composer Version: 1.10.17
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
have a great day