Quarantine problem: Ext3 directory limit to 32000 files
MailScanner at ecs.soton.ac.uk
Fri Aug 13 12:18:56 IST 2010
But before you upgrade your filesystem to EXT4, make sure your distro
actually has EXT4 filesystem support in it :-)
On 10/08/2010 12:25, Paulo Roncon wrote:
> On 09/08/2010 13:04, Paulo Roncon wrote:
>> 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?
> I think I need to clarify things:
> -The 32000 messages ARE PER DAY
> -I DO have a very, very, very busy server
> -I DO have Bayes, AV, etc, etc, etc in place
> -I have to obey to client rules as to what to do with spam - the delete a message the threshold must be very high
> -End users DO NOT have access to the quarantine
> My post was more a warning to all of you who might have a server as busy as mine.
> -A watchdog for this problem could be:
> ls /var/spool/MailScanner/quarantine/[TODAY] | wc -l
> if> 25000 then move all subdirs between 0h00AM - 4h00AM to other DIR and send notification
> -Other solutions, as I already proposed would be to extend the structure to /var/spool/MailScanner/quarantine/[TODAY]/[HOUR]
> But this would have impact in MailWatch (I think... not sure) and every other script buildt around quarantine management
> -The best, I think would be to upgrade to EXT4.
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner