• Resolved John

    (@dsl225)


    Hello,

    The plugin works really nicely with most servers I tested but in one particular case it is showing 6 CPUs where the server has 24 and thus getting wrong server load values.

    I don’t know whether this is a known issue or a server configuration problem but I just wanted to report it.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author iSaumya

    (@isaumya)

    Hi there,
    the plugin uses simple shell commands to get those details from the server but as the plugin does not ask you to download any special kind of program to work, this is very normal. Sometime depending on the server configuration you can get these odd CPU counts. Really sorry for that. But trust me the plugin uses the most generic possible commands and scripts so that it works on amy many different kind of configuration as possible. But as you know sometimes the generic things doesn’t work on some special systems. Unfortunately there is nothing that can be done about this. Sorry! Almost all the servers I’ve tested it gave correct result only once in one server it reacted like this, but in this case you just have to ignore it.

    Thread Starter John

    (@dsl225)

    Thanks Saumya, there is no problem with that, just wanted to let you know.
    In fact those values were so high that I contacted the host support and they told me the server was running on 24 CPUs.
    Once I know that, I just need to divide the server load by 4 and it’s fine.

    Thanks again for your work!

    Plugin Author iSaumya

    (@isaumya)

    I’m sorry John for the problem you have encountered. But a pro tip to you, don’t trust everything your host says. Because a CPU is made of physical and virtual cores. Physical cores are the main thing that is considered as core. So the plugin count the physical cores only. Some bad hosting company include the virtual core count while selling the server as a marketing stunt as most end user will never understand the difference and will not have the shell command line experience to verify the claim via command line.

    Thread Starter John

    (@dsl225)

    Sure, you are right about that.
    I have SSH access but I don’t know how to check either…
    Anyhow, that’s not so important for me, no problem.
    But I also get this same information about the CPU count from cPanel’s “Server Information” link and I presume this should be correct, isn’t it?

    Plugin Author iSaumya

    (@isaumya)

    It should be.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrong number of CPUs’ is closed to new replies.