+ Reply to Thread
Results 1 to 3 of 3

Thread: CPU Quota and Invision Power Board

  1. #1
    Join Date
    Jul 2008
    Posts
    2

    Default CPU Quota and Invision Power Board

    Hello all, I know there are plenty of CPU quota threads on the forum, but I wanted to set this one up for anyone having the issues I have with Invision Power Board.

    I have 1 Invision Power Board set up on my account. I also have the Gallery, Blog and Download components with the forum. I have approx 20 people online at any given time, so it's not a busy board.

    I have cleaned up the database etc with the tools included in IPB but I still get the CPU quota messages a few times a day.

    I have however recently found a way to stop the CPU quota message by using the internal settings within IPB. IPB displays its own message when it detects high CPU usage. The settings can be found here:

    TOOLS & SETTINGS
    CPU Saving
    Server Load Limit

    I have it set to 20 at the moment. The following is the definition of the Server Load Limit setting:

    The board will take a snapshot of what the current load for your server is, and cache the result for 10 seconds. Note that the load is for the server itself, and it not always related to IP.Board. If you experience high loads, you may want to consult with your webhost and see what is causing it.

    If your server is Linux, the server load relates to:
    How many processes are waiting in queue to use the processor on the server. For example, if you have one CPU on your server, then a load of 1.00 would mean there is one process waiting in queue. If you have two CPUs, then 2.00 would be more suitable for that example. As a safe rule, you can enter a limit of 20.


    So I have it set to 20, does anyone know if this is right? I have seen the IPB message a couple of times with the setting at 20, so it's obvious the server has been busy, but why?

    Now the big question to all this, is why am I getting high CPU usage from IPB? I can post logs etc for slow queries etc. I can't understand the high CPU usage on a small board?

    Oh and please don't use this post to bash bluehost, only reply if you can help please.

    Thanks a lot.

  2. #2
    Join Date
    Apr 2008
    Posts
    407

    Default

    I'm guessing this setting is how high the server load limit can go before IPB automatically shuts itself down. However, this setting will actually do very little to solve your CPU Quota errors. The server loads are for the whole server, not just your account, so they have very little effect on whether you get a CPU Quota error or not.

    Other accounts could be running many processes while your account sits idle, driving the CPU loads up, but you wouldn't be anywhere near a CPU Quota error. Conversely, your account could be using lots of CPU while other accounts are not, keeping the server loads low, but you still get a CPU Quota error. Do you see what I'm saying?
    Why am I getting high CPU usage from IPB?
    Because for some reason IPB isn't properly optimized - it's using too much processing power with slow SQL queries, etc. Unfortunately, it appears that 20 users on IPB at the same time is simply too much for shared hosting.

    Try disabling any addons or modifications on the board, and see if that helps. They could be the cause of the slow SQL queries and CPU time.

    Hope that helps.

  3. #3
    Join Date
    Jul 2008
    Posts
    2

    Default

    Quote Originally Posted by Eriksrocks View Post

    Because for some reason IPB isn't properly optimized - it's using too much processing power with slow SQL queries, etc. Unfortunately, it appears that 20 users on IPB at the same time is simply too much for shared hosting.

    Try disabling any addons or modifications on the board, and see if that helps. They could be the cause of the slow SQL queries and CPU time.

    Hope that helps.
    This is what baffles me. Since I posted this message the CPU Quota message hasn't appeared once, and I have been getting 200 users online at once. Also I never once witnessed the message when I had 900 people on daily throughout January this year.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts