On Tue, 17 Sep 2002, Peter Nixon wrote: > Hi Guys > > I have a question regarding the rlm_sql module crashing the rest of > FreeRadius. Below I have a selection from my logs. You can see that in the > space of 12 seconds my server shot itself in the head simply because it > didn't have enough DB handles. This has happened repeatedly over the last > few nights (since I switches this server from mysql to postgres). The > answer is obviously simple (increase the number of DB handles..) which I > have been doing each day, but our traffic has been increasing at a rapid > rate. My question is why is the rlm_sql module allowed to kill the server? > shouldn't the server still keep logging to the detail files even if the DB > is too busy? not just die messily? Luckily I have 2 more failover servers > still running mysql to to take the accounting traffic when this one dies. > > I would appreciate some comments from coders on why this happens, and if > there are any plans on fixing this? I am not a c programmer although I am > passable at perl so this is a bit beyond my skills to fix, but as I stated > in several previous posts I am intending on releasing my complete > FreeRadius based accounting system when it is complete, so please don't > think I am just whinging here without any effort on my part.
This bug has been fixed in latest CVS snapshots. -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 10 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html