Maximum limit for clients.
Hi, I have been using Radius server downloaded from freeradius.net website from quite a long time. For creating user id and password required for my clients to authenticate with my radius server, I usually configure user id and password using following command in user.conf file present in radius server. <user id> Cleartext-Password := "<password>" My queries are listed below. 1. I wanted to know whether, there is any limit for such configurations? How many user id's and password can be added to the file? 2. If we want to increase the limit, then what are the available options? 3. What is the normal CPU and memory usage of device where Radius server is installed and running? And what is the usage when maximum clients try to authenticate with the Radius. Thanks in advance. Regards, Sharad Panicker. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Maximum-limit-for-clients-tp5675649.... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On 30/04/12 12:08, Sharad P wrote:
Hi,
I have been using Radius server downloaded from freeradius.net website from quite a long time. For creating user id and password required for my clients to authenticate with my radius server, I usually configure user id and password using following command in user.conf file present in radius server.
<user id> Cleartext-Password := "<password>"
My queries are listed below.
1. I wanted to know whether, there is any limit for such configurations? How many user id's and password can be added to the file?
Lots and lots. The users file is parsed into a tree structure internally; it will be searched very quickly. This has been discussed on the list; search the archives. If I recall, it's many tens of thousands.
2. If we want to increase the limit, then what are the available options?
You shouldn't need to.
3. What is the normal CPU and memory usage of device where Radius server is installed and running? And what is the usage when maximum clients try to authenticate with the Radius.
There's no way to answer that question. It is too vague.
Thanks a lot for the reply. So there is no considerable memory usage when tens of thousands of user tries to authenticate with my Radius server? Also, I do not use any SQL server for any databases. I simply create an user name and password in the user.conf file. The clients willing to authenticate will have to use the specified username and password. Want to know whether this is a correct approach. Thanks in advance. Regards, Sharad Panicker. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Maximum-limit-for-clients-tp5675649p... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Sharad P wrote:
So there is no considerable memory usage when tens of thousands of user tries to authenticate with my Radius server?
Uh... data uses memory. The more data you have, the more memory you use. This is 2012. If you care about memory usage, you're either (a) caring about the wrong thing, or (b) in a constrained system.
Also, I do not use any SQL server for any databases. I simply create an user name and password in the user.conf file. The clients willing to authenticate will have to use the specified username and password.
Want to know whether this is a correct approach.
It depends on what you want to do. My guess is that you're optimizing the wrong thing. This is demonstrated by the fact that you're *not* talking about a problem. You're talking about a solution. e.g. rather than saying "will 10K users fit into 100Mb of RAM?", you're saying "I'm using the users file... is it OK?" Alan DeKok.
Sharad P wrote:
1. I wanted to know whether, there is any limit for such configurations? How many user id's and password can be added to the file?
In 1.1.7, the "users" file entries are put into a linked list. It's slow. 2.x is better.
2. If we want to increase the limit, then what are the available options?
Upgrade to 2.x.
3. What is the normal CPU and memory usage of device where Radius server is installed and running? And what is the usage when maximum clients try to authenticate with the Radius.
RADIUS doesn't really use CPU or memory. When you access a DB or use EAP methods, that uses CPU and memory. Alan DeKok.
Thanks for the reply. Here I am not using any SQL server for for DB. I just use my config file for user authentication. So in such a case, the memory usage will be very low, I guess. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Maximum-limit-for-clients-tp5675649p... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
Phil Mayers -
Sharad P