[mythtv] Backend not releasesing deleted files.
Brent Borghese
brent at bborghese.com
Wed Sep 29 20:48:08 EDT 2004
I think you are seeing the same problem I have. I think the cvs did
help the problem a little, but the problem is still there.
I have been looking in to it and here is what I think the backend is
doing:
I run one backend and have 3 frontends(1 one the backend computer, 2 on
other computers), if one of the frontends crashes or I turn it off(Yes I
crash my frontends every day, ext3 is great) while it is playing a show
the backend never closes the TCP/IP socket, so the backend keeps the
.nuv files open forever.
Here is why I think this:
Right now I have the backend and just the local frontend running. But,
my backend server is showing the backend task has 9 IP connections.
mythbacke 30644 mythtv 20u IPv4 191646 TCP
mythtv.inside:6543->mythtv.inside:33366 (ESTABLISHED)
mythbacke 30644 mythtv 21u IPv4 191650 TCP
mythtv.inside:6543->mythtv.inside:33367 (ESTABLISHED)
mythbacke 30644 mythtv 22u IPv4 312232 TCP
mythtv.inside:6543->mythtv2.inside:32778 (ESTABLISHED)
mythbacke 30644 mythtv 27u IPv4 271816 TCP
mythtv.inside:6543->mythtv1.inside:32772 (ESTABLISHED)
mythbacke 30644 mythtv 29u IPv4 239316 TCP
mythtv.inside:6543->mythtv2.inside:33413 (ESTABLISHED)
mythbacke 30644 mythtv 34u IPv4 215540 TCP
mythtv.inside:6543->mythtv2.inside:33127 (ESTABLISHED)
mythbacke 30644 mythtv 39u IPv4 255860 TCP
mythtv.inside:6543->mythtv2.inside:32997 (ESTABLISHED)
mythbacke 30644 mythtv 49u IPv4 312234 TCP
mythtv.inside:6543->mythtv2.inside:32779 (ESTABLISHED)
mythbacke 30644 mythtv 51u IPv4 270428 TCP
mythtv.inside:6543->mythtv2.inside:32887 (ESTABLISHED)
mythtv.inside is the backend server (2 connections)
mythtv1.inside is a remote frontend (1 connections, computer is off)
mythtv2.inside is a remote frontend (6 connections, computer is off)
And the backend has 7 open nuv files, it should have 2(it is currently
recording 2 shows)
To check your backend do:
lsof|grep IPv4|grep mythback|grep ESTA
Brent
On Wed, 2004-09-29 at 20:04, Michael Proctor-Smith wrote:
> I finally found the time to get my mythtv system to gether and found that
> about a week in that several shows had not been recorded beacuse of a full
> disk. Sense I had just removed a bunch of shows this seemed wierd so I took
> a look at status on mythweb which was reporting 106GB of 103GB with -3???MB
> free. Logged into the backend box and a df reported 100% full disk. Rebooted
> the system and several ext3 errors were fixed.
>
> Anyway that was Sunday so I checked again today. And tried a lsof there were
> again many files which mythbackend had open and were reported as deleted.
>
> I am running mythtv-backend-0.16-79.rhfc2.at on fedora core 2.
>
> Sorry if it is already fixed in cvs, but I did a search of the archive and
> did not find anything like this. Also if this should have go to user.
>
> ______________________________________________________________________
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list