Closed bertt closed 5 years ago
checked: toke/mosquitto is on latest version on server, mosquitto version 1.4.15, Ubuntu 16.04 LTS (GNU/Linux 4.4.0-81-generic x86_64), Docker version 1.12.1
alternative option use https://hub.docker.com/_/eclipse-mosquitto (https://github.com/eclipse/mosquitto)?
Log file:
2019-01-31T08:26:06.267938862Z 1548923166: New client connected from 172.18.0.1 as mqttClient (c1, k30).
2019-01-31T08:26:52.335860877Z 1548923212: Saving in-memory database to /mqtt/data/mosquitto.db.
2019-01-31T08:56:53.359578537Z 1548925013: Saving in-memory database to /mqtt/data/mosquitto.db.
2019-01-31T09:26:54.385565729Z 1548926814: Saving in-memory database to /mqtt/data/mosquitto.db.
2019-01-31T09:29:34.523597016Z 1548926974: New client connected from 172.18.0.1 as f6117693-ec91-0cc6-16aa-b47637cc418b (c1, k60).
2019-01-31T09:36:08.298399415Z 1548927368: New client connected from 172.18.0.1 as 8e42aa91-ed5c-35c3-3926-c334a349d073 (c1, k60).
2019-01-31T09:36:24.448848309Z 1548927384: New client connected from 172.18.0.1 as ee0dd73c-d9ff-8aa2-69ca-47ca2f8cbfb8 (c1, k60).
2019-01-31T09:36:55.607751409Z 1548927415: New client connected from 172.18.0.1 as 1382668e-294a-d11c-ac65-dda57ee300a4 (c1, k60).
2019-01-31T09:38:37.100839466Z 1548927517: Socket error on client 8e42aa91-ed5c-35c3-3926-c334a349d073, disconnecting.
2019-01-31T09:38:37.101765834Z 1548927517: Socket error on client f6117693-ec91-0cc6-16aa-b47637cc418b, disconnecting.
2019-01-31T09:38:37.102376111Z 1548927517: Socket error on client ee0dd73c-d9ff-8aa2-69ca-47ca2f8cbfb8, disconnecting.
2019-01-31T09:38:37.102876863Z 1548927517: Socket error on client 1382668e-294a-d11c-ac65-dda57ee300a4, disconnecting.
2019-01-31T09:56:55.316617383Z 1548928615: Saving in-memory database to /mqtt/data/mosquitto.db.
2019-01-31T10:00:18.037024011Z 1548928818: New connection from 172.18.0.1 on port 1883.
2019-01-31T10:00:18.043664656Z 1548928818: New client connected from 172.18.0.1 as 7eb79691-c3e0-4598-98ef-1235c1f4a7c5 (c1, k60).
2019-01-31T10:26:07.002721466Z 1548930367: Socket error on client mqttClient, disconnecting.
2019-01-31T10:26:56.339352305Z 1548930416: Saving in-memory database to /mqtt/data/mosquitto.db.
2019-01-31T10:38:15.018546719Z 1548931095: New connection from 172.18.0.1 on port 1883.
2019-01-31T10:38:15.018682656Z 1548931095: Socket error on client <unknown>, disconnecting.
2019-01-31T10:38:21.461355786Z 1548931101: New connection from 172.18.0.1 on port 1883.
2019-01-31T10:38:21.499188894Z 1548931101: Socket error on client <unknown>, disconnecting.
2019-01-31T10:38:21.517172264Z 1548931101: New connection from 172.18.0.1 on port 1883.
2019-01-31T10:38:21.547883199Z 1548931101: Socket error on client <unknown>, disconnecting.
workaround: restart mosquitto container only:
$ sudo docker restart <mosquitto-container-id>
installed latest geodan/gost image, lets see if this works better
is running stable now for 1 day, closing issue
Part 1: https://github.com/gost/server/issues/40
We see crashes again, whats happening? How to fix?