Opened 16 years ago

Closed 16 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 Changed 16 years ago by Janne Grunau

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 Changed 16 years ago by anonymous

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

comment:3 in reply to:  2 Changed 16 years ago by Janne Grunau

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 Changed 16 years ago by anonymous

might be fixed by [14935]

comment:5 Changed 16 years ago by mythtv@…

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.

comment:6 in reply to:  5 ; Changed 16 years ago by mythtv@…

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.

comment:7 in reply to:  6 Changed 16 years ago by mythtv@…

yes just confirmed with the source that it does include 14935

comment:8 in reply to:  5 Changed 16 years ago by Janne Grunau

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.