When I increase the "num_sql_socks" any number bigger than 25 the radius
server starts, makes the sql sockets to db (all of them), says Ready to
Answer Requests, and just sits there. It will not reply to ANY request
sent to it and in debug mode it acts like it didn't get the request at
all. "Ready to Answer Requests".

But what I was saying about the sockets being used and it gives a reject
... can't the server WAIT or RETRY till another socket becomes available
instead of sending "noop" (I'm guessing RLM_MODULE_NOOP) instead do
(RLM_MODULE_FAIL) ... I don't know haven't dug real deep in the code yet.



On Tue, 20 Nov 2001, Chris Parker wrote:

> At 08:11 AM 11/20/2001 -0800, Rodney wrote:
> 
> >Okay, I've been work on getting Freeradius-0.3 to always return
> >constantly the right Reject or Ok.
> >
> >My setup is simple.
> >Linux (Slack-8.0) Kernel-2.4.14
> >PostgreSQL-7.1.3
> >ix86-PIII-1000 256MB RAM (IBM) for Radius
> >ix86-PIII-1000 1GB RAM (IBM) for PostgreSQL
> >
> >Only using SQL w/PostgreSQL just to auth and then runs an
> >'Exec-Program-Wait' that returns a 'Reply-Message'
> >
> >I have a perl script that runs .. basically the same as in my application
> >.. that will send my (load) radius server many requests (about 5000 in 15
> >minutes). Sometimes I get all request Ok and sometimes some fail
> >(Reject) ... My perl script handle the errored and bad responses from the
> >radius server. This is what is happening. I'm hoping this is a bug ... if
> >the sql server sockets are full it will give a reject instead on an error.
> 
> No, it does give an error, in the logs.  It can't give an error to the
> user autheticating, as it has two choices.  Accept or Reject.  If it cannot
> Accept, then it *MUST* send a Reject.  There is no other option.
> 
> >And I have tried to increase the sockets to 30 but the radius server does
> >not do anything .... does not answer ANY request ???
> 
> That sounds like a bug.  What do you mean by 'does not answer ANY request'?
> What does the server do when you run it in debug mode with number of
> sockets increased to 30?
> 
> -Chris
> --
>     \\\|||///  \  Chris Parker    -    Manager, Development Engineering
>     \ ~   ~ /   \       WX *is* Wireless!    \   [EMAIL PROTECTED]
>     | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
> oOo---(_)---oOo--\------------------------------------------------------
>                    \ Without C we would have 'obol', 'basi', and 'pasal'
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 

========================================================================

        RAM Technical
        Rodney Mosley
        Systems Administration
        E-Mail:[EMAIL PROTECTED]
        http://www.ramnic.com

========================================================================
        Check out http://www.setfree.org It can change your life.
========================================================================


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to