Koozali.org: home of the SME Server

Concurrent User Limit

Chris Mingay

Concurrent User Limit
« on: July 15, 2003, 03:46:44 PM »
Hi.

I work for a company with a limited connection speed, 64k ISDN. Because of this, I would like to limit the amount of users that can use the internet at the same time. I know SME Server limits bandwidth but there will be about 40 people with the ability to access the internet... 8kb / 40 just isnt practical.

It would still be slow, but being able to limit the connection to, lets say, 5 concurrent users on a first come first server basis would be preferable.

I already have proxy-auth installed, so it would be good if that could be altered so that you only get the proxy-auth logon prompt if 4 or less users are currently connected. I can see that it is possible to get the amount of users logged on via..

cachemgr.cgi > General Runtime Information > Number of clients accessing cache

I had a look at the squid/cachemgr source code but couldn't work out where it got the value from.

Any clues? ;)

Thanks in advance
-Chris

Guck Puppy

Re: Concurrent User Limit
« Reply #1 on: July 17, 2003, 11:55:46 PM »
Chris Mingay wrote:
> ...there will be about 40 people
> with the ability to access the internet... 8kb / 40 just isnt
> practical.

Few net applications require constant data flow though. When you browse the web, you do so in little spurts of data. At any one time, most people are not actually transferring any data.

Maybe you should try it out letting everyone access and see how it goes?

G

Chris Mingay

Re: Concurrent User Limit
« Reply #2 on: July 25, 2003, 03:09:00 PM »
Thanks for the reply.

Letting everyone access at the same time really isn't an option. We have quite a few users that download high res images and we really do not have the bandwidth to allow unlimited concurrent connections.

Thanks again.

-Chris

Marc

Re: Concurrent User Limit
« Reply #3 on: July 31, 2003, 07:48:28 PM »
CBQ is what you need. Do a search on this forum for more details.

Cheers.