Opened 18 years ago

Closed 18 years ago

#4210 closed defect (fixed)

auto expirer fails to delete recordings (fast enough) -> hard disk fills up

Reported by: xris Owned by: Janne Grunau
Priority: critical Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

My backend recently had its disk space fill up during recording, and got into an infinite loop showing something akin to:

2007-11-21 23:16:10.641 TFW: safe_write(): funky usleep
2007-11-21 23:16:10.642 TFW, Error: safe_write(): File I/O  errcnt: 3
                        eno: No space left on device (28)
2007-11-21 23:16:10.642 TFW, Error: safe_write(): File I/O  errcnt: 1
                        eno: No space left on device (28)
2007-11-21 23:16:10.642 TFW: safe_write(): funky usleep

The thing is that I had a ton of stuff in the "Deleted" recgroup that the backend didn't bother to delete.

Change History (8)

comment:1 by Janne Grunau, 18 years ago

Milestone: unknown0.21
Owner: changed from Isaac Richards to Janne Grunau
Status: newassigned

xris can you attach a backend log with -v file

it might be a regression from my last auto expirer changes. I'm trying to reproduce it later

comment:2 by anonymous, 18 years ago

Same thing happened to me about 2 weeks ago...

in reply to:  2 comment:3 by Janne Grunau, 18 years ago

Summary: backend falls into infinite loop when disk space fills up (no space left on device, "deleted" recgroup not auto-emptied)auto expirer fails to delete recordings (fast enough) -> hard disk fills up

Replying to anonymous:

Same thing happened to me about 2 weeks ago...

that's unrelated to this bug

comment:4 by anonymous, 18 years ago

might be fixed by [14935]

comment:5 by mythtv@…, 18 years ago

I've experienced the same this for several months. I've manually deleting files to get around it, a bit of a pain, esp during the busy time of the year.

in reply to:  5 ; comment:6 by mythtv@…, 18 years ago

Replying to mythtv@directions.com.au:

I've experienced the same this for several months. I've manually deleting files to get around it, a bit of a pain, esp during the busy time of the year.

Additional information:

Running Source code version : 14946 SVN branch : trunk Library API version : 0.21.20071123-1

Does this include "Changeset 14935" (I'm assuming it does) so it must be something else.

in reply to:  6 comment:7 by mythtv@…, 18 years ago

yes just confirmed with the source that it does include 14935

in reply to:  5 comment:8 by Janne Grunau, 18 years ago

Resolution: fixed
Status: acceptedclosed

Replying to mythtv@directions.com.au:

I've experienced the same this for several months. I've manually deleting files to get around it, a bit of a pain, esp during the busy time of the year.

Then it is probably a different error. Please create a new ticket with mythbackend -v file log appended.

This issue was fixed by [14991].

Note: See TracTickets for help on using tickets.