1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Make CPU Usage go down

Discussion in 'Site & Server Administration' started by GFX^^, Sep 7, 2007.

  1. #1
    I am hosting with dreamhost and I have got lots of sites hosted under the same account. I need to lower the cpu usage, what can i do?
     
    GFX^^, Sep 7, 2007 IP
  2. randomIntellections

    randomIntellections Well-Known Member

    Messages:
    985
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    180
    #2
    1)stop advertising your site and ban some of your visitors ,

    2) Tweak your php scripts if you are good at programming
     
    randomIntellections, Sep 7, 2007 IP
  3. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Simple: Move to a new host
     
    cyanide, Sep 7, 2007 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, you can enable caching if your script supports. This reduces load drastically.
     
    agnivo007, Sep 7, 2007 IP
  5. Scriptona

    Scriptona Notable Member

    Messages:
    4,957
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    280
    #5
    If your sites are resource hogs then better move to a VPS - it will give you some room to grow
     
    Scriptona, Sep 8, 2007 IP
  6. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #6
    well there could be a number of ways to deal with this. Ask your host to move you to another server or buy a different "type" of hosting, ie: semi-ded. server, VPS, etc..
     
    rllunzmann, Sep 14, 2007 IP
  7. hamidof

    hamidof Peon

    Messages:
    619
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you are on a VPS or a dedicated server, install Zend Optimizer and eAccelerator.
     
    hamidof, Sep 14, 2007 IP
  8. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If the applications you're running have caching options do use them. PHP/MySQL is very cpu intensive compared to static html pages. So if the script has the option of that sort of caching it's a good thing to turn on.
     
    InFloW, Sep 15, 2007 IP
  9. readme

    readme Banned

    Messages:
    103
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Being in a shared hosting, it is really hard yourself to control the load i believe. What only you can do is making sure your php-mysql coding is bugless. Most of the time mysql open socks gives problem with the unexpected server load. So make sure you close the mysql connections after using them :D
     
    readme, Sep 15, 2007 IP
  10. mateon3000

    mateon3000 Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    most heavy resources are attributed to poor code. if your the programmer double check your code. It can make a big difference. If your positive your clean then check with your provider to see any upgrade paths.
     
    mateon3000, Mar 22, 2009 IP
  11. jancat

    jancat Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    you can choose vps hosting if cpu is not enough for you at web hosting package.
     
    jancat, Mar 24, 2009 IP