LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix Mail queue high (http://www.linuxquestions.org/questions/linux-software-2/postfix-mail-queue-high-620751/)

inaki 02-13-2008 03:24 AM

Postfix Mail queue high
 
Dear all,
I having problem with postfix. Postfix is used as a relay installed together with amavis, spamassassin and clamd. My problem is mail queue is high, and memory utilization is also high. So please help me on this matters. Below is a config from main.cf file.

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
# delay_warning_time = 4h
# myorign = xxx.com.id
mydomain = xxx.com.id
myhostname = mail-relay.xxx.com.id
mydestination = $myhostname, localhost.$mydomain, localhost

smtpd_banner = $myhostname ESMTP Mail Server

relay_domains = $mydestination, /etc/postfix/relay-domains
relayhost = [128.247.95.16]
relay_recipient_maps = hash:/etc/postfix/relay_recipients

smtpd_helo_restrictions = reject_non_fqdn_hostname
smtpd_helo_required = yes
disable_vrfy_command = yes

# qmgr_clog_warn_time = 0

#Amavisfeed
content_filter=amavisfeed:[127.0.0.1]:10024

#DSPAM Checking
check_client_access = pcre:/etc/postfix/dspam_filter_access
dspam_destination_recipient_limit = 1

# Tuning Postfix

default_process_limit = 100


# Reject domain
smtpd_delay_reject = yes
smtpd_sender_restrictions = hash:/etc/postfix/sender_access, reject_unknown_sender_domain

Tinkster 02-13-2008 03:46 AM

And the output of top, sorted by memory use, for example, looks like ... ?



Cheers,
Tink

inaki 02-13-2008 04:22 AM

top - 17:24:57 up 8 days, 2:50, 2 users, load average: 0.37, 0.27, 0.23
Tasks: 196 total, 1 running, 195 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.0%us, 0.2%sy, 0.0%ni, 95.3%id, 3.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1036024k total, 959632k used, 76392k free, 237264k buffers
Swap: 2650684k total, 48k used, 2650636k free, 416412k cached

Below is a memroy utilization

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5392 amavis 16 0 62872 54m 2908 R 10 5.4 0:09.51 amavisd-new
5394 amavis 15 0 58868 50m 2940 S 5 5.0 0:11.67 amavisd-new
3097 amavis 15 0 83456 59m 1204 S 0 5.9 44:52.55 clamd
5225 postfix 15 0 4884 1704 1380 S 0 0.2 0:00.04 cleanup
5492 root 15 0 2360 1212 860 R 0 0.1 0:00.03 top

inaki 02-13-2008 04:23 AM

And this is a number of nail queue


-- 91746 Kbytes in 1047 Requests.


All times are GMT -5. The time now is 12:59 AM.