"NIX load limit" ignored

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stingraynyc
    New Member
    • Jan 2002
    • 23

    "NIX load limit" ignored

    Anyone have any reason why this would be? Load avgs show up in admin panel. on dedicated server running fedora, VB 3.5

    I've even set it to a "1" and could still see the board as a guest.

    thanks in advance
  • Stingraynyc
    New Member
    • Jan 2002
    • 23

    #2
    anyone have any ideas?

    Comment

    • Zachery
      Former vBulletin Support
      • Jul 2002
      • 59097

      #3
      What are you expecing the load average limit to be doing?

      If the load is above 1, it shouldn't allow anyone but admins on the forums..

      If its not above 1 at that time then a user can get on.

      Comment

      • Stingraynyc
        New Member
        • Jan 2002
        • 23

        #4
        Originally posted by Zachery
        What are you expecing the load average limit to be doing?

        If the load is above 1, it shouldn't allow anyone but admins on the forums..

        If its not above 1 at that time then a user can get on.
        The load limit setting is completely ignored. it's usually set to "12" however it does not kick in when the load goes above 12, I have had load spikes up to "29" The load limiter has no effect at all and the board remain's wide open to both users and guests.

        I have to go in manualy and disable the guest usergroup to keep from crashing (this is with spikes of up to 1200 users at a time)

        To clarify my first post, when I set it to "1" , the load was at approx "6" - no effect

        Using:

        ded. server
        fedora linux
        VB 3.5.1
        AdminCP shows load
        Last edited by Stingraynyc; Sat 10 Dec '05, 1:47pm.

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #5
          Are you sure the current load was 6? Not just the averages?

          Comment

          • Stingraynyc
            New Member
            • Jan 2002
            • 23

            #6
            Originally posted by Zachery
            Are you sure the current load was 6? Not just the averages?
            Yes, it was set at 12.00 and the server hit 29.80. Doesnt work

            Comment

            • Stingraynyc
              New Member
              • Jan 2002
              • 23

              #7
              OK, since no one can answer this, can someone point me to the files the limiter uses and where it pulls the load info from? I'd like to do some troubleshooting.

              Comment

              • Mike Sullivan
                Former vBulletin Developer
                • Apr 2000
                • 13327
                • 3.6.x

                #8
                /proc/loadavg:

                Code:
                $servertoobusy = false;
                if ($vbulletin->options['loadlimit'] > 0 AND PHP_OS == 'Linux' AND @file_exists('/proc/loadavg') AND $filestuff = @file_get_contents('/proc/loadavg'))
                {
                	$loadavg = explode(' ', $filestuff);
                	if (trim($loadavg[0]) > $vbulletin->options['loadlimit'])
                	{
                		$servertoobusy = true;
                	}
                }

                Comment

                • Mike Sullivan
                  Former vBulletin Developer
                  • Apr 2000
                  • 13327
                  • 3.6.x

                  #9
                  Interestingly, the admin CP reads from uptime instead...

                  Comment

                  • Stingraynyc
                    New Member
                    • Jan 2002
                    • 23

                    #10
                    do you know what the permissions "should" be on /proc/loadavg? (chmod)

                    Comment

                    • zagman76
                      Member
                      • Sep 2005
                      • 54

                      #11
                      -bump-

                      I'm having the exact same issue here. Any ideas?

                      Comment

                      • Zachery
                        Former vBulletin Support
                        • Jul 2002
                        • 59097

                        #12
                        Have you upgraded to the latest verison?

                        Comment

                        • zagman76
                          Member
                          • Sep 2005
                          • 54

                          #13
                          Originally posted by Zachery
                          Have you upgraded to the latest verison?
                          I patched it (3.5.4 ver) - didn't run full upgrade.

                          Comment

                          • Zachery
                            Former vBulletin Support
                            • Jul 2002
                            • 59097

                            #14
                            Then you haven't upgraded to the latest version, please try doing this.

                            Comment

                            • zagman76
                              Member
                              • Sep 2005
                              • 54

                              #15
                              Originally posted by Zachery
                              Then you haven't upgraded to the latest version, please try doing this.
                              did a full upgrade, and I am still having the problem...

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...