Page not fulling loading

I’ve had Librenms running for a little less than a month. The program works great, but as of last week, when I log in, it takes me to a white page with the banner at the top. When I try to refresh, it refreshes, but nothing comes up. It takes me 4-5 refreshes for the page to actually load. If I click on a device, it does the same thing and I have to refresh the page a few more times. I’m using Nginx as the web server. I’ve restarted the server a few times, but I continue to see this issue. I’m not seeing anything specific in the log files. Either that or it’s doing a flyby on me. Any thoughts?

Start by running ./validate.php and posting the results here.

Here you go.

jcentanni@s-us-nms:/opt/librenms$ sudo ./validate.php

Component Version
LibreNMS 8f0f1ba8b9b0a6f09efeec3a6c980f6a5962870e
DB Schema 183
PHP 7.0.15-0ubuntu0.16.04.4
MySQL 10.0.29-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

==========================================================

[WARN] Your install is out of date, last update: Fri, 31 Mar 2017 11:21:41 +0000
[OK] Database connection successful

I need to mention that I did perform the validation on Friday and it was up to date at the time. I went in and turned off auto update until I could figure out if a previous update is what caused it to fail in the first place.

Maybe a stuppid question but did you restart the web services?

Yes. A few times. :\

I was wondering if it was something related to the webs server (Nginx) or if it was more of a load issue. I’m seeing this in the log files but not sure if it pertains to the issue:

Undefined index: screen_height in /opt/librenms/html/ajax_setresolution.php on line 9" while reading response header from upstream, client: 192.168.102.5, server: s-us-nms, request: “OPTIONS /ajax_setresolution.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: “s-us-nms”, referrer: “http://s-us-nms/

Could this be something incorrectly configured with MariaDB?

Hi
I am running into the exact same issue. It started about 3 weeks ago. Running apache: I moved it off a server due to believing it was a hardware performance issue. This is a clean install with the database imported. waitio is low CPU is 50% during collections.

Linux 3.10.0-514.el7.x86_64 (Monitor) 21/11/2017 x86_64 (2 CPU)

09:09:06 CPU %user %nice %system %iowait %steal %idle
09:09:09 all 0.00 0.00 0.17 0.00 0.00 99.83
09:09:12 all 0.00 0.00 0.17 0.17 0.00 99.67
09:09:15 all 0.00 0.00 0.17 0.00 0.00 99.83
09:09:18 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:21 all 0.17 0.00 0.17 0.00 0.00 99.67
09:09:24 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:27 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:30 all 0.00 0.00 0.17 0.00 0.00 99.83
09:09:33 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:36 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:39 all 0.17 0.00 0.17 0.00 0.00 99.67
09:09:42 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:45 all 0.00 0.00 0.17 0.00 0.00 99.83
09:09:48 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:51 all 0.00 0.00 0.00 0.00 0.00 100.00
09:09:54 all 0.17 0.00 0.00 0.00 0.00 99.83
09:09:57 all 0.00 0.00 0.17 0.00 0.00 99.83
09:10:00 all 0.00 0.00 0.00 0.00 0.00 100.00
09:10:03 all 28.76 0.00 16.72 0.17 0.00 54.35
09:10:06 all 54.59 0.00 43.91 0.50 0.00 1.00
09:10:09 all 45.21 0.00 41.34 1.34 0.00 12.10
09:10:12 all 34.06 0.00 37.58 1.85 0.00 26.51
09:10:15 all 9.95 0.00 9.61 0.51 0.00 79.93
09:10:18 all 12.58 0.00 9.23 0.84 0.00 77.35
09:10:21 all 12.65 0.00 10.29 1.01 0.00 76.05
09:10:24 all 3.52 0.00 4.03 1.34 0.00 91.11
09:10:27 all 12.96 0.00 11.62 0.84 0.00 74.58
09:10:30 all 15.29 0.00 47.23 2.02 0.00 35.46
09:10:33 all 19.13 0.00 21.14 1.34 0.17 58.22
09:10:36 all 16.67 0.00 25.25 1.85 0.00 56.23
09:10:39 all 13.49 0.00 14.17 1.69 0.00 70.66
09:10:42 all 26.90 0.00 29.44 1.69 0.00 41.96
09:10:45 all 14.85 0.00 20.82 1.88 0.00 62.46
09:10:48 all 23.18 0.00 22.84 3.38 0.00 50.59
09:10:51 all 27.36 0.00 30.41 3.38 0.00 38.85
09:10:54 all 30.47 0.00 32.49 2.53 0.00 34.51
09:10:57 all 24.58 0.00 26.94 1.52 0.00 46.97
09:11:00 all 31.43 0.00 29.24 2.69 0.00 36.64
09:11:03 all 29.29 0.00 30.64 1.85 0.00 38.22
09:11:06 all 23.61 0.00 24.45 1.69 0.00 50.25
09:11:09 all 26.48 0.00 29.85 2.36 0.00 41.32
09:11:12 all 34.74 0.00 34.74 4.05 0.17 26.31
09:11:15 all 42.21 0.00 46.57 2.68 0.00 8.54

[root@Monitor librenms]# ./validate.php

Component Version
LibreNMS 1.33-142-gba51dc2
DB Schema 215
PHP 7.1.11
MySQL 5.5.56-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Database connection successful
[OK] Database schema correct

check php memory limit.

1 Like

Had same issue, increased memory_limit in php.ini, restarted php_fpm (and nginx) and we’re back in business.