Server Cpu usage

Discussion in 'Site & Server Administration' started by gkgk11, Feb 25, 2007.

  1. #1
    My host allows 25% Cpu usage for about 90 seconds before suspensions of my account.

    Lets let im running a site with 50kb pages, no cgi, no php scripts, no other fancy stuff, just plain html w/ images (And awstats).

    How much Cpu usage would 1 visitor to my website incur?

    Im trying to find the amount of visitors my site can support without going over 25% for 90 seconds.

    My site being suspended would cause a bad loss in affilaite commisions.
     
    gkgk11, Feb 25, 2007 IP
  2. koolasia

    koolasia Banned

    Messages:
    1,413
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If Plain html pages than the cpu usage will be minimum
     
    koolasia, Feb 25, 2007 IP
  3. aussiejohnny

    aussiejohnny Peon

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I wouldn't worry about your cpu usage unless you're running large automated task's (ie: Cron jobs)

    Depending on the cpu/s speed, a hundred unique visitors to a html page would be hardly noticable.

    Also depends on how much ram the machine has etc
     
    aussiejohnny, Feb 25, 2007 IP
  4. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #4
    These factors depend maximum:

    CPU Processor speed
    RAM

    If it has 512 MB RAM, you wouldn't even use 2% of memory on a P4 3.0 GHz HT processor
     
    inworx, Feb 26, 2007 IP
  5. koolasia

    koolasia Banned

    Messages:
    1,413
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i assume he is on shared hosting so ram will surely be more than that
     
    koolasia, Feb 26, 2007 IP
  6. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #6
    dont worry, thats a single process hogging 25% cpu for 90sec.

    Child apache process are used for every page load...so I guess that'd be negligible as you have static site.
     
    agnivo007, Feb 26, 2007 IP
  7. tespio

    tespio Peon

    Messages:
    16
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The single CPU hog is awstats. And that based on the modules loaded in the awstats config file.
     
    tespio, Feb 26, 2007 IP
  8. tjosemon

    tjosemon Banned

    Messages:
    302
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hi i would also like an answer.
    am running a proxy (PHP 0.5),how much will be the CPU usage???
     
    tjosemon, Feb 26, 2007 IP
  9. koolasia

    koolasia Banned

    Messages:
    1,413
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #9
    That will use extra server for sure
     
    koolasia, Feb 26, 2007 IP
  10. tespio

    tespio Peon

    Messages:
    16
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Depends on how your proxy script is written. However based on my own experience apache2/php5 runs pretty much fatser then apache1.3/php4 about 10 % or more.
     
    tespio, Feb 26, 2007 IP
  11. gkgk11

    gkgk11 Peon

    Messages:
    1,053
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Ahh ok

    Cpu speed is: Dual 2.4 GHz Intel Zeon processors.
    Ram is 4 GB .
     
    gkgk11, Feb 26, 2007 IP
  12. tespio

    tespio Peon

    Messages:
    16
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Worry not. i run a PowerEdge 2x3.2 with 8 GB ram and it's laughing at a heavy visited php/mysql/fms2/actionscript2 website using amfphp bridge. So your proxy script could barely tickle you ram and cpu
     
    tespio, Feb 26, 2007 IP