Postfix thinks there isn't enough disk space in a jail
dap99 at i-55.com
Thu Aug 26 06:55:11 PDT 2004
This problem seems to be affecting Postfix in a FreeBSD jail, and I haven't
seen this problem outside of a jail, so I'm trying questions@ first.
I am running postfix-2.0.18,1 (from ports) in a FreeBSD 4.10 system in a
jail. Everything was fine until recently I moved NFS services over to this
same server. (This may be a red herring.) Now, every few mails I get an
email to Postmaster like this:
Transcript of session follows.
Out: 220 xx ESMTP
In: EHLO yy
Out: 250-SIZE 1024000000
Out: 250 8BITMIME
In: MAIL FROM:<a at b.com> SIZE=13414
Out: 452 Insufficient system storage
Out: 221 Bye
Okay, so the disk is filling up.
box# df -hl
Filesystem Size Used Avail Capacity Mounted on
/dev/ar0s1a 1008M 45M 882M 5% /
/dev/ar0s1d 27G 23G 1.9G 92% /jails
/dev/ar0s1h 1008M 20M 908M 2% /home
/dev/ar0s1g 1008M 10.0K 927M 0% /tmp
/dev/ar0s1f 3.9G 1.2G 2.4G 34% /usr
/dev/ar0s1e 2.0G 148M 1.7G 8% /var
procfs 4.0K 4.0K 0B 100% /proc
procfs 4.0K 4.0K 0B 100% /jails/xxx/proc
Okay, we are at 92%. We should clean some things up, but we do still have
1.9GB of free space. (And we often linger around this anyway.)
Postfix is set to accept mail as long as there is 25MB of free space:
main.cf:queue_minfree = 25000000
Anyone seen this happen? Postfix should not be returning '452 Insufficient
system storage' to clients at this point.
It doesn't happen for all mails. Just around 5% of so. It seems fairly
random to me.
More information about the freebsd-questions