Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Accessing website with ip/~user requires more CPU resources?

Discussion in 'Workarounds and Optimization' started by daimpa, Mar 18, 2019.

Tags:
  1. daimpa

    daimpa Member

    Joined:
    Mar 18, 2019
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    italy
    cPanel Access Level:
    Root Administrator
    Hello, I'm load testing my website with apache benchmark. I think that numbers are really bad. I've not associated the domain name to my VPS, so I access the website with IP/~user.
    Can this require, somehow, more resources?

    I've a VPS with 4GB Ram, 4vCPU. Wordpress with 0 plugin other than the theme, and xenforo with 0 plugin other than the theme. With this:
    Code:
    ab -k -n 10000 -c 3 -l URL
    
    I get:
    Code:
    Server Load 3.393066 (4 CPUs)   
    Memory Used 35% (1,358,560 of 3,881,408)   
    Swap Used   23.7% (248,488 of 1,048,572)
    With
    Code:
    ab -k -n 1000 -c 7 -l URL
    I get:
    Code:
    Server Load 8.6 (4 CPUs)   
    
    3 concurrent users with 4GB 4vCPU seems really bad.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    daimpa likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice