<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Mon, Jul 10, 2023 at 6:24 AM Roland Ernst <<a href="mailto:rcrernst@gmail.com">rcrernst@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Every now and then there are similar threads about high CPU usage when mythbackend is in idle mode.</div><div><br></div><div>In most cases, there has been multiple paths enabled to collect the EPG data,</div><div>either multiple tuners has been configured for collecting EIT (active EIT scan)</div><div>or XMLTV and active EIT scan have been configured to collect data for the same source.</div><div><br></div><div>Another possibility is that the system runs out of disk space or swap space.</div><div><br></div><div>IIRC there was one security incident not caused by MythTV but maybe triggered by mythbackend that caused</div><div>high CPU load on a single kworker thread.</div><div><br></div><div>Roland<br></div><div> <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 8, 2023 at 9:14 PM Larry Kennedy <<a href="mailto:lunchtimelarry@gmail.com" target="_blank">lunchtimelarry@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 8, 2023 at 2:59 AM Karl Buckland <<a href="mailto:buckland.karl@gmail.com" target="_blank">buckland.karl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm running v33.1+fixes.202307022004.83e1df82c2~ubuntu20.04.1. This<br>
problem has been happening for a little while now and I've recently<br>
updated packages to see if that would help, but to no avail.<br>
<br>
I'm running Ubuntu 20.04 in a container under proxmox. If I reboot the<br>
container, mythbackend starts again normally with normal CPU usage.<br>
The problem seems to return after many hours. Once the high CPU starts<br>
it seems to stay until I restart mythbackend.<br>
<br>
I've tried looking through the mythbackend log but there doesn't seem<br>
to be any obvious cause of the problem while it's happening.<br>
<br>
What can I do to get more information on this?<br>
<br></blockquote><div>
<pre>mythbackend --setloglevel debu<span class="gmail_default" style="font-family:monospace,monospace">g</span></pre></div></div></div></blockquote></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">I have in the past had a lot of mythcommflag processes hogging CPU that never ended until I killed them manually.</div><br></div></div></div>