[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheduler problems on AIX4.1
> I'm having problems with the zmailer-2.99.26 scheduler (on AIX 4.1.4).
> The scheduler hangs and keeps it's children pending forever. The
> effect is that messages are not passed to the transport agents, mailq
> hangs etc. Anyone got a clue?
Do you have a syscall tracer for AIX ? (like "strace" on Linux,
"truss" on Solaris, "trace" at SunOS 4.x, etc..)
> Running the scheduler in verbose mode gives this:
> .
> .
> .
....
> sig_chld() pid=13182, ok=1, stat=0x100
> sig_chld() pid=24950, ok=1, stat=0x4b00
>
> And thereafter nothing more, and no way to contact the scheduler without
> restarting it.
I suspect of wait()/waitpid() code, which version
is applicable for AIX so that it is non-blocking ?
Indeed.. Add following into your hostenv/AIX4.1:
WAITPID=
then recompile all.. (This is already in my upcoming ..27
source set.)
> --
> E-Mail: Martin.Wendel@ITS.UU.SE Snail-Mail: ITS
> Tel: 018 18 77 80 Box 887
> Int: +46 18 18 77 80 S-751 08 Uppsala
> Fax: +46 18 18 79 10 Sweden
> http://www.uu.se/Internservice/ue/personal/MartinWendel.html
/Matti Aarnio <mea@nic.funet.fi>