Hi there,
I’m facing the same problem as mentioned in issue 23614 but since the thread is closed without a working solution, I would like to reopen the discussion.
I recently upgraded my LibreNMS installation from Debian 11 to 12 (Yes, I know I’m late), and php is now on version 8.3.
The usual checks are fine:
librenms@heimdall:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 24.11.0-38-g003bc6fdf (2024-12-02T22:36:15+01:00)
DB Schema | 2024_11_22_135845_alert_log_refactor_indexes (308)
PHP | 8.3.14
Python | 3.11.2
Database | MariaDB 10.11.6-MariaDB-0+deb12u1
RRDTool | 1.7.2
SNMP | 5.9.3
===========================================
[OK] Composer Version: 2.8.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] No active python wrapper pollers found
[OK] Redis is functional
[OK] rrdtool version ok
[OK] Connected to rrdcached
At exactly 1am (CET) the dispatcher service spawned zombies.
This happens daily since the upgrade to php-8.3, and they instantly disappear after restarting the dispatcher service:
root@heimdall:~# ps auxwww|grep Z
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
librenms 1624757 0.0 0.0 0 0 ? Zs 01:00 0:00 [php] <defunct>
librenms 1624909 0.0 0.0 0 0 ? Zs 01:00 0:00 [php] <defunct>
librenms 1626563 0.0 0.0 0 0 ? Zs 01:00 0:00 [php] <defunct>
librenms 1626803 0.0 0.0 0 0 ? Zs 01:00 0:00 [php] <defunct>
librenms 1627102 0.0 0.0 0 0 ? Zs 01:00 0:00 [php] <defunct>
librenms 1627108 0.0 0.0 0 0 ? Zs 01:00 0:00 [php] <defunct>
root 2829935 0.0 0.0 3324 1500 pts/1 S+ 10:05 0:00 grep Z
root@heimdall:~# service librenms stop
root@heimdall:~# ps auxwww|grep Z
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2829993 0.0 0.0 3324 1528 pts/1 S+ 10:05 0:00 grep Z
root@heimdall:~#
I don’t have any error messages in storage/logs/
, no error messages in /var/log/messages
or any other logfile, and there is no cronjob running at exact this time.
Does someone have an idea how to debug a problem without any error messages?