Assertionfailed trouble again
Hi! I had a problem with radius choking on a failed assertion (probably sth to do with high load on the server, that is, the physical computer, not the radius server). As recommended (https://lists.freeradius.org/pipermail/freeradius-users/2007-August/065179.h...), I upgraded to version 1.1.7, and the problem went away. Now, yesterday I added a second realm into proxy.conf (I used to have only the NULL realm). Last night: --/var/log/radius/radius.log-- Wed Aug 29 04:01:39 2007 : Error: Assertion failed in request_list.c, line 355 --end sample-- And the server snuffed. Any ideas? --Janne Peltonen -- Janne Peltonen <janne.peltonen@helsinki.fi>
Janne Peltonen wrote:
I had a problem with radius choking on a failed assertion (probably sth to do with high load on the server, that is, the physical computer, not the radius server). As recommended (https://lists.freeradius.org/pipermail/freeradius-users/2007-August/065179.h...), I upgraded to version 1.1.7, and the problem went away. Now, yesterday I added a second realm into proxy.conf (I used to have only the NULL realm). Last night:
Did you HUP the server, or re-start it?
--/var/log/radius/radius.log-- Wed Aug 29 04:01:39 2007 : Error: Assertion failed in request_list.c, line 355 --end sample--
And the server snuffed. Any ideas?
Don't HUP the server. The exact error indicates a failure in the internal sanity of the data structures. You COULD change the assert to "if (!node) return;", but that would just mask the problem. The server would likely assert somewhere else. 2.0.0-pre2 has all of this code completely re-written. It's simpler, easier to understand, and should be much more stable. Alan DeKok.
On Wed, Aug 29, 2007 at 06:30:33PM +0200, Alan DeKok wrote:
Janne Peltonen wrote:
I had a problem with radius choking on a failed assertion (probably sth to do with high load on the server, that is, the physical computer, not the radius server). As recommended (https://lists.freeradius.org/pipermail/freeradius-users/2007-August/065179.h...), I upgraded to version 1.1.7, and the problem went away. Now, yesterday I added a second realm into proxy.conf (I used to have only the NULL realm). Last night:
Did you HUP the server, or re-start it?
--/var/log/radius/radius.log-- Wed Aug 29 04:01:39 2007 : Error: Assertion failed in request_list.c, line 355 --end sample--
And the server snuffed. Any ideas?
Don't HUP the server.
The exact error indicates a failure in the internal sanity of the data structures. You COULD change the assert to "if (!node) return;", but that would just mask the problem. The server would likely assert somewhere else.
2.0.0-pre2 has all of this code completely re-written. It's simpler, easier to understand, and should be much more stable.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I restarted the server, didn't HUP. And the assertion failure appeared in the dead of the night (admittedly, there was a small load peak on the server that runs radius). For now, I have a cron job that starts a dead server up again. I'll look at 2.0.0 when it's no longer at -pre ;) Thanks. --Janne -- Janne Peltonen <janne.peltonen@helsinki.fi>
Janne Peltonen wrote:
I restarted the server, didn't HUP. And the assertion failure appeared in the dead of the night (admittedly, there was a small load peak on the server that runs radius).
Hmm... OK.
For now, I have a cron job that starts a dead server up again. I'll look at 2.0.0 when it's no longer at -pre ;)
<sigh> The whole point of issuing pre-releases is so that problems are found before the official release. Alan DeKok.
On Thu, Aug 30, 2007 at 06:07:39AM +0200, Alan DeKok wrote:
For now, I have a cron job that starts a dead server up again. I'll look at 2.0.0 when it's no longer at -pre ;) <sigh> The whole point of issuing pre-releases is so that problems are found before the official release.
That's true, but there are environments where you don't want to install pre-releases with not-as-yet-found problems. ;) I just meant that now I know the problem I can hit in 1.1.7, and have a way - a kludge, yes, but it works - around it, I don't want to install a major rewrite in my production system. I'll install the pre-2 on my test system. Will report any bugs I hit. :) --Janne -- Janne Peltonen <janne.peltonen@helsinki.fi>
participants (2)
-
Alan DeKok -
Janne Peltonen