Re: Slow DB / outstanding requests

2011-09-16 Thread Johan Meiring
On 2011/09/15 06:35 PM, Alan Buxey wrote: Just a quick question, how many DB connections do you have in your config? 5 Server was a VM with too little RAM. And therefore a simple SQL query could take seconds instead of milliseconds. (Suspect swap meltdown if such a thing exists) Had to

Re: Accounting Forwarding

2011-09-16 Thread Alan DeKok
dbeutler wrote: When I run in debug mode, I get the following: Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: ../etc/raddb/proxy.conf Config: including file: ../etc/raddb/clients.conf Config: including file:

Re: Slow DB / outstanding requests

2011-09-16 Thread Alan DeKok
Johan Meiring wrote: It was just the first time that I didn't see FR recover after the DB eventually finished with slow queries. I made a minor change for 2.1.12 which will clear out the pending queue a lot more quickly. old: for each new request clear out one dead

Re: Slow DB / outstanding requests

2011-09-16 Thread Fajar A. Nugraha
On Fri, Sep 16, 2011 at 1:22 PM, Alan DeKok al...@deployingradius.com wrote: old:        for each new request                clear out one dead request from queue  If the dead requests originally arrived at a higher rate than the new requests, it can take a long time to clean them out.

Re: Slow DB / outstanding requests

2011-09-16 Thread Marinko Tarlać
Alan please do not forget to add this fix to changelog so it will be easier for a new FR users... Best regards On 9/16/2011 8:45 AM, Fajar A. Nugraha wrote: On Fri, Sep 16, 2011 at 1:22 PM, Alan DeKokal...@deployingradius.com wrote: old: for each new request clear

Re: Slow DB / outstanding requests

2011-09-16 Thread Alan DeKok
Marinko Tarlać wrote: Alan please do not forget to add this fix to changelog so it will be easier for a new FR users... to do...? It doesn't require anyone to do anything. There are no configuration changes. It's just code internal to the server. Alan DeKok. - List

Re: Slow DB / outstanding requests

2011-09-16 Thread Marinko Tarlać
Of course we don't need to do anything but if this small change inside code is announced in changelog, more people will upgrade to 2.1.12 and they will stop bothering us on this list with the same questions, over and over again :) On 9/16/2011 9:59 AM, Alan DeKok wrote: Marinko Tarlać

Re: Slow DB / outstanding requests

2011-09-16 Thread Alan DeKok
Marinko Tarlać wrote: Of course we don't need to do anything but if this small change inside code is announced in changelog, more people will upgrade to 2.1.12 and they will stop bothering us on this list with the same questions, over and over again :) Good point. Alan DeKok. - List

Re: Reverting Accept-Reject to Access-Accept

2011-09-16 Thread Phil Mayers
On 16/09/11 16:59, denizaydin wrote: Hi, I am using Version 2.1.11 for broadband PPP authentication. I want to put the unauthenticated users to a default service. I have to revert the access-reject message to access-accept because once CISCO ISG get a access-reject from the AAA server it's

Re: Reverting Accept-Reject to Access-Accept

2011-09-16 Thread James J J Hooper
On 16/09/2011 17:24, Phil Mayers wrote: On 16/09/11 16:59, denizaydin wrote: Hi, I am using Version 2.1.11 for broadband PPP authentication. I want to put the unauthenticated users to a default service. I have to revert the access-reject message to access-accept because once CISCO ISG get a

2.1.12 potential problem...

2011-09-16 Thread James J J Hooper
Don't do that. Instead, don't reject the in the first place. For example: authorize { ... sql if (notfound) { update control { Auth-Type := Accept } } } Above won't work since: https://github.com/alandekok/freeradius-server/commit/1a00da32c13fb979e11748250da469c7ac4474a8 -James

Re: 2.1.12 potential problem...

2011-09-16 Thread Alan DeKok
James J J Hooper wrote: Above won't work since: https://github.com/alandekok/freeradius-server/commit/1a00da32c13fb979e11748250da469c7ac4474a8 -James https://github.com/alandekok/freeradius-server/commit/1a00da In fact this dictionary change breaks other stuff too, e.g. below: I've

Need a little regex help

2011-09-16 Thread Commonn Systems
Hello list! After reading the list pretty much everyday for a month now, going through the docs, manuals and a lot of googling (which always brought me back to the list anyway), I have finally decided which way to go to filter access to two SSIDs, for 2 groups. I am using FR 2.1.11 on Debian

Re: Need a little regex help

2011-09-16 Thread Commonn Systems
I guess all the regex gurus will laugh at my request I figured it out, for others, looks like this works: .*:SSID_ABC ! On 9/16/2011 6:22 PM, Commonn Systems wrote: Hello list! After reading the list pretty much everyday for a month now, going through the docs, manuals and a lot of