[mythtv-users] Is it worth while to stop/start mythtv nightly?
    Corne Beerse 
    cbeerse at gmail.com
       
    Mon Nov  8 08:36:00 UTC 2010
    
    
  
On 5-11-2010 16:27, Brent Bolin wrote:
> On Fri, Nov 5, 2010 at 10:19 AM, Johnny Walker<johnnyjboss at gmail.com>  wrote:
>> On Fri, Nov 5, 2010 at 9:31 AM, Richard Shaw<hobbes1069 at gmail.com>  wrote:
>>> On Fri, Nov 5, 2010 at 8:43 AM, Brent Bolin<brent.bolin at gmail.com>  wrote:
>>>> I recently started doing a cron job that stops and starts mythtv nightly -
>>>>
>>>> 59 2 * * * root  ( service mythtv-backend stop )
>>>> 0 3 * * * root  ( service mythtv-backend start )
>>>>
>>>> My thoughts we're memory leaks etc... and just getting a clean stop start daily.
If memoryleaks are your problem, then better try to fight them. Until 
they are beaten, better reboot the entire system as there are more 
programs running 'forever', which might have a memory leak...
To do you regular reboot (or any other maintenance script) you'd better 
schedule it with the backend. It has an entry to shutdown the system 
once it is finished. You'd better use that entry to initiate the scripts.
>> I started letting mine shut down to conserve power and generated heat.
>> The writeups here are pretty good:
>>
>> http://www.mythtv.org/wiki/Mythwelcome
>>
>> http://www.mythtv.org/wiki/ACPI_Wakeup
That's where these entries are used. At least have a look how and where 
they are doing things.
>> This would accomplish your restarts and save on your power bills.
>>
>> I had to make my frontend machine become my proxy server (for use
>> while at work) and then add a wakeonlan command to the power button I
>> use to start up my frontend. With the SSD drive I use as my OS disk on
>> the MBE I'm up and running in under a minute
>>>> Noticed there was a recorded show that had two entries.  Was thinking
>>>> something was wrong.  Then remembered the cron job.
>>>>
>>>> I also do nightly myth fill database.  I'm not sure if this stops
>>>> mythtv from recording/watching because I'm never up at that time.
>>>>
>>>> So I'm wondering if I should combine these processes and just run from
>>>> a command line(cron job).  I believe /usr/bin/mythfilldatabase will do
>>>> this.
>>>>
>>>> Or if it's not necessary at all.
The 'nightly' fill of the myth database is (as far as I know) also 
triggered on myth backend startup (or at boot at least).
>>>> Any input?
>>> I'm not sure what problems your having that you need this but while I
>>> restart the frontend for various reasons (lockups, exiting for the
>>> kids to play games, etc.) I can't remember the last time I restarted
>>> the backend except for reboots or when I've needed to go into
>>> mythtv-setup. The backend has been rock solid for me for quite some
>>> time.
> I use the back end to heat my house :)
For summertime, (when you fancy an airco) you'd better switch the system 
off, like they do at the acpi wakeup page.
> I am the most un-green person you will find.
You did not join the army I guess.
CBee
    
    
More information about the mythtv-users
mailing list