[mythtv] backend dying while mythweb is creating previews for
recorded programs
Risto Treksler
risto at elkhornbanff.ca
Tue Feb 22 16:55:06 UTC 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-1.log.gz
Type: application/x-gzip
Size: 691 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-1.log.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-4.diff.gz
Type: application/x-gzip
Size: 723 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-4.diff.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-4.html.txt.gz
Type: application/x-gzip
Size: 1153 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-4.html.txt.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-7.diff.gz
Type: application/x-gzip
Size: 1435 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-7.diff.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-7.html.txt.gz
Type: application/x-gzip
Size: 1260 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-7.html.txt.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-7.log.gz
Type: application/x-gzip
Size: 4377 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-7.log.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-3.log.gz
Type: application/x-gzip
Size: 1213 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-3.log.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-4.bt.gz
Type: application/x-gzip
Size: 4463 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-4.bt.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-2.log.gz
Type: application/x-gzip
Size: 1013 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050222/81e4cd12/preview-2.log.bin
More information about the mythtv-dev
mailing list