[mythtv-users] MythWeb (0.19) listing much slower than frontend

Niels Dybdahl Niels at Dybdahl.dk
Fri Mar 3 08:35:17 UTC 2006


On 3/2/06, AlanM <groups at dancecrave.com> wrote:
>
>
> You may have a problem I have just solved.
>
> Mythweb goes and checks all the icons (thumbs) for the programs and
> generates them if they are not there. It retries each operation for a
> while if the mpg / nuv is invalid or absent.
>
> Look in /var/log/mythtv/mythbackend.log to see whats going on. I saw
> lots of invalid files.
>
> The reason was there were several nuvs with 0 file size created while I
> was messing with the system during upgrade.
>
> In addition I had changed the hostname for the 0.19 box and the old
> recordings were under the old hostname in the database.
>
> Hope this helps :)
>
> Alan
>
> I saw errors similar to:
>
> 2006-03-01 14:25:12.812 adding: myth-be as a remote file transfer
> 2006-03-01 14:25:12.816 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  12 retries remaining.
> 2006-03-01 14:25:13.323 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  11 retries remaining.
> 2006-03-01 14:25:13.831 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  10 retries remaining.
> 2006-03-01 14:25:14.339 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  9 retries remaining.
> 2006-03-01 14:25:14.847 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  8 retries remaining.
> 2006-03-01 14:25:15.355 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  7 retries remaining.
> 2006-03-01 14:25:15.863 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  6 retries remaining.
> 2006-03-01 14:25:16.371 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  5 retries remaining.
> 2006-03-01 14:25:16.879 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  4 retries remaining.
> 2006-03-01 14:25:17.387 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  3 retries remaining.
> 2006-03-01 14:25:17.895 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  2 retries remaining.
> 2006-03-01 14:25:18.403 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  1 retries remaining.
> 2006-03-01 14:25:18.911 Could not open
> /video/1041_20060208032200_20060208035500.nuv.png.  0 retries remaining.
> 2006-03-01 14:25:19.427 MainServer::HandlePixmapLastModified()
>                          Couldn't find backend for:
>                           : " "
> 2006-03-01 14:25:19.432 Got requested for last modified date and time of
> preview pixmap on staging-be
> 2006-03-01 14:25:19.443 MainServer::HandleGenPreviewPixmap()
>                         Couldn't find backend for:
>                           : " "


My main problem is the program listing which is slow (12 seconds for 9
channels).

But the recorded shows page is also awful slow. I do not get the complaints
about the missing png files. Instead I get something like:

...
2006-03-03 09:17:14.576 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:14.580 adding: PC133 as a remote file transfer
2006-03-03 09:17:14.881 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:14.884 adding: PC133 as a remote file transfer
2006-03-03 09:17:15.088 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:15.091 adding: PC133 as a remote file transfer
0: start_time: 8405.536 duration: 1030.961
1: start_time: 8405.494 duration: 1030.985
stream: start_time: 93394.383 duration: 11455.582 bitrate=5232 kb/s
2006-03-03 09:17:15.235 AFD: Opened codec 0xaeb968e0, id(MPEG2VIDEO)
type(Video
2006-03-03 09:17:15.239 AFD: Opened codec 0xaeb03e80, id(MP3) type(Audio)
2006-03-03 09:17:17.464 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:17.465 adding: PC133 as a remote file transfer
2006-03-03 09:17:17.707 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:17.710 adding: PC133 as a remote file transfer
2006-03-03 09:17:17.893 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:17.897 adding: PC133 as a remote file transfer
2006-03-03 09:17:18.117 MainServer::HandleAnnounce FileTransfer
...

So there are hundreds or thousand messages about these FileTransfers (which
file transfers ?) and some lines which could look like preview generation.

I also get a few of these:

2006-03-03 09:17:19.763 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:19.765 adding: PC133 as a remote file transfer
2006-03-03 09:17:19.832 0 length seek table
[mpeg4 @ 0x20a9f44]warning: first frame is no keyframe
2006-03-03 09:17:20.326 MainServer::HandleAnnounce FileTransfer
2006-03-03 09:17:20.328 adding: PC133 as a remote file transfer

They look like broken recordings (I used MPEG4->MPEG4 transcoding to cut
recordings, and that functionality was broken in 0.18.1 and I still have
some of the recordings present).

My best guess on the slowness of the listing of recordings is that it tries
to generate new thumbnails for the recordings and it fails on some of them,
so it retries next time and uses a lot of time on running through all the
shows. Is my guess correct ?
I can not see in the log file which recordings it fails on. Can I add a
switch to the backend to log the names of those that fail ?

Niels Dybdahl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060303/4cecb1cb/attachment-0001.htm 


More information about the mythtv-users mailing list