[mythtv-users] Mythbackend hogging CPU, causing IO problems

Ryan Steffes rbsteffes at gmail.com
Sun Jun 4 04:15:51 UTC 2006


On 6/3/06, Ryan Steffes <rbsteffes at gmail.com> wrote:
>
> I just upgraded to recent SVN this week (and tried again with this
> mornings) and mythbackend is running oddly.  It starts out fine, then, after
> 5 to 20 minutes, it starts hogging the CPU to the point where it causes ivtv
> to flake and throw those write errors, and my log starts filling up with
>
> 2006-06-03 13:48:09.703 NVP: ClearAfterSeek(1)
> 2006-06-03 13:48:09.704 Transcoding Video and Audio
> 2006-06-03 13:48:16.901 GetNextFreeFrame() is getting a busy frame
> P.       UUUUUUUUUUUUUUUUUUUUUUUUUUUuUUL
> 2006-06-03 13:48:16.934 GetNextFreeFrame() is getting a busy frame
> P.       UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUL
> 2006-06-03 13:48:16.970 GetNextFreeFrame() is getting a busy frame
> P.       LUUUUUUUUUUUUUUUUUUUUUUUUUUUUUu
> 2006-06-03 13:48:17.000 GetNextFreeFrame() is getting a busy frame
> P.       LUUUUUUUUUUUUUUUUUUUUUUUUUUUUUu
> 2006-06-03 13:48:17.031 GetNextFreeFrame() is getting a busy frame
> P.       LUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
> 2006-06-03 13:48:17.063 GetNextFreeFrame() is getting a busy frame
> P.       uUULUUUUUUUUUUUUUUUUUUUUUUUUUUU
> 2006-06-03 13:48:17.093 GetNextFreeFrame() is getting a busy frame
> P.       uUULUUUUUUUUUUUUUUUUUUUUUUUUUUU
> 2006-06-03 13:48:17.126 GetNextFreeFrame() is getting a busy frame
> P.       UUULUUUUUUUUUUUUUUUUUUUUUUUUUUU
>
> and
> 2006-06-03 13:58:42.989 TFW, Error: Write() -- IOBOUND begin cnt(2048)
> free(2047)
> 2006-06-03 13:58: 43.551 TFW, Error: Write() -- IOBOUND end
> 2006-06-03 13:58:43.896 TFW, Error: Write() -- IOBOUND begin cnt(2048)
> free(2047)
> 2006-06-03 13:58:44.523 TFW, Error: Write() -- IOBOUND end
> 2006-06-03 13:58:45.327 TFW, Error: Write() -- IOBOUND begin cnt(2048)
> free(2047)
>
>
> I'm running with -v general,record,playback,schedule,commflag,jobqueue and
> nothing more descriptive is coming up in the logs.
>
> I am only running with one PVR150, no HD, no reason to be having IO
> problems.  I wasn't having them with 0.18, or the version of SVN I had a
> before I updated.  I'd roll back to that version, but I don't know what
> version it was.
>
> Any suggestions?
>
> Ryan
>


Incidentally, this is directly related to mythtranscode running.  I turned
off mythtranscode, and now everything is running correctly.  However, I
don't believe it's a straight IO problem, because I can actually load the
box more than it was before (watching a movie, while transcoding a DVD with
mencoder, while recording, with mythcomflag running on this machine and a
slave, and the slave running mythtranscode on it) without the problem
recurring.  It's the mythbackend process that shoots to 90ish percent CPU
though and throws all the errors, not the mythtranscode process.

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060604/e9dd0b56/attachment.htm 


More information about the mythtv-users mailing list