Mailing List Archive

SCO-Unix 3.2V4.2: remote delivery process count got out of step
Hi,

I compiled exim-4.05 on SCO-Unix Release 3.2v4.2. The OS does not
support SA_NOCLDWAIT.

I used Makefile-UNIX_SV and os.h-UNIX_SV and made little changes
in source-code (fchmod -> chmod, fchown -> chown, ftruncate -> chsize).

Local delivery works correctly.

Remote delivery with SMTP works correctly, but in mainlog is the following
error-message: "remote delivery process count got out of step".

2002-06-20 11:21:30 exim 4.05 daemon started: pid=18495, -q1h, listening for
SMTP on port 25 (IPv4)
2002-06-20 11:21:30 Start queue run: pid=18496
2002-06-20 11:21:30 End queue run: pid=18496
2002-06-20 11:22:10 17Ky8k-0004oW-00 <= helmut.kuepker@my-domain.de
H=localhost (my-domain.de) [127.0.0.1] P=esmtp S=381
2002-06-20 11:22:12 17Ky8k-0004oW-00 remote delivery process count got out
of step
2002-06-20 11:22:12 17Ky8k-0004oW-00 Completed
2002-06-20 12:21:30 Start queue run: pid=18574
2002-06-20 12:21:30 End queue run: pid=18574

Can anybody help?
--
Best Regards,
Helmut Küpker, D-30851 Langenhagen
Re: SCO-Unix 3.2V4.2: remote delivery process count got out of step [ In reply to ]
On Tue, 25 Jun 2002, [Windows-1252] Helmut Küpker wrote:

> I compiled exim-4.05 on SCO-Unix Release 3.2v4.2. The OS does not
> support SA_NOCLDWAIT.

But I presume that it must therefore require the parent process to reap
the child?

> I used Makefile-UNIX_SV and os.h-UNIX_SV and made little changes
> in source-code (fchmod -> chmod, fchown -> chown, ftruncate -> chsize).
>
> Local delivery works correctly.
>
> Remote delivery with SMTP works correctly, but in mainlog is the following
> error-message: "remote delivery process count got out of step".

What that means is that Exim tried to wait for a remote delivery
process, but the process had gone away. This is certainly related to
SA_NOCLDWAIT in systems that support it.

The code in deliver.c that is conditional on SA_NOCLDWAIT doesn't in
fact use that option; it is trying to ensure that it is NOT set.
Therefore, you could try using it anyway, in case there's some other
option that needs to be unset.

Otherwise, you'll need to discover how to make your operating system
keep completed child processes around so that the parent can wait() for
them.


--
Philip Hazel University of Cambridge Computing Service,
ph10@cus.cam.ac.uk Cambridge, England. Phone: +44 1223 334714.
Re: SCO-Unix 3.2V4.2: remote delivery process count got out of step [ In reply to ]
Helmut Küpker wrote:
> Hi,
> I compiled exim-4.05 on SCO-Unix Release 3.2v4.2. The OS does not
> support SA_NOCLDWAIT.
> I used Makefile-UNIX_SV and os.h-UNIX_SV and made little changes
> in source-code (fchmod -> chmod, fchown -> chown, ftruncate -> chsize).

I guess it goes without saying that you know that release has not been
supported since what 1995, and was really never y2k fixed. Be that as it
may, you might want to repost this in news://comp.unix.sco.programmer
newgroup. You will find experts there that can help with back fitting.
Wouldn't FreeBSD be a better OS on hardware old enough to run 3.2.v4.2?
Good luck, and post any final result here please...