Automatic WakeOnLan upon accessing MySql or FileShares
It seems you have 2 issues if I understand correctly.. (?)

1) .. MySQL can't recover from a single access error.
.. and yet NFS will wake your server, only MySQL will not when you get into this state.
There is no difference in the wake-on-access module between the two and this problem can not come from there. It could seem like the MySQL (kodi-client) module itself gets permanently broken after a single connection-failure and decides to never try again, that could explain such behaviour. I did not think it worked like that but I will have a look in the code
edit : I find this
Code:
CLog::Log(LOGINFO,"MYSQL server has gone. Will try %d more attempt(s) to reconnect.", attempts);
It looks like 5 retry-attemps are made and then connection is permanently broken.

2) .. logging a WakeOnAccess every "TimeOut" seconds .. keeping the server awake
There is no difference between Pingport setting and frequency of ping-tests made so I dont see how this has any significance. If your rpi keeps server awake by repeatedly connecting to it then there must be an add-on (or skin) that does something periodically. You need to figure out what that is and disable it or let the server stay on 24/7. Check the logs to get an idea of what may be causing the periodic connection.
Reply


Messages In This Thread
[No subject] - by vexation - 2012-03-01, 17:10
[No subject] - by t4_ravenbird - 2012-03-01, 20:45
[No subject] - by Vascular - 2012-03-02, 15:29
[No subject] - by t4_ravenbird - 2012-03-02, 15:42
[No subject] - by regnets - 2012-03-08, 20:05
[No subject] - by Dam0 - 2012-03-09, 13:41
RE: Automatic WakeOnLan upon accessing MySql or FileShares - by t4_ravenbird - 2016-05-20, 10:10
Logout Mark Read Team Forum Stats Members Help
Automatic WakeOnLan upon accessing MySql or FileShares4