[ic] occasional failed order emails

Kyle Cook interchange-users@interchange.redhat.com
Mon Mar 18 02:15:01 2002


At 09:52 PM 3/11/02, you wrote:
> > From: interchange-users-admin@interchange.redhat.com
>[mailto:interchange-
> > users-admin@interchange.redhat.com] On Behalf Of Kyle Cook
> >
> > Hi all,
> >
> > Pentium III 1-Ghz
> > 630Mb Ram
> > FreeBSD 4.2
> > Perl 5.6.1
> > Sendmail 8.11.1
> > IC 4.8.3
> >
> > Running either "high" or "low" server modes
> > occasionally (1 in a hundred or so) order
> > emails not sent with error:
> >
> > (catalog error.log)
> > <SNIP> Unable to send mail using /usr/sbin/sendmail
> >
> > I added logging in Util.pm and found that the exit
> > status from the line:
> > close MVMAIL or last SEND;
> > would produce 31 for $? ($CHILD_ERROR)
> >
> > I don't see 31 listed in sendmails exitstatus.h
> > file.
>
>We did not actually log the return code when we experienced this
>problem, so I'm not sure if you are experiencing the same problem.
>
> >
> > So is this the "well known problem with Perl
> > signal handling" that was mentioned recently
> > in this list.
>
>It's worth a shot to run RPC mode with MaxServers 0 to see if the
>problem no longer happens.  We had troubles with PGP, Sendmail and
>Verisign all at the same time and from what Orko has said those problems
>went away on his system with the changes Mike came up with, it's worth a
>try.
>
> >
> > Thanks,
> > Kyle
>
>Good luck!
>-Ron

Ron,

FYI I have switched to RPC mode and so far so good.

Before the switch I also had a code 31 child return status
when the Lockout command was tripped (by a bad bot)
it actually errored out about a dozen times in a row !

The lockout command I was using was based on the example
on the IC site:

perl -0777 -npi -e 's/deny from/deny from %s\ndeny from/' /PATH/.htaccess

This not only produced many exit status 31 errors, but ended up
leaving .htaccess as a zero byte file (not good!)

Anyway, in RPC all seems fine, only one thing "wrong", upon
attempting a restart of IC after shutting it down, it complains
about being unable to start in INET mode, not a big deal as
I don't use that mode, just thought I'd mention it.

Thanks,
Kyle