Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
Captive Portal
»
captiveportal max users
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages:
1
[
2
]
Go Down
« previous
next »
Print
Author
Topic: captiveportal max users (Read 6085 times)
0 Members and 1 Guest are viewing this topic.
ermal
Administrator
Hero Member
Offline
Posts: 3094
Re: captiveportal max users
«
Reply #15 on:
October 13, 2011, 08:48:22 am »
From what i know in pfSense 2.0 there is not much overhead on lighty and the speed should be quite managable.
Usually it depends on the hardware but i can say it can scale up-to 5000 if you have more than 2GB of RAM and a decent CPU.
Logged
dhatz
Hero Member
Offline
Posts: 925
Re: captiveportal max users
«
Reply #16 on:
October 13, 2011, 10:34:58 am »
Thx for feedback Ermal.
I'm asking because a diff /var/etc/lighty-*conf shows very few differences between the config used for pfsense webGUI and CP, basically only the server.max-request-size
I did some testing with ab (apachebench)
Code:
$ ab -n 300 -c 4 http://pfsense-ip:8000/
but the benchmark results weren't very high (however this was on a lowly 256MB VM)
So I'm experimenting with increasing RAM and tuning lighttpd, e.g. server.max-keep-alive-requests and increasing php-fcgi children.
Logged
ermal
Administrator
Hero Member
Offline
Posts: 3094
Re: captiveportal max users
«
Reply #17 on:
October 13, 2011, 01:21:53 pm »
I am not sure you will gain much.
What will help with tweaking is pretty much an option on the GUI.
Though i wonder how you test the CP performance?
Logged
valshare
Full Member
Offline
Posts: 101
Re: captiveportal max users
«
Reply #18 on:
October 13, 2011, 01:29:23 pm »
Hi,
is there a fix for the limit of the max. users?
regards, valle
Logged
dhatz
Hero Member
Offline
Posts: 925
Re: captiveportal max users
«
Reply #19 on:
October 30, 2011, 09:26:45 am »
Quote from: ermal on October 13, 2011, 01:21:53 pm
I am not sure you will gain much.
What will help with tweaking is pretty much an option on the GUI.
Though i wonder how you test the CP performance?
Right, I can't think of an easy way to simulate many (1000+) users actually logging-in via the CP. It seems one would have to obtain multiple MAC addresses and hold all of the received IPs in use with virtual interfaces and submit a form post of the username+pass via the CP login form. Which is why I asked for any real-life hotspots using pfsense.
However, I did try some performance testing of just /usr/local/captiveportal/index.php using apachebench (stats I've seen suggest that it takes ~20 redirects to a CP splash-page for every actual login, apparently due to the various widgets that people run on their devices, e.g. to retrieve weather info, stockmarket data, update antivirus db etc)
Logged
valshare
Full Member
Offline
Posts: 101
Re: captiveportal max users
«
Reply #20 on:
November 08, 2011, 12:09:23 pm »
Quote from: ianrhen on September 16, 2011, 04:27:03 am
sure. just give me some time to organize it first. i will also explain things about my setup so those others out there who might also looking for this kind of setup would benefit from it
why you didn´t share your setup with us?
Logged
cmb
Administrator
Hero Member
Offline
Posts: 6035
Re: captiveportal max users
«
Reply #21 on:
November 08, 2011, 04:41:00 pm »
Quote from: dhatz on October 13, 2011, 07:45:08 am
I wonder, what are the practical limitations of pfsense's Captive Portal?
Has anyone used pfsense for large hotspots, e.g. 2000 or even 5000 active users?
Yes, there are WISPs who have 2000+ active users on a single box.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
trunglam
Jr. Member
Offline
Posts: 51
Re: captiveportal max users
«
Reply #22 on:
November 17, 2011, 11:03:44 am »
anybody try with freeradius?
I think ianrhen have good idea to build radius server
Logged
j.comulada
Newbie
Offline
Posts: 2
Re: captiveportal max users
«
Reply #23 on:
May 27, 2012, 05:25:16 pm »
I've tried with 40.000 users.
Scenario: 2 computers
pfSense 1: old VIA Nehemia CPU with Captive Portal, 2.0.1 Release (i386), 1Gb RAM
pfSense 2: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz with FreeRadius2, 2.0.1 Release (i386), 4 Gb RAM
In PC 1 I have a Captive Portal with Radius Authentication over second PC.
Provisioning users to Radius has been via .xml configuration files.
I've been uploading users from 10.000 to 10.000. All changes and problems had been at FreeRADIUS computer.
Until 20.000 users, system works fine, nothing changes (well, a little bit slow)
At 30.000 users, system has been slowed seriously: more than 5 minutes to boot, load, save configuration o any other work that involves a write to disk.
At 40.000 users, system has been slowed DRAMATICALLY: more than 45 minutes to boot, load, save configuration, etc...
But, it works !!!!
I can authenticate in my CP as fewer users load.
Best regards.
Logged
ianrhen
Newbie
Offline
Posts: 12
Re: captiveportal max users
«
Reply #24 on:
June 02, 2012, 03:08:58 pm »
you mean 40,000 users connected at the same time?
Logged
j.comulada
Newbie
Offline
Posts: 2
Re: captiveportal max users
«
Reply #25 on:
June 05, 2012, 12:15:10 pm »
No, I have about 100-200 concurrent users.
40K users are in Radius database.
Logged
Pages:
1
[
2
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...