Page 1 of 1

SOLVED: Cleanup list Problem. Files not deleted

Posted: February 20th, 2012, 4:48 pm
by wassy
Hi all,

I hope someone can help me, I have recently installed SABnzb for the first time. All seems to be working fine, except the file cleanup list is not working. Currently it contains ".nfo .sfv .nzb .srr" listed just like that with spaces. Except when I look in the "Complete" folder all those files are still present (along with the actual files I want to keep). Here are my stats:

Version: 0.6.14
OS: CentOS 6
Install-type: RPM isntaller
Firewall Software: iptables
Are you using IPV6? no
Is the issue reproducible? yes

The user is named sabnzb with the shell path :/sbin/nologin, SABnzb is set up in daemon mode as per the wiki instructions. All files in the Completed folder are owned by sabnzb and group is sabnzb's primary group. Running the command "sudo -u sabnzb rm some-download-file.nfo" can succesfully delete any file in the Complete folder or its subfolders, so I'm struggling to find a permission problem.

Any help would be appreciated

Many thanks

Re: Cleanup list Problem. Files not deleted

Posted: February 20th, 2012, 4:58 pm
by shypike
It's a comma separated list, but you can omit the dots.
So: srr, nfo, sfv

Re: Cleanup list Problem. Files not deleted

Posted: February 22nd, 2012, 4:33 pm
by wassy
really. Ha I feel quite silly now. Thanks for letting me know.

Re: Cleanup list Problem. Files not deleted

Posted: February 23rd, 2012, 6:30 pm
by wassy
Yep that definitely solved it, I managed to miss the second part of the example below the text field where it shows ".nfo, .sfv"
Thanks for your help.

Re: SOLVED: Cleanup list Problem. Files not deleted

Posted: February 4th, 2015, 3:23 pm
by Andym8674
Hello, there appears to be a limitation on the file cleanup extension list, would anyone know how to increase this limitation, I currently have about 50 listed extensions.

Thank I'm advance.

Re: SOLVED: Cleanup list Problem. Files not deleted

Posted: February 4th, 2015, 5:12 pm
by shypike
I don't know of any limit.
Is it the number of extensions?
Does part of it disappear?
Don't all files get deleted?

Re: SOLVED: Cleanup list Problem. Files not deleted

Posted: February 4th, 2015, 5:16 pm
by Andym8674
Yes I've seen when it's saved and San restarted that extensions disappear, the confit.ini file will only save a limited number on my setup. All extensions listed do get removed but I've found that I will get .10 and .61 etc extensions remains so I wanted to add from .1 to .100

Re: SOLVED: Cleanup list Problem. Files not deleted

Posted: February 4th, 2015, 7:11 pm
by shypike
Well, I cannot reproduce your problem, but I'll try some more.
Maybe you'd better write a simple script instead.

Re: SOLVED: Cleanup list Problem. Files not deleted

Posted: February 5th, 2015, 3:43 am
by Andym8674
Thank you for trying, have wrote a script that does work but ideally wanted all confit within Sab, no matter it's a great app and this is the only issue I have found with my setup,

Off topic I kmow, the cache article limit, my system has 48gb ram installed, can this be used to cache all downloaded articles until the need to post process? I have -1 set at the moment but it doesn't appear to be doing it, I have found a thread relating to cache article limit but it's 7 years old.

Re: SOLVED: Cleanup list Problem. Files not deleted

Posted: February 5th, 2015, 7:40 am
by shypike
We (internally) limit the cache to 1G, due to a memory management problem in the yEnc library we use.
Other than that, each file is assembled as soon as all of its parts are in.
Tools like par2 and unrar cannot work from memory.
I could suggest creating a RAM disk, but that would give its own set of issues.