[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disk full message?!
> Hi,
>
> i am having a lot of questions regarding zmailer lately.
> I am doing my current tests with zmailer-2.99.50s15.
...
> xdelay=00:00:00, mailer=esmtp, relay=alpha.tat.physik.uni-tuebingen.de.
> [134.2.170.97], stat=Deferred: 452 4.3.1 Try again later, insufficient
> storage available at the moment
...
> The strange thing is that there are definetely enough space/inodes on the
> receiving server.
Do "df -k ." at the POSTOFFICE/ directory in there.
>From the smtpserver/smtpcmds.c sources:
.........
availspace = fd_statfs(FILENO(SS->mfp));
if (availspace < 0)
availspace = 2000000000; /* Over 2G ? */
availspace >>= 1;
.........
} else if (SS->sizeoptval > availspace) {
type(SS, 452, m431, "Try again later, insufficient storage available at the moment");
mail_abort(SS->mfp);
.........
Now I wonder, that is the size in the system ? What the 'availspace'
reports ?
In the smtpserver directory, you can also build a test tool:
make fdstatfs-test
touch /path/to/postoffice/public/test.file
./fdstatfs-test /path/to/postoffice/public/test.file
What does it tell ?
> Yours,
> -- martin
/Matti Aarnio <mea@nic.funet.fi>