Re: (RADIATOR) Slow accounting

1999-05-11 Thread Richi Plana

On Wed, 12 May 1999, Mike McCauley wrote:

|o| 1. is it possible that you are not receiving the accounting request from the
|o| NAS when you think you are?
|o| 
|o| ie is it taking 45 seconds because Radiator is not getting the request from the
|o| NAS straight away?

I've tried it with an actual NAS and radpwtst on the LAN. Same thing. It
takes 45 secs before its even processed.

|o| 2. Is it possible that the external accounting process is starting
|o| straight away, but its taking a long time to do the insert
|o| (perhaps because of the way your accounting table indexes are set
|o| up ?)

Like I said, it takes approx. 45 seconds before the external program is
even executed but takes about 0.4 to 0.5 seconds to process.

I did let Radiator run for about a minute and found the ff. statistics:

Total Access-Requests = 24
Total Accounting-Requests = 229
Duplicate Accounting entries and dropped = 97

Hope this helps.


L   L Richi Plana 8^) ,-,-. ,-,-. ,-,-. ,-,-. ,-
LL LL Systems Administrator  / / \ \   / / \ \   / / \ \   / / \ \   / /
L Mosaic Communications, Inc. \ \ / /   \ \ / /   \ \ / /   \ \ / / 
L mailto:[EMAIL PROTECTED] `-'-' `-'-' `-'-' `-'-' 


===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



Re: (RADIATOR) Slow accounting

1999-05-11 Thread Mike McCauley

Hi Richi,

On May 12, 12:45pm, Richi Plana wrote:
> Subject: (RADIATOR) Slow accounting
> Hi,
>
> We're using  (no Fork) for authentication and accounting
> and we use one MySQL database for both processes. We're finding that
> authentication is done in a reasonable amount of time (less than a
> second), but accounting is TERRIBLY slow.
>
> When an authentication request is made, its processing is started
> immediately and finishes just as fast. But when accounting is done, it
> takes typically 45+ seconds before it starts to get processed, but takes
> less than a second to process.

1. is it possible that you are not receiving the accounting request from the
NAS when you think you are?

ie is it taking 45 seconds because Radiator is not getting the request from the
NAS straight away?

(You can check this by looking at the Radiator log at trace level 4. Its also
worth doing some testing with radpwtst, which sends the accounting request
straight away)

2. Is it possible that the external accounting process is starting straight
away, but its taking a long time to do the insert (perhaps because of the way
your accounting table indexes are set up ?)

Cant say much more that that without seeing your radiator log file at trace
level 4.

Cheers.

-- 
Mike McCauley   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985   Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.