On 05/31/2010 08:50 PM, Teh Kim Chooi wrote:
Hi guys,

i recently just setup a high volume postfix server, still in testing mode before the server go for live, OS rhel 5.5 and postfix version 2.3.3

server with 1 quad core, 8gb ram OS on mirror disk, /var/spool/postfix in 1+0 6 disks, all is SAS 15k disk.

my postfix configuration file will be all default setting due to still on testing.

for my testing, i  run the smtp-source for the stress test

time smtp-source -s 100 -l 409600 -m 100 -c -f [email protected] <mailto:[email protected]> -t [email protected] <mailto:[email protected]> localhost:25

abc.com <http://abc.com> is the local server, cde.com <http://cde.com> which i configure on another server to receive the message within same lan.

result is 0.5 second which looks  fine,

BUT when i use the server IP instead of localhost, my performance drop

time smtp-source -s 100 -l 409600 -m 100 -c -f [email protected] <mailto:[email protected]> -t [email protected] <mailto:[email protected]> 192.168.1.10:25 <http://192.168.1.10:25>

result is 5 seconds, which almost 10 times more.

the server now only run smtp postfix service, i stop mostly unwanted services from the server, and i never enable any spam filter, cause this server will be mainly sending email from a single source.

what can cause weird behavior ? please advice....

Regards,
Teh

It's hard to say without knowing postfix's attitude towards localhost vs. 192.168.1.10.

Have you restarted postfix between these tests, to clear smtpd connection slots and any caches ?

J.

Reply via email to