OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
number of content_filter processes

From: Ann Cantelow (cantelowcsd.net)
Date: Fri Mar 21 2008 - 12:39:05 CDT


Dear list,

I am trying to find out why my new postfix system is only using 20 of its
30 available amavis processes on a second machine.

This is a new installation, I am switching, on a busy system, from
sendmail/spamd to postfix/amavis/spamassassin. I have set amavis for 30
processes, and I see that the processes are running, but the amavis-nanny
utility only shows 20 running at a time. I had to disable most of the
spamassassin dns lookups today because we were falling behind, trying to
catch up after bayes corruption caused amavis to hang last night.

I have set 30 for maxprocs for the listener. And, I have set 30 for
maxprocs for the filter definition in master.cf- right? Should I be
asking about this on the amavis list instead? Listings of master.cf
and main.cf below.

Many, many thanks in advance for your wonderful advice.

Ann Cantelow

master.cf sans comments:
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
         -o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp -v
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache

198.80.11.86:10125 inet n - n - 30 smtpd
      -o content_filter=
      -o smtpd_delay_reject=no
      -o smtpd_client_restrictions=permit_mynetworks,reject
      -o smtpd_helo_restrictions=
      -o smtpd_sender_restrictions=
      -o smtpd_recipient_restrictions=permit_mynetworks,reject
      -o smtpd_data_restrictions=reject_unauth_pipelining
      -o smtpd_end_of_data_restrictions=
      -o smtpd_restriction_classes=
      -o mynetworks=198.80.11.34,127.0.0.0/8
      -o smtpd_error_sleep_time=0
      -o smtpd_soft_error_limit=1001
      -o smtpd_hard_error_limit=1000
      -o smtpd_client_connection_count_limit=0
      -o smtpd_client_connection_rate_limit=0
      -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
      -o local_header_rewrite_clients=

smtp-amavis unix - - n - 30 smtp
     -o smtp_data_done_timeout=1200
     -o smtp_send_xforward_command=yes
     -o disable_mime_output_conversion=yes
     -o disable_dns_lookups=yes
     -o smtp_generic_maps=

postconf -n output:
-------------------
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[198.80.11.34]:10124
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
default_database_type = hash
html_directory = no
mail_owner = postfix
mailbox_command = /usr/local/bin/procmail
mailbox_size_limit = 2000000000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 200000000
mydestination = atlas.csd.net, localhost, csd.net, boulder.net, ares.csd.net, atlas.csdco.com
mydomain = csd.net
myhostname = atlas.csd.net
mynetworks = cidr:/etc/postfix/network_table
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/mqueue/postfix
readme_directory = no
receive_override_options = no_address_mappings
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail-postfix
setgid_group = postdrop
smtpd_client_restrictions = permit_mynetworks check_client_access hash:/etc/postfix/accesstable
smtpd_data_restrictions = reject_multi_recipient_bounce
smtpd_error_sleep_time = 1s
smtpd_hard_error_limit = 10
smtpd_recipient_restrictions = reject_non_fqdn_sender permit_mynetworks check_client_access hash:/etc/postfix/popauthtable reject_unauth_destination check_recipient_access hash:/etc/postfix/roleaccount_exceptions permit
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/addresstable warn_if_reject reject_unknown_sender_domain
smtpd_soft_error_limit = 5
soft_bounce = no
unknown_local_recipient_reject_code = 550
virtual_alias_domains = /etc/postfix/virtual_alias_domains
virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps