Re: [vdr] VDR not cleaning .del directories
Ok, it might be the same thing. I added some debug as Klaus suggested. After restart, vdr instantly deleted a few directories.. So at least it works sometimes. :) Perhaps the cleanup fails if Plex or another vdr is currently accessing the same files? Maybe vdr then thinks it has deleted them, and does not try again. 17.1.2018 22.28 "Jouni Karvo"kirjoitti: > Klaus Schmidinger kirjoitti 17.01.2018 klo 11:59: > >> On 16.01.2018 19:44, Teemu Suikki wrote: >> >>> Hi, >>> >>> I just experienced weird problem. My hard drive became 100% full. >>> >>> >>> ... > >> This is somehow related to the fact that I now have Plex Media Server >>> sitting on the VDR recordings directory. But still I could remove the >>> .del directories easily from the command line. After manually deleting >>> them, disk is now only 85% full.. And that's 4TB drive. :) So there >>> were quite a bit of .del directories. >>> >> >> Do you have anything going on that causes frequent "user ineraction" with >> VDR? >> > > I had a similar problem some time ago (I don't remember how many years, > but with vdr 2.2.0). I reported on this mailing list then, but I did not > find that email with a short search, now. > > My video directory is nfs-mounted to a raspberry pi running another vdr. > In my case, I have not changed the configuration in any way, but despite of > daily usage, this has not reoccurred. So either some other patch fixed the > problem for me, or this is some extremely rarely happening race condition > type thing. > > yours, > Jouni > > ___ > vdr mailing list > vdr@linuxtv.org > https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > ___ vdr mailing list vdr@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR not cleaning .del directories
Klaus Schmidinger kirjoitti 17.01.2018 klo 11:59: On 16.01.2018 19:44, Teemu Suikki wrote: Hi, I just experienced weird problem. My hard drive became 100% full. ... This is somehow related to the fact that I now have Plex Media Server sitting on the VDR recordings directory. But still I could remove the .del directories easily from the command line. After manually deleting them, disk is now only 85% full.. And that's 4TB drive. :) So there were quite a bit of .del directories. Do you have anything going on that causes frequent "user ineraction" with VDR? I had a similar problem some time ago (I don't remember how many years, but with vdr 2.2.0). I reported on this mailing list then, but I did not find that email with a short search, now. My video directory is nfs-mounted to a raspberry pi running another vdr. In my case, I have not changed the configuration in any way, but despite of daily usage, this has not reoccurred. So either some other patch fixed the problem for me, or this is some extremely rarely happening race condition type thing. yours, Jouni ___ vdr mailing list vdr@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR not cleaning .del directories
On 16.01.2018 19:44, Teemu Suikki wrote: Hi, I just experienced weird problem. My hard drive became 100% full. But I noticed that there are tons of .del directories, some dating from months ago.. VDR hasn't removed them! What could cause this? I see entries in log: low disk space while recording, trying to remove a deleted recording... Jan 16 08:23:06 puucee vdr: [30504] removing recording xxx.del And these recordings ARE removed really. But the normal background cleaning does not happen. This is somehow related to the fact that I now have Plex Media Server sitting on the VDR recordings directory. But still I could remove the .del directories easily from the command line. After manually deleting them, disk is now only 85% full.. And that's 4TB drive. :) So there were quite a bit of .del directories. Do you have anything going on that causes frequent "user ineraction" with VDR? Try adding some debug output to RemoveDeletedRecordings() and maybe also to cRemoveDeletedRecordingsThread::Action() (both in recording.c) to find out what might be causing this. Klaus ___ vdr mailing list vdr@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr