Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    System reached maximum login capacity

    Scheduled Pinned Locked Moved Captive Portal
    36 Posts 15 Posters 12.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jimpJ Offline
      jimp Rebel Alliance Developer Netgate
      last edited by

      If you grab the latest captiveportal.inc from RELENG_2_1 on github and replace yours in /etc/inc/, then it should be OK. It's a bug we have fixed after 2.1-RELEASE.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • L Offline
        lifeform08
        last edited by

        I replace captiveportal.inc from https://github.com/pfsense/pfsense/blob/RELENG_2_1/etc/inc/captiveportal.inc
        but the result still the same. System reached maximum login capacity.

        1 Reply Last reply Reply Quote 0
        • L Offline
          lifeform08
          last edited by

          Does anyone know how to fixed this?

          logportalauth[86566]: ERROR:  System reached maximum login capacity

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            @lifeform08:

            Does anyone know how to fixed this?

            logportalauth[86566]: ERROR:  System reached maximum login capacity

            Install 2.1.1, either a snapshot now, or when it's released.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • L Offline
              lifeform08
              last edited by

              Thank you
              Done. Installed 2.1.1 prerelease
              Under Observation

              1 Reply Last reply Reply Quote 0
              • M Offline
                magura
                last edited by

                2.1.1-RELEASE (amd64)
                built on Tue Apr 1 15:22:32 EDT 2014
                FreeBSD 8.3-RELEASE-p14

                online users:2067
                then users also can´t logging in captive portal.
                system logs: logportalauth[87673]:ERROR:XXXXX,11:11:11:11:11:11,172.17.8.39,System reached maximum login capacity.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jivanmp
                  last edited by

                  Good

                  My gave me the same problem and in the end the only solution I've got is to empty the contents of the file uaxero mentioned in a post above.

                  I leave the path: /var/db/captiveportaldn.rules

                  My version is 2.1.1 RELEASE

                  Sorry for my English

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    magura
                    last edited by

                    Beside deleting it, there is anyway to solute this bug?
                    Pfense will fix this problem ?

                    1 Reply Last reply Reply Quote 0
                    • GertjanG Offline
                      Gertjan
                      last edited by

                      hello.

                      What you should check is : are users getting disconnected by the portal interface.
                      If not, then things will go wrong.

                      Some ideas about how to test if the disconnecting is working, see here https://forum.pfsense.org/index.php?topic=67739.0

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        magura
                        last edited by

                        At  that time,The disconnected Does not seem normal!But the future users may 2000+,Has the maximum number of bug, will go wrong!

                        About disconnected,There are command can be executed to restart the disconnect procedure?in CLI or UI?

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          eri--
                          last edited by

                          Can you upgrade to 2.1.2 and verify that this is not happening anymore?

                          Also some system specification is welcome here.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tpramos
                            last edited by

                            I Have one 2.1.2 with the same problem.

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              codywood
                              last edited by

                              I also just hit this issue on 2.1.2.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                deltix
                                last edited by

                                Is this valid fix for this issue or this fixes something else?

                                https://github.com/pfsense/pfsense/pull/1070

                                1 Reply Last reply Reply Quote 0
                                • GertjanG Offline
                                  Gertjan
                                  last edited by

                                  This patch looks simple  ;)

                                  What about checking if the patch is been used?

                                  Instead of applying the patch:

                                  			/* Release unused pipe number */
                                  			captiveportal_free_dn_ruleno($pipeno);
                                  
                                  

                                  use this:

                                  			if ($pipeno) {
                                  				captiveportal_logportalauth($cpentry[4],$cpentry[3],$cpentry[2],"CONCURRENT LOGIN - REUSING IP {$cpentry[2]} - removing pipe number {$pipeno}");
                                  				captiveportal_free_dn_ruleno($pipeno);
                                  			}
                                  

                                  It seems (to me) more logic to test the value of $pipeno (should be non-zero) before using it **
                                  And, of course, make a log so you can see that the patch was executed (and actually freeing up a pipe rule).
                                  Remember: no more free pipes rules provokes the message "System reached maximum login capacity".

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    deltix
                                    last edited by

                                    This patch is not in 2.1.3 and it should be.

                                    Can somebody reopen this bug?

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      doktornotor Banned
                                      last edited by

                                      https://redmine.pfsense.org/projects/pfsense/repository/revisions/4ec6b54d189dbd84265cf1f7dc18050ae941df7c

                                      1 Reply Last reply Reply Quote 0
                                      • U Offline
                                        uaxero
                                        last edited by

                                        hi my last update 2.1.3

                                        the problem didn´t return to happen

                                        thanks

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          paoloc
                                          last edited by

                                          Hi I have the 2.1.3 but I have this problem

                                          Paolo

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ Offline
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            Apply the patch above or upgrade to 2.1.4 when it comes out.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.