Open GoogleCodeExporter opened 9 years ago
More info:
After log rotate, service is still running. Clients can log in, MySql auth.
Status announcements are sent to/from the server without error.
When the first message is sent between clients is when the error msg appears in
the error log.
Service is still running and status announcements are still sent, but no
messages are sent between clients.
Messages are archived in MySql.
Original comment by justinch...@gmail.com
on 29 Jan 2015 at 2:09
I have the same problem with you,
I am not sure what happend with prosody,
Any suggestion ?
Original comment by dansi...@gmail.com
on 5 May 2015 at 8:06
I ended up with a hack to make it work for me by setting a cron job to restart
prosody in the morning before work starts. Not a clean fix but its working.
I think it is after the log rotate. it must be losing its connection the the
mysql server and it is not able to reconnect.
... and on the cold boot or even warm boot
I think it has to do with the start-up sequence.
mysql should be running before prosody is started (?)
I still have to remember to restart prosody manually on reboot...
I use mysql for authentication (prosody.prosody) and to archive all messages.
(prosody.prosodyarchive).
Perhaps one of those smart prosody programmers could add code to the mysql
use/connect function.
If the connect fails re-establish the connection. (?)
And then again it could be something totally unrelated to the database.
Except for this I really like the prosody server, it does everything I need it
to.
Original comment by justinch...@gmail.com
on 6 May 2015 at 3:16
Hi,
I think the problem come from Mysql.
By default, Mysql auto close the inactive connections.
After 8 hours of in-active, Connection will be closed,
I am going to fix the modules and let you know later,
Original comment by dansi...@gmail.com
on 25 May 2015 at 9:26
Original issue reported on code.google.com by
justinch...@gmail.com
on 28 Jan 2015 at 7:54Attachments: