On Wed, Mar 08, 2000 at 05:06:20PM +0100, Harald Hanche-Olsen wrote:
 
> I got this bounce mesage today:
> 
> <[EMAIL PROTECTED]>:
> crt0: ERROR: mmap failed for dld (data) errno:000000012
> Unable to forward message: qq permanent problem (#5.3.0).

this can only happen "if ((exitcode >= 11) && (exitcode <= 40))",
which qmail-queue doesn't return in case of "out of memory".


> Apparently a temporary problem (too little memory at an awkward
> moment?) tagged as permanent -- this is not too good.  The machine
> responds to uname -a as follows:

HP had a long standing tradition of doing crazy things in crt0.o
(friendlier persons would possibly say "didn't get it right in
versions 10.low").
Maybe they do not only need quite a lot of memory, but exit(rand()) 
in case of problems (or are just careless enough to not set an
definite exit code, and reuse the errno as exit code).

 
> HP-UX iq B.10.10 A 9000/712 unknown
> 
> Does anybody on the list know enough about HP-UX to suggest a way we
> can trap this kind of error and get it properly changed to a temporary
> one?

a) update to 10.20 which may fix this problem
b) get more memory
c) see qmail.c, change
         if ((exitcode >= 11) && (exitcode <= 40))
   to
         if ((exitcode!=12) && (exitcode >= 11) && (exitcode <= 40))
qmail-queue doesn't normally exit 12.

Regards, Uwe

Reply via email to