[mythtv-users] Upgrade OS -> computer not shutting down when idle.
Douglas Peale
Douglas_Peale at Comcast.net
Thu Apr 24 01:40:45 UTC 2025
On 4/23/25 17:38, Peter Bennett wrote:
>
> On 4/23/25 18:29, Douglas Peale wrote:
>> On 4/23/25 15:19, Peter Bennett wrote:
>>>
>>> On 4/23/25 17:38, Douglas Peale wrote:
>>>> On 4/23/25 14:32, Peter Bennett wrote:
>>>>>
>>>>> On 4/23/25 17:19, Douglas Peale via mythtv-users wrote:
>>>>>> I had logged out for a while, but my computer did not shut down.
>>>>>>
>>>>>> Looking at the log file, it looks to me like MythTV thought it was idle, ran the checkshutdown script, the script said it
>>>>>> was safe to shut down, it started counting down its 600 seconds but was interrupted by an EIT scan which aborted the
>>>>>> shutdown.
>>>>>>
>>>>>> Not sure what I should be doing about this.
>>>>>>
>>>>>> Excerpt of backend log:
>>>>>
>>>>> The last line of your log excerpt indicates that your check shutdown script returned 1 (Not OK to shutdown). That is why
>>>>> it did not shut down:
>>>>>
>>>>> 2025-04-23T14:06:13.549788-07:00 BlackBox mythbackend: mythbackend[1996]: N Scheduler scheduler.cpp:3326
>>>>> (CheckShutdownServer) CheckShutdownServer returned - Not OK to shutdown
>>>>>
>>>> That last line was after I had logged back into the computer. Check the earlier instance of that call to see that when I
>>>> was not logged in, the script indicated that it was safe to shut down.
>>>>
>>>>
>>> I see the first time it called CheckShutdownServer it said 591 secs to shutdown. It went down to 583, 573. Then it ran
>>> mythfilldatabase. Presumably that would prevent shutdown. Then it went back to 600 seconds to shutdown, then 590, 580, 557
>>> then it ran mythfilldatabase again.
>>>
>>> It looks like it is rerunning mythfilldatabase every minute. That is not correct. I don't know why it would do that. I
>>> suggest you disable the automatic run of mythfilldatabase in the settings and see if that helps.
>>>
>>> Peter
>>>
>> These are the settings:
>>
>>
>>
>> I'm going to change the idle time before EIT crawl begins to 660 seconds (11 minutes) to see if that allows the computer to
>> shut down.
>>
>>
>> --
> The one to disable is Setup ->General -> Program Schedule Downloading Options -> Automatically update program listings.
>
> mythfilldatabase is not related to EIT crawl. mythfilldatabase gets listings from a download service such as Schedules Direct,
> and it should only run once per day. EIT crawl can run all the time.
>
>
>
I have disabled Program Schedule Downloading Options.
Where is the timing for mythfilldatabase set? If it is going too often, it would be a good idea to see what the setting is.
--
Note: the attached .asc file is a cryptographic signature that would allow you to verify that this message has not been modified from what was sent.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x7B9B5178E6AE112A.asc
Type: application/pgp-keys
Size: 2452 bytes
Desc: OpenPGP public key
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250423/266a4ac0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250423/266a4ac0/attachment.sig>
More information about the mythtv-users
mailing list