Re: [exim] High Perf server - was (exim allowed someone to s…

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Michael Haardt
CC: exim-users
Assumpte: Re: [exim] High Perf server - was (exim allowed someone to slam my mailserver for 3 hours)
On Wed, 29 Jun 2005, Michael Haardt wrote:
>
> A better queue implementation would help a great deal. Possibly by
> using a special purpose filesystem, or by Exim working on a raw device
> or preallocated files.


That would significantly complicate the code with little advangate, and it
would make programs like exipick and MailScanner impossible. Exim queues
use some quite sophisticated filesystem interfaces, including locking,
syncing, free space management, etc. There are several things that can be
done to reduce Exim's disk bandwidth: set no_message_logs, mount your
filesystem noatime, etc. If you want to change the code you should look at
changing the way the queue runners work so that they touch fewer files, or
changing the queue format to one file per message (instead of three or
four).

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}