On 08/30/2010 03:29 AM, Michelle Konzack wrote:
Package: courier
Severity: wishlist

Hello Maintainer,

please forward this to the courier-upstream

In the config file /etc/courier/courierd I use

ARCHIVEDIR=/var/lib/courier/archive

where /var/lib/courier is a seperated 300 GByte SAS Disk in 3Com Raid-1.

Unfortnately I get per day more then 2 million messages on this  server,
which mean, courier save more then 2 million files per directory...

Even "xargs" can not more handel this!

So I like to see the Option ARCHIVEDIR interpreted as date syntax like

ARCHIVEDIR=/var/lib/courier/archive/%Y-%M-%D_%H

for example, which will solve many problems, because runing a seperated
script to move the files fo archivedirs  in  this  format  is  wast  of
resources because I have to run this script all 5 minutes and  it  eats
up to 50% CPU resources (Quad Xeon with 4 GByte of memory) while moving
even on the same partition which is twice annoying.

WHY can "mv" not do the same as courier does?

Modifying the FS table to point to another directory  instead  of  hard-
moving files and consuming disk IO.  This is WHY ARCHIVEDIR has to be on
the same partition/volume as the courier spool directories.

I suppose you can change /var/lib/courier/archive into a symlink which
target is modified every hour by a cronjob.

This usecase is to specific that we need code inside courier for that
(IMHO).

Regards
        Racke

--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to