FreeRadius 2.1.8 problem
Alan DeKok
aland at deployingradius.com
Fri Apr 16 19:39:19 CEST 2010
Stylianos Stylianou wrote:
> The second one which calls an external perl script hungs after a few hours.
> When I issue the status command the result is
>> # /etc/init.d/radiusd status
>> radiusd dead but pid file exists
Whoops.
> Note that this behavior can be reproduced by calling an external script
> like the following
It's always good to have a test case.
> We use exactly the same perl script for the last few years without any
> problem on another machine which runs freeradius version 1.0.1.
Hm... the problem code seems to be the same in all versions of the
server. However, in older versions, the server core would notice, and
kill the thread. This worked around the problem without fixing it.
In any case... a fix will be in 2.1.9. Until it's released, you could
try grabbing the v2.1.x branch from git.freeradius.org.
The problem is that it was blocked trying to read STDOUT of the child.
The solution is to not block, and give up reading if it takes too long.
Alan DeKok.
More information about the Freeradius-Users
mailing list