On 17 Jan 2003, at 17:16, leaobicalho wrote:
Subject: Be very slow with many logins
From: "leaobicalho" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Send reply to: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]?subject=subscribe>
<mailto:[EMAIL PROTECTED]?subject=unsubscribe>
Date sent: Fri, 17 Jan 2003 17:16:00 -0200
> Im a big problem. Im use for
> authenticate radius, the file 'users',
> but i have 1.000.000 users with
> password. This method be very slow,
> when i autheticate first login of file
> is very fast, but when last is very slow.
>
>
> How can I make more fast? If use
> Database is more fast? Is possible in
> Realtime?
>
bhH>>>
For simple Auth reqirements try using the fast_users method...I
found that this method is significently faster then just "users" or
MYSQL for auth of 2,500,000 + user accounts. I also found
that Postgres is faster than MYSQL, and can be trimed to be as
fast, maybe faster than fast_users. Also be sure to have >256M
Ram and if UNIX, tune your kernel's cache, memory and
forking structures.
> my file
> #login password
> bob User-Password=bob1
> bob User-Password=bob2
> ...
> bob User-Password=bob1000000
>
>
> _________________________________________________________________
> _________ E-mail Premium BOL Antiv�rus, anti-spam e at� 100 MB de
> espa�o. Assine j�! http://email.bol.com.br/
>
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
-
-
====================================================
bernie|bhH >>> [EMAIL PROTECTED]
====================================================
I don't ware no stinking hat...
Bald, Hatless and Hacking since 1975
377 and still trying to Deposit 072
*******************************************************
// "There is no expedient to which a man will not go
// to avoid the pure labor of honest thinking."
// Honest thought, the real business capital.
// Observe> Think> Plan> Think> Do> Think>
*******************************************************
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html