freeradius hangs, using 98% CPU

Alan DeKok aland at ox.org
Wed Mar 8 19:23:45 CET 2006


"George C. Kaplan" <gckaplan at ack.berkeley.edu> wrote:
> I'm guessing that the daemon can hang if it gets a signal just as the
> rlm_krb5 module is called.  It's marked RLM_TYPE_THREAD_UNSAFE, so it
> gets a mutex, and attaching gdb to the hung daemon showed:

  That's bad.

> Is anyone aware of any freeradius thread problems (especially related to
> the FreeBSD thread libraries) that might explain this?  Any suggestions
> for avoiding the problem or tracking it down in more detail?

  I'd suggest trying 1.1.0, which has a number of fixes in general,
but I don't know that it would fix this problem.

> Then, at 14:12:06, user3 connects just as the daemon gets the HUP
> signal.

  Hmm... there are issues with HUP handling that got fixed in 1.1.0.
Maybe that will help.

  Alan DeKok.




More information about the Freeradius-Users mailing list