[mythtv] Ticket #6412: mythbackend segfaults
danielk at cuymedia.net
Thu Apr 2 19:32:47 UTC 2009
On Thu, 2009-04-02 at 12:13 -0700, Michael Drons wrote:
> Where does the usereadahead and retries come from?
There are not settings, basically usereadahead is used whenever you
are streaming a video, as opposed to a small file like an icon. It
starts a read ahead thread that provides buffering between file access
and the file transfer protocol. The 'retries' setting tells MythTV
how many times to retry opening a file that does not yet exist on the
file system. This is basically to handle LiveTV recordings which have
just started and so their recording file has not yet been written to
disk. -1 uses the default value which I believe is currently 10, but
you would need to look at the code to be sure.
BTW There may be some breakage in this code currently in the MythTV
Frontend, you can get abysmal performance in the MythTV Watch Recordings
screen if the all the recording directories are not mounted locally.
This may be due to the wrong options being used for FileTransfer the in
Preview Generator code or in some new Watch Recordings code, I haven't
looked at it since noticing this problem.
More information about the mythtv-dev