Ive tried to figure out which process / cronjob starts the php process that never ends.
Ive started the discovery Wrapper manually and it doesnt end.
./opt/librenms/cronic /opt/librenms/discovery-wrapper.py
[[email protected]~]$ strace -p 3347148
strace: Process 3347148 attached
strace: [ Process PID=3347148 runs in x32 mode. ]
“NO MORE OUTPUT”
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3347148 librenms 20 0 260320 49596 18528 R 99.7 1.3 19:25.20 php
cat /etc/cron.d/librenms
33 */6 * * * librenms /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1
*/5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
-
-
-
-
- librenms /opt/librenms/alerts.php >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/poll-billing.php >> /dev/null 2>&1
01 * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/check-services.php >> /dev/null 2>&1
15 0 * * * librenms /opt/librenms/daily.sh >> /dev/null 2>&1
Does ist makes sence ?