Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 08:53:38 -0500
From:      "adp" <dap99@i-55.com>
To:        <questions@freebsd.org>
Subject:   Postfix thinks there isn't enough disk space in a jail
Message-ID:  <063c01c48b74$4030e570$6401a8c0@THEBOX>

next in thread | raw e-mail | index | archive | help
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-xx
 Out: 250-PIPELINING
 Out: 250-SIZE 1024000000
 Out: 250-VRFY
 Out: 250-ETRN
 Out: 250 8BITMIME
 In:  MAIL FROM:<a@b.com> SIZE=13414
 Out: 452 Insufficient system storage
 In:  QUIT
 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?063c01c48b74$4030e570$6401a8c0>