We're experiencing some strange issues and have been looking at
qpsmtpd-prefork's output with $debug set. We're getting a whole lot of
lines like this:
orphaned child, pid: 1285 removed from memory at
/usr/bin/qpsmtpd-prefork line 598.
Where line 598 in my particular (slightly modified) version of prefork
is in this section:
# check
if ($check) {
# loop through pid list and delete orphaned processes
foreach my $pid (keys %{$chld_shmem}) {
if (!kill 0, $pid) {
delete $$chld_shmem{$pid};
warn("orphaned child, pid: $pid removed from
memory");
}
}
}
Is this expected behavior? Note that since we have some customizations
to qpsmtpd-prefork and plenty of other forked code, I'm not necessarily
ready to call this a QP bug rather than a bug in my own code. But I'm
not sure what would cause these warnings to be generated, or even
whether it's reasonable to assume they reflect any bug at all. Any ideas?
-Jared
Inbound and outbound email scanned for spam and viruses by the
DoubleCheck Email Manager v5: http://www.doublecheckemail.com