--
You received this message because you are subscribed to the Google Groups "Etherpad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etherpad-lite-dev+unsubscribe@googlegroups.com.
To post to this group, send email to etherpad-lite-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/etherpad-lite-dev.
For more options, visit https://groups.google.com/d/optout.
dirtyDB seems to hold up OK.I use the MySQL server for a number of DBs and I don't have a problem with connections. From what I have read, this is Etherpad requesting something from the DB or another server and not getting an answer. It should establish the connection but doesn't.At the time it disconnects there are no users and it disconnects at exactly the same time each night. There must be some process that gets activated at that time and as it can't connect home, it closes the whole thing down.
[2017-11-23 03:45:12.264] console - graceful shutdown...
[2017-11-23 03:45:12.268] console - db sucessfully closed.
[2017-11-24 03:45:15.512] console - graceful shutdown...
[2017-11-24 03:45:15.535] console - db sucessfully closed.
[2017-11-27 03:45:09.406] console - graceful shutdown...
[2017-11-27 03:45:09.433] console - db sucessfully closed.
[2017-11-28 03:45:11.528] console - graceful shutdown...
[2017-11-28 03:45:11.589] console - db sucessfully closed.
[2017-11-30 03:45:13.338] console - graceful shutdown...
[2017-11-30 03:45:13.400] console - db sucessfully closed.
[2017-12-01 03:45:09.598] console - graceful shutdown...
[2017-12-01 03:45:09.684] console - db sucessfully closed.
Thanks Alexandros,Yup, I have checked the logs and cannot find anything strange, nor any process that kicks in at that time.[2017-11-23 03:45:12.264] console - graceful shutdown...
[2017-11-23 03:45:12.268] console - db sucessfully closed.
[2017-11-24 03:45:15.512] console - graceful shutdown...
[2017-11-24 03:45:15.535] console - db sucessfully closed.
[2017-11-27 03:45:09.406] console - graceful shutdown...
[2017-11-27 03:45:09.433] console - db sucessfully closed.
[2017-11-28 03:45:11.528] console - graceful shutdown...
[2017-11-28 03:45:11.589] console - db sucessfully closed.
[2017-11-30 03:45:13.338] console - graceful shutdown...
[2017-11-30 03:45:13.400] console - db sucessfully closed.
[2017-12-01 03:45:09.598] console - graceful shutdown...
[2017-12-01 03:45:09.684] console - db sucessfully closed.
On the 28th I tried dirtyDB and it didn't quit on the 29th.
From the exception it's quite clear that the connection to mysql is abruptly being closed so it makes perfect sense that dirtyDB does not exhibit problems. In fact ECONNRESET happens when a TCP RST packet is sent which can happen when mysql is closing down (for a restart perhaps?) IIRC or some intermittent firewall decides to close the connection in its own. However I don't think a firewall would be doing this on 03:45 every day unless it was really weirdly configured. I would stop searching the issue on the host that runs etherpad and check the host that runs mysql and/or intermittent devices.