[mythtv-users] Mythweb: Recorded Programs takes forever...

Johan Heikkilä johan.heikkila at gmail.com
Fri Aug 3 21:16:40 UTC 2007


2007/8/3, Michael T. Dean <mtdean at thirdcontact.com>:
>
> Yep.  If you're saying that the *.mpg.png files in the MythWeb
> data/cache directory are recreated, you've probably got mixed versions
> of code (i.e. bad SVN update, bad install, ...)


Thanks for the reply. No, only in the backend's recording directory.

If you're saying that the *.mpg.png files on the backend's recordings
> directory are being recreated, it means that the date of the PNG files
> is < the "last modified date" for the recording (in the database).  That
> generally happens because of bad permissions in the recordings
> directory--and the fact that it happens every time just reinforces the
> theory; it's unable to update the preview timestamps to the current
> time.  I have *.mpg.png files in the recordings directory going back to
> Nov 18, 2006--my oldest recording.


The recordings directory has rwxrwxrwx.

I started looking at what actually happens, and now I am not sure if it is
really recreating all the files or if it is just updating their timestamps
to current time. I tried deleting all the mpg.png files and it takes exactly
as long, as when the files already exist, to create new files when I load
the Mythweb recordings page. I would imagine that if it is only updating the
timestamps it wouldn't take as long as creating new files. Or maybe my
backend is simply slow (dual athlon XP-M Barton at 800 MHz, 1GB RAM,
recordings directory on 3 IDE drives with xfs on LVM about 600GB).

Anyway, Unixes have no creation time stamp, so I have a hard time figuring
out if the files are actually recreated, or only updated.

A file in the recordings directory:

ls -lu  2010_20070219152500.mpg.png
Aug  3 23:41        (the access time is actually when it was created)
ls -lc  2010_20070219152500.mpg.png
Aug  3 23:44        (change time changes when accessing Mythweb recordings
page)
ls -l  2010_20070219152500.mpg.png
Aug  3 23:44        (modify time changes when accessing Mythweb recordings
page)

After accessing Mythweb recordings page once more:

ls -lu  2010_20070219152500.mpg.png
Aug  3 23:41
ls -lc  2010_20070219152500.mpg.png
Aug  4 00:06
ls -l  2010_20070219152500.mpg.png
Aug  4 00:06

Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070804/ce30ec4e/attachment.htm 


More information about the mythtv-users mailing list