> > "Nate M" <[EMAIL PROTECTED]> wrote:
> > > Problem exists, when posting multiple requests to radiusd it
> > occasionally
> > > will not receive or somehow omit the exit status of Exec-Program-Wait.
> >
> > I haven't been able to reproduce it here, so I'm not sure how to fix
> > it.
> >
> > The only thing I can think of is that some platforms don't have
> > pthread_sigmask. See src/main/threads.c for how it's used.
> >
> > Alan DeKok.
>
> Thanks for the reply Alan, I did confirm my test systems have
> pthread_sigmask:
>
> checking for pthread.h... yes
> checking for pthread_create in -lpthread... yes
> checking for pthread_sigmask... yes
>
> While troubleshooting I also confirmed the same issue with rlm_exec doing
> a
> similar task to what I'm accomplishing in exec-program-wait.
>
> I've reproduced this on various systems (although, all are newer RH or
> Fedora installs) and all perform the same. I however was not able to
> duplicate it on an older Redhat 7.2 machine.
>
> Is there additional data I can provide to further diag this issue? I'm
> not
> opposed to opening up access to this test box if that would be helpful.
>
I've done some troubleshooting of my own, and unsure if this is helpful or
not, but the process appears to be hanging indefinitely until cleaned up
within this section of threads.c (beginning line 1141). The line in
particular it hangs on is the "rcode = ..." line. I am not enuff of a C
guru to know where to go from here though.
re_wait:
rcode = sem_wait(&forkers[found].child_done);
if ((rcode != 0) && (errno == EINTR)) {
goto re_wait;
}
}
Your time and help in troubleshooting this has been greatly appreciated! =)
- Nate
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html