[mythtv-users] Scheduled recording causing frontend lockup
Blammo[doh]
blammo at dohboys.com
Fri Sep 10 23:57:50 EDT 2004
No, but thanks for offering a suggestion.
/myth is on a 160G IDE drive alll by itself for the backend, which is
mounted on the frontend
----- Original Message -----
From: "Donavan Stanley" <GeckoFiend at gmail.com>
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Sent: Friday, September 10, 2004 2:09 PM
Subject: Re: [mythtv-users] Scheduled recording causing frontend lockup
> Do you use LVM? I was able to pin the blame on this on my LVM volume.
> It started appearing for me once my multi-disk system filled beyond
> the capactiy of the first disk. The following patch should fix it, at
> the expense of some extra delay in swtiching over from watching TV to
> watching the recording. I've not had time to figure out how to
> properly fix my LVM setup.
>
> Begin stupid_lvm_hack.patch
> ----
> Index: RingBuffer.cpp
> ===================================================================
> RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/RingBuffer.cpp,v
> retrieving revision 1.103
> diff -u -r1.103 RingBuffer.cpp
> --- RingBuffer.cpp 26 Aug 2004 23:57:55 -0000 1.103
> +++ RingBuffer.cpp 10 Sep 2004 21:03:04 -0000
> @@ -374,7 +374,12 @@
> is_local = true;
>
> if (is_local)
> + {
> + fd2 = open(filename.ascii(),
O_RDONLY|O_LARGEFILE|O_STREAMING);
> + close(fd2);
> + sleep(1);
> fd2 = open(filename.ascii(),
O_RDONLY|O_LARGEFILE|O_STREAMING);
> + }
> else
> remotefile = new RemoteFile(filename);
>
> --
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
>
>
----------------------------------------------------------------------------
----
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list