Announcement

Collapse
No announcement yet.

"NIX load limit" ignored

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • "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

  • #2
    anyone have any ideas?

    Comment


    • #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


      • #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 10th Dec '05, 1:47pm.

        Comment


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

          Comment


          • #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


            • #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


              • #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


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

                  Comment


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

                    Comment


                    • #11
                      -bump-

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

                      Comment


                      • #12
                        Have you upgraded to the latest verison?

                        Comment


                        • #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


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

                            Comment


                            • #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...
                              X