Re: SEVERE! radiusd 2.0 and 1.1.4 dying! Segmentation fault

This is a discussion on Re: SEVERE! radiusd 2.0 and 1.1.4 dying! Segmentation fault within the FreeRADIUS Users forums, part of the Networking and Network Related category; Guilherme Franco wrote: > Hi, > > Freeradius 2.0 alpha was working correctly since November 1st. > > Then, ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2007
Phil Mayers
 
Posts: n/a
Default Re: SEVERE! radiusd 2.0 and 1.1.4 dying! Segmentation fault

Guilherme Franco wrote:
> Hi,
>
> Freeradius 2.0 alpha was working correctly since November 1st.
>
> Then, this month, suddenly the server started to die, complaining of
> "Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried
> to connect 0".


This normally means your database is slow. Clean out old accounting
records (maybe move them to another table) and execute a "vacuum analyze".

>
> The server runs threaded with max_servers = 32 and num_sql_socks = 32
> (there are 5 reqs per seconds, no more than that).
>
> Ok so I've tried to run it single threaded (-X), but then, it's slow
> and it missess some access requests, due to processing the accounting.


....indicating a high load, supporting the hypothesis.

>
> I've uninstalled it and installed 1.1.4, but the same occurs!
>
> Restarting radiusd when it fails gives another 15 minutes before it dies
> again.
>
> Also, disabling accounting helps prolong the server lifetime.


Probably because it reduces the load, again supporting the hypothesis.

However - you also say it is segfaulting? Which I would not expect.

I don't really understand the format of the crash dump - can you supply
one from "gdb" as documented in doc/bugs?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0