I've set max_servers to 10 , and amavisd-nanny shows 10 processes, but 8 always almost seem to be idle
Code:
PID 08961: 0:06:07 .........:.........:.........:.....
PID 08964: 08964-01-18 0:00:01 =
PID 08965: 08965-02-21 0:00:01 =
PID 08967: 0:06:02 .........:.........:.........:.....
PID 08970: 0:06:43 .........:.........:.........:.....
PID 09332: 0:06:07 .........:.........:.........:.....
PID 09333: 0:06:01 .........:.........:.........:.....
PID 09334: 0:06:07 .........:.........:.........:.....
PID 18191: 0:00:58 .........:.........:.........:.....
PID 18435: 0:00:53 .........:.........:.........:.....
I have postfix set to the same
Code:
smtp-amavis unix - - n - 10 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
I also only ever get 2 showing up in top. It can keep up with my current load, but if it gets back logged, it takes forver to clear the postfix active queue.
Code:
Tasks: 156 total, 2 running, 154 sleeping, 0 stopped, 0 zombie
Cpu(s): 14.2%us, 1.1%sy, 0.0%ni, 83.6%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2074112k total, 1582236k used, 491876k free, 290776k buffers
Swap: 1004052k total, 0k used, 1004052k free, 741576k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9334 amavis 22 0 72020 63m 2824 R 43 3.1 0:06.49 amavisd
8967 amavis 15 0 71368 62m 2892 S 11 3.1 0:02.42 amavisd
4087 root 15 0 2324 1088 428 S 1 0.1 1:54.83 syslog-ng
4668 amavis 15 0 112m 93m 1060 S 0 4.6 1:00.01 clamd
1024 root 10 -5 0 0 0 S 0 0.0 0:02.73 kjournald
9072 postfix 15 0 4860 1704 1248 S 0 0.1 0:00.54 qmgr
9077 postfix 15 0 5020 1900 1460 S 0 0.1 0:00.10 smtpd
9643 root 18 0 1784 836 656 S 0 0.0 0:03.06 watch
9815 postfix 16 0 5312 2136 1332 S 0 0.1 0:00.10 cleanup
19080 postfix 15 0 4812 1752 1396 S 0 0.1 0:00.08 smtp
25761 postfix 15 0 4872 1804 1424 S 0 0.1 0:00.20 smtpd
30806 root 15 0 2160 1152 844 R 0 0.1 0:00.01 top
1 root 15 0 1532 528 460 S 0 0.0 0:01.32 init
ps -ef |grep amavis
Code:
amavis 4668 1 0 14:27 ? 00:01:00 /usr/sbin/clamd
amavis 8941 1 0 16:04 ? 00:00:02 amavisd (master)
amavis 8961 8941 0 16:04 ? 00:00:00 amavisd (ch2-avail)
amavis 8967 8941 0 16:04 ? 00:00:06 amavisd (ch2-08967-02-23)
amavis 8970 8941 0 16:04 ? 00:00:00 amavisd (virgin child)
amavis 9332 8941 0 16:05 ? 00:00:00 amavisd (virgin child)
amavis 9333 8941 0 16:05 ? 00:00:00 amavisd (ch1-avail)
amavis 9334 8941 1 16:05 ? 00:00:12 amavisd (ch1-09334-01-18)
root 13086 12907 0 16:07 pts/5 00:00:00 tail -f /var/log/amavis
amavis 18191 8941 0 16:10 ? 00:00:00 amavisd (virgin child)
amavis 18435 8941 0 16:10 ? 00:00:00 amavisd (virgin child)
postfix 24720 9068 0 16:13 ? 00:00:00 smtp -n smtp-amavis -t unix -u -o smtp_data_done_timeout 1200 -o disable_dns_lookups yes -o smtpd_client_connection_count_limit 0 -o smtpd_client_connection_rate_limit 0
postfix 24815 9068 0 16:13 ? 00:00:00 smtp -n smtp-amavis -t unix -u -o smtp_data_done_timeout 1200 -o disable_dns_lookups yes -o smtpd_client_connection_count_limit 0 -o smtpd_client_connection_rate_limit 0
postfix 28086 9068 0 16:14 ? 00:00:00 smtp -n smtp-amavis -t unix -u -o smtp_data_done_timeout 1200 -o disable_dns_lookups yes -o smtpd_client_connection_count_limit 0 -o smtpd_client_connection_rate_limit 0
amavis 30177 8941 0 16:15 ? 00:00:00 amavisd (virgin child)
amavis 30414 8941 0 16:15 ? 00:00:00 amavisd (virgin child)
root 32406 19811 0 16:16 pts/3 00:00:00 grep --colour=auto amavis
Appreciate any ideas