2013-02-19, 03:19
Hi all,
I have a mySQL setup on an unraid server with win 7 clients. My HTPC (atom + ION) is set to sleep when not being used. This occurs after an auto-close of XBMC after some time of no activity (as when using ?Dharma? XBMC would not let the HTPC sleep if it was still running - I think that this has changed with Frodo))
When the HTPC wakes from sleep and XBMC is started again it cannot connect to the mySQL database. The log file has errors saying it cannot connect to the database. If I close XBMC and restart it I am able to connect to the database immediately. I have been unable to determine if this is related to the drives in the server being spun down, however this behaviour is new with Frodo. Using Eden, XBMC would sit there thinking while the drives in the server spun up and then would connect without any intervention. My settings have not changed since upgrading from Eden to Frodo.
I want to keep the HTPC sleeping and spin down the server drives when not in use
I see a few ways to try and fix this
1. turn off auto-close of XBMC and see if that has any effect. I doubt it though
2. Extend the network timeout in Frodo, if this is able to be updated (maybe samba clienttimeout? or curlclienttimeout?)
3. Create a batch file to spin up the drives on the server and then start XBMC (although this wont work if XBMC is already running when the HTPC wakes from sleep)
Has anyone experienced the same issue that I am seeing and have any advice on how to sort it out, or knowledge if the options above will work?
Thanks
I have a mySQL setup on an unraid server with win 7 clients. My HTPC (atom + ION) is set to sleep when not being used. This occurs after an auto-close of XBMC after some time of no activity (as when using ?Dharma? XBMC would not let the HTPC sleep if it was still running - I think that this has changed with Frodo))
When the HTPC wakes from sleep and XBMC is started again it cannot connect to the mySQL database. The log file has errors saying it cannot connect to the database. If I close XBMC and restart it I am able to connect to the database immediately. I have been unable to determine if this is related to the drives in the server being spun down, however this behaviour is new with Frodo. Using Eden, XBMC would sit there thinking while the drives in the server spun up and then would connect without any intervention. My settings have not changed since upgrading from Eden to Frodo.
I want to keep the HTPC sleeping and spin down the server drives when not in use
I see a few ways to try and fix this
1. turn off auto-close of XBMC and see if that has any effect. I doubt it though
2. Extend the network timeout in Frodo, if this is able to be updated (maybe samba clienttimeout? or curlclienttimeout?)
3. Create a batch file to spin up the drives on the server and then start XBMC (although this wont work if XBMC is already running when the HTPC wakes from sleep)
Has anyone experienced the same issue that I am seeing and have any advice on how to sort it out, or knowledge if the options above will work?
Thanks