Matthew Goodman wrote:
> The permissions of the files in the working/new directory are:
>
> -rw------- 1 qscand nofiles 874 Dec  5 14:45 ark119690195249426093
>
> I take it back, there are not thousands of files in there, there are
> HUNDREDS of THOUSANDS of files in there. Holy... is right.
>
> Help!
>
> Matt
>
>   
Run this, as root -

find /var/spool/qmailscan/working/ -type f -mtime +5 -print|xargs rm -f 
1>/dev/null

That should clear out everything older than 5 days, which should get it 
down to a manageable number, at least to start.

Then, you need to find out why your system isn't deleting the files 
_out_.   My guess is that because the files are being created as RW only 
to qscand, the next process in line can't touch them. 

I'm running most of those functions as the antivirus, simply because 
it's easier, and not running into those.  For me, I'm not sure what 
questions to ask.  I'd almost have to get into your machine and root 
around.



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Bookworm
> Sent: Wednesday, January 02, 2008 1:30 PM
> To: qmail-scanner-general@lists.sourceforge.net
> Subject: Re: [Qmail-scanner-general] Qmail-Scanner Working Directory
> Overfloweth
>
> Matthew Goodman wrote:
>   
>> Hi all,
>>
>> Currently my /var/spool/qmailscan/working folder is not being cleared out.
>>
>> What exactly is in this folder, and why are there thousands and thousands
>> of files in there? Is there any easy way to flush that out and recover the
>> space?
>>
>> Every night my backup routine runs, it takes hours for this directory
>> alone. Since the backup is disk-image based and not file/directory based,
>> there is no way to exclude this directory.
>>
>> Any thoughts? Thanks.
>>
>> Matt
>>   
>>     
> Holy...
>
> 'working' should never have anything left behind.  That smacks of a 
> permissions issue problem.  The files are created, read, and used, but 
> can't be deleted.
>
> what are the permissions and ownerships of the files in /working, as 
> well as the main /qmailscan folder?
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Qmail-scanner-general mailing list
> Qmail-scanner-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Qmail-scanner-general mailing list
> Qmail-scanner-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to