On 28/9/2012 5:30 μμ, Wietse Venema wrote:
I suggest that you reduce the Postfix
default_process_limit until you can get a more powerful machine.
The default limit is 100. Try 25 to start with.
Thank you Wietse,
I did the change.
Any other limits that might be useful?
Like "smtpd_client_connection_count_limit = 2" ?
The server is a VM (on our ISP's KVM infrastructure), but not too much
loaded, except on peaks.
It is handling only internal mail (serving as SMTP server to our users
and as final destination behind an edge mail server that filters spam).
The server has 3GB RAM (CentOS 5) and it serves postfix,
apache/squirrelmail, dovecot, openldap slave ("consumer").
Would it make sense to increase memory anyway?
Some daily mail server stats (in a busy day) follow.
Regards,
Nick
Grand Totals
------------
messages
3638 received
8037 delivered
0 forwarded
24 deferred (539 deferrals)
36 bounced
154 rejected (1%)
0 reject warnings
0 held
0 discarded (0%)
632m bytes received
1146m bytes delivered
1365 senders
629 sending hosts/domains
3489 recipients
724 recipient hosts/domains
smtpd
3446 connections
58 hosts/domains
7 avg. connect time (seconds)
7:03:04 total connect time
Per-Day Traffic Summary
-----------------------
date received delivered deferred bounced rejected
--------------------------------------------------------------------
Sep 25 2012 3638 8037 539 36 154
Per-Day SMTPD Connection Summary
--------------------------------
date connections time conn. avg./conn. max. time
--------------------------------------------------------------------
Sep 25 2012 3446 7:03:04 7s 301s
Per-Hour SMTPD Connection Daily Average
---------------------------------------
hour connections time conn.
-------------------------------------
0000-0100 79 0:09:49
0100-0200 38 0:04:40
0200-0300 26 0:02:07
0300-0400 22 0:01:47
0400-0500 23 0:01:59
0500-0600 33 0:02:51
0600-0700 37 0:03:16
0700-0800 51 0:04:33
0800-0900 67 0:07:32
0900-1000 75 0:09:35
1000-1100 74 0:09:30
1100-1200 114 0:13:05
1200-1300 125 0:13:41
1300-1400 173 0:26:32
1400-1500 110 0:12:36
1500-1600 87 0:08:47
1600-1700 94 0:09:05
1700-1800 105 0:13:23
1800-1900 91 0:12:38
1900-2000 75 0:10:48
2000-2100 62 0:09:02
2100-2200 48 0:05:52
2200-2300 60 0:12:04
2300-2400 60 0:06:26
Host/Domain Summary: SMTPD Connections
---------------------------------------
connections time conn. avg./conn. max. time host/domain
----------- ---------- ---------- --------- -----------
2702 4:36:10 6s 62s *******
210 0:28:39 8s 300s *******
109 0:06:47 4s 159s *******
73 0:03:33 3s 34s *******
48 0:00:02 0s 2s *******
25 0:27:28 66s 133s *******
22 0:17:56 49s 301s *******
22 0:00:58 3s 14s *******
17 0:00:59 3s 11s *******
16 0:00:23 1s 8s *******
15 0:13:26 54s 93s *******
12 0:05:49 29s 300s *******
12 0:00:16 1s 5s *******
11 0:14:17 78s 301s *******
10 0:01:03 6s 34s *******
10 0:00:41 4s 7s *******
...