Mosquitto on Ubuntu stops responding [message #1831411] |
Wed, 19 August 2020 09:17 |
|
The issue
Every day, at 04:18 in the morning, my Mosquitto broker running on Ubuntu 18.04, stops responding, and all clients get disconnected.
Systemctl has this to say about it:
kenny@IKMDEV:~$ sudo systemctl status mosquitto
* mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
Loaded: loaded (/etc/init.d/mosquitto; generated)
Active: active (exited) since Wed 2020-08-19 04:18:18 BST; 5h 54min ago
Docs: man:systemd-sysv-generator(8)
Process: 988 ExecStop=/etc/init.d/mosquitto stop (code=exited, status=0/SUCCESS)
Process: 994 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)
Aug 19 04:18:18 IS-83108 systemd[1]: Starting LSB: mosquitto MQTT v3.1 message broker...
Aug 19 04:18:18 IS-83108 mosquitto[994]: * Starting network daemon: mosquitto
Aug 19 04:18:18 IS-83108 mosquitto[994]: ...done.
Aug 19 04:18:18 IS-83108 systemd[1]: Started LSB: mosquitto MQTT v3.1 message broker.
So it seems to be in an active, but ended, state?
If is do stop follwoed by start then it works again until 04:18 the next morning.
What I have checked
I have been all through the cron tasks (cron.d, cron.daily, cron.hourly, crontab etc) and can't find anything which might cause this.
Any ideas?
-Kenny Millar
|
|
|
|
Powered by
FUDForum. Page generated in 0.03136 seconds