delivery temporarily suspended mails

viraphan

Active Member
May 14, 2008
14
0
41
Hi,

I start to have the following problem:

Apr 1 09:59:05 mail-gate postfix/qmgr[28090]: 51748194139: to=<xxx@aaa.com>, relay=none, delay=29493, delays=29491/1.5/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)

This problem start to appear after upgrade to 2.3. I have 2 proxmox mailgateway installed on two openvz machines (clustered). The slave node have no problem.

The problem disappear after restart services related to postfix (proxprox, proxpolicy, ...)

The problem popup again after one week.

Please advice

Viraphan
 
UPDATE

Looks like that proxprox services is deing frequently. When start the service I get the following output:

# /etc/init.d/proxprox start
Starting Proxmox filter: proxproxperl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
.
#

Viraphan
 
When start the service I get the following output:

# /etc/init.d/proxprox start
Starting Proxmox filter: proxprox
perl: warning: Setting locale failed.

This is because your environment (ssh) sets the locale to

LANG = "en_US.UTF-8"

you can avoid that by setting:

# export LANG="C"

an then start the service.
 
Looks like that proxprox services is deing frequently.

Is there something in the syslog?

# zgrep ERROR /var/log/syslog*

Maybe it is a resource shortage (needs mor RAM)? Please review

# cat /proc/user_beancounters

is there a 'failcnt' there?
 
Thanks for the prompt reply

# grep ERROR /var/log/syslog

Apr 1 09:05:13 mailgate proxpolicy[27817]: ERROR: unable to load database : DBI connect('dbname=Proxmox_ruledb','postgres',...) failed: could not connect to server: No such file or directory ^IIs the server running locally and accepting ^Iconnections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/Proxmox/Utils.pm line 488
Apr 1 09:11:45 mailgate proxprox[28596]: 1A053849D2CD614059F: can't exec clamdscan: Cannot allocate memory : ERROR at /usr/share/perl5/Proxmox/Utils.pm line 1572.

# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
101: kmemsize 164084071 268610850 2147483647 2147483647 0
lockedpages 0 0 2147483647 2147483647 0
privvmpages 218729 366990 1048576 1048576 399
shmpages 3983 4639 2147483647 2147483647 0
dummy 0 0 0 0 0
numproc 193 444 1024 1024 0
physpages 188361 296183 2147483647 2147483647 0
vmguarpages 0 0 1048576 1048576 0
oomguarpages 188361 296183 2147483647 2147483647 0
numtcpsock 173 598 2147483647 2147483647 0
numflock 65 354 2147483647 2147483647 0
numpty 2 2 255 255 0
numsiginfo 0 197 1024 1024 0
tcpsndbuf 1896128 11018336 2147483647 2147483647 0
tcprcvbuf 2902976 11793020 2147483647 2147483647 0
othersockbuf 1660084 3741528 2147483647 2147483647 0
dgramrcvbuf 1212 316332 2147483647 2147483647 0
numothersock 908 2176 2147483647 2147483647 0
dcachesize 879867 1456002 2147483647 2147483647 0
numfile 694737 1194353 2147483647 2147483647 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 8 8 2147483647 2147483647 0

I have increase mem from 1G -> 4G

Viraphan
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!