infinite loop when out of disk space (1 Viewer)

Bosso

Portal Pro
December 16, 2004
50
0
Sweden / Stockholm
TV-Server Version: N/A
MediaPortal Version: 0.2.2.0 SVN 05-17-2007
MediaPortal Skin: blue Two
Windows Version: XP sp2 english
CPU Type: AMD Athlon 750
HDD: Samsung 120GB
Memory: 512MB
Motherboard: ASUS something
Motherboard Chipset: VIA KT133
Motherboard Bios: x
Video Card: Asus Nvidia FX5200
Video Card Driver:
Sound Card: Soundblaster 128
Sound Card AC3:
Sound Card Driver:
1. TV Card: Hauppauge PVR250
1. TV Card Type: Analog HW encoder
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Nvidia pureVideo
MPEG2 Audio Codec: Nvidia pureVideo
Satelite/CableTV Provider: comhem
HTPC Case: custom
Cooling:
Power Supply:
Remote: hauppage remote
TV:
TV - HTPC Connection: svideo

I ran out of disk space on the recordings partition and MP got stuck in a loop trying to remove a recording wich did not exist. Writing to the log file very often so the logfile and error log got to above 300MB each and eventually filled my system partition too.

If delete of an old recording fails, it seems to keep trying to delete thate same file forever a couple of times each second.

Maybe we need to handle low disc space just with a simple message to the user when either disc quota is not used, or when an attemt to delete a recording fails.
It will at least keep MP from crashing or generating huge logfiles.
(I can't find a way to disable the disc quota in the setup. Am I just blind?)

Attached is the first lines of the giant MP logfile.
System resumes after standby to record, but disk is full.
DiskManagement tries to remove recording
...then loops

/Bosso
 

nettech_gt

Portal Pro
January 19, 2006
169
0
I'm having the same issues. Except my log files are always at least a gig. I'm using SVN 14405 from 4/25.
 

Marcusb

Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    I get this too.
    I think the best way to handle is if the file you are trying to delete doesn't exist, move on to try to delete the next file. Keep trying the next until the space is cleared.

    This has been a problem for quite a while and a few attempts to fix have been made, but I guess it's a rare issue, so hard to know when it's fixed properly.
     

    Bosso

    Portal Pro
    December 16, 2004
    50
    0
    Sweden / Stockholm
    That should be a nice fix.
    I'd also like to be able to turn the disc quota feature off.

    The problem must also be that the tv-database is not valid, since it finds a show that is not existing.
     

    nettech_gt

    Portal Pro
    January 19, 2006
    169
    0
    It happend again today. This time the logs were much smaller. One thing I have noticed, if I manually delete a recorded show in "Recorded TV" both the entry in the database and file don't always get deleted. So for example if the file gets deleted but not the database entry, then when the quota checks what to delete it still sees the entry in the database but the file dosen't exist so it can't delete it. I really hope this will get fixed soon. It seems to happen almost everyday. And I have to restart the computer and manually delete the logs before I use MP.
     

    Users who are viewing this thread

    Top Bottom