Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Mosquitto on Ubuntu stops responding(Mosquitto broker on Ubuntu stops responding at the same time every day.)
Mosquitto on Ubuntu stops responding [message #1831411] Wed, 19 August 2020 09:17 Go to next message
Kenny Millar is currently offline Kenny MillarFriend
Messages: 4
Registered: August 2020
Location: Sotland, UK
Junior Member

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
Re: Mosquitto on Ubuntu stops responding [message #1831517 is a reply to message #1831411] Fri, 21 August 2020 14:50 Go to previous message
Roger Light is currently offline Roger LightFriend
Messages: 90
Registered: September 2013
Member
I'm making a guess here that you're using the default packages. If that's the case, they are woefully out of date and I would recommend using the snap package version ("snap install mosquitto" then take a look at https://mosquitto.org/documentation/using-the-snap/ ), or the project provided PPA archive: https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa
Previous Topic:website mqtt broker
Next Topic:[solved] Problems using username/password after upgrade (rc=5)
Goto Forum:
  


Current Time: Thu May 02 22:44:10 GMT 2024

Powered by FUDForum. Page generated in 0.03136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top