[mythtv] backend dying while mythweb is creating previews for recorded programs

Risto Treksler risto at elkhornbanff.ca
Wed Feb 23 11:12:50 UTC 2005


For what it's worth

http://www.gossamer-threads.com/lists/mythtv/users/92985?search_string=waiting%20for%20a%20thread;#92985
http://www.gossamer-threads.com/lists/mythtv/users/53694?search_string=waiting%20for%20a%20thread;#53694
http://www.gossamer-threads.com/lists/mythtv/users/88540?search_string=0%20retries%20remaining.;#88540

seem to be related but 
don't point to a solution

it's weird though since i never saw this b4 0.17

rt

On Tuesday 22 February 2005 09:55 am, Risto Treksler wrote:
> Hi,
>
> Has the code for static preview generation changed since .16
>  to make it happen in the background?
>
> I see '(0 retries remaining)' in the logs for remote filetransfers
> How can I change that, so that it tries again?
>
>
> Here's what's happening:
>
> i start by clearing out the png files
> #rm -f /mnt/store/*.png /var/www/html/mythweb/image_cache/*.png
>
> then i go to the recorded_programs.php page in firefox and
> when the backend is busy with commflagging or recording,
> only a few preview images are shown
>
> sometimes the backend seems to crash,
> but upon further investigation it doesn't really segfault
> but just exits gracefully right after a
> 2005-02-22 00:00:16.986 Unknown file transfer socket: 18
> or similar, in the log
>
> other times it gets stuck with tons of
> "waiting for a thread" messages
> see preview-2.log
> i <ctrl-c>-ed the backend and got preview-4.bt
>
> most of the time the files are actually created in /mnt/store
> but they just don't get copied over to image_cache
> so hitting reload copies them over
>
> i have toyed with the idea of adding a timeout to let the file creation
> complete before trying to copy the png over but no luck so far
>
> i have added some debug statements to see what's going on
> preview-4.diff produces preview-4.html.txt
> and
> preview-7.diff produces preview-7.html.txt
> (with the backend running inside a while loop)
>
> i am stumped
>
> :(
>
> --
> Risto Treksler
> Elkhorn Lodge
> Banff, Alberta, Canada

-- 
Risto Treksler
Elkhorn Lodge
Banff, Alberta, Canada


More information about the mythtv-dev mailing list