Quarantine problem: Ext3 directory limit to 32000 files

Alex Neuman alex at rtpty.com
Mon Aug 9 14:52:07 IST 2010

You could run "find" with options to delete the oldest files, or you could run "ls" to list the files by date and only keep the newest 30000 or so. 

Alex Neuman
BBM 20EA17C5
+507 6781-9505
Skype:alex at rtpty.com

-----Original Message-----
From: Martyn Routley <martyn at invictawiz.com>
Sender: mailscanner-bounces at lists.mailscanner.info
Date: Mon, 09 Aug 2010 14:32:45 
To: MailScanner discussion<mailscanner at lists.mailscanner.info>
Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Subject: Re: Quarantine problem: Ext3 directory limit to 32000 files

On 09/08/2010 13:04, Paulo Roncon wrote:
> Hello, 
> Yesterday I got a problem with my mailscanner server. The messages stopped being processed and the mailscanner would crash attempting to process the messages.
> Some troubleshooting later and: The problem was with the file per directory limit = 32000 of the ext3.
> I'm going to upgrade to ext4.
> Any ideias? Change the quarantine function to create directories per hour also?
>  Paulo

How about be really radical and delete some of the old quarantine messages?

They are almost certainly not wanted by end users otherwise you would be
spending your entire day releasing messages from quarantine?


Martyn Routley

Invictawiz - The Internet in Plain English, Guaranteed
web: http://www.invictawiz.com
voip: 6000 at sip.invictawiz.com
phone: 0845 003 9020
Reg Addr: 9 Eastmead Ave, Ashford, Kent, TN23 7SB
Co. No: 04253262
MailScanner mailing list
mailscanner at lists.mailscanner.info

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list