Re: Segfaulting with rlm_perl
On Friday, September 2, 2011, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
I meant that if you use eg monit then you can have a service recovery rather than a corner case killing off your radius daemon in middle of night
Oh, definitely. We'd do that as a failsafe anyway. My main question is whether this is failing by design? If so, is there a best practice to avoid the crash (or something like monit to recover from a crash)? And, if not, is it a resolvable bug? Thanks, Norman
Norman Elton wrote:
Oh, definitely. We'd do that as a failsafe anyway. My main question is whether this is failing by design?
The intention is to *not* crash. But... FreeRADIUS is dependent on the libraries it uses. If they misbehave, then there's little we can do.
If so, is there a best practice to avoid the crash (or something like monit to recover from a crash)? And, if not, is it a resolvable bug?
Write Perl scripts that work, or track down exactly *why* it's crashing. The server runs as one process with multiple threads. So a crash takes down the entire server. Alan DeKok.
participants (2)
-
Alan DeKok -
Norman Elton