AD MANAGEMENT

Collapse

BEHOSTED

Collapse

Bandwidth vs CPU usage

Collapse

Collapse

Edit this module to specify a template to display.

X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bandwidth vs CPU usage

    I have seen people get their web hosting accounts suspended even when are in their bandwidth limit but because "High CPU usage". How does this might happen ?

    .

  • #2
    Scripts that make a huge amount of requests to the MySQL server are right on the top of the list of causes. MySQL is very good at what it does, but it can get the CPU bogged down with large amounts of simultaneous requests, especially if those requests are multiple table selects or inserts in huge databases.

    Bandwidth is not representive of CPU usage. A site with little MySQL interaction and straight HTML pages can be high in bandwidth (if it has pictures), but low in CPU usage. A site with high MySQL interaction and internal processing can be high in CPU, but if it outputs very little, like text, then it can be low bandwidth.

    Comment


    • #3
      Assuming a legit host who was not looking for a reason to drop you, It is pretty easy to do. Some scripts are poorly written and throw a real load on the server.

      One of the 4 things that people need to keep in mind when looking at cheap hosting are:
      max disk space
      max bandwidth
      cpu time or %
      max DB connections

      All of these items are usually coved in the TOS/Use policies and are used by the "over-sellers" to get rid of people who are using anything above the desired amount.

      To be fair, sometimes you might have a bad script that does overload the server. This can happen anywhere.
      ScriptMan
      Host unlimited domains as low as $2.95 month

      Comment


      • #4
        So lets say if there is a bad script or For some reason a script has started making a huge amount of requests to the MySQL server. How would you identify this as quick as possible ? or what are the things you can do to prevent this ?

        .

        Comment


        • #5
          Well first of all, look for reviews of scripts you use. People will usually say if the script is a resource hog or not before installing it.

          Other than that, if you have cPanel, you may find this thread interesting:
          http://forums.burst.net/archive/index.php/t-198.html

          This explains how to get the CPU usage for your account with cPanel.

          There isn't always a good solution to a bad script except to replace it with something else, though data isn't always easy to convert. I wish there was a simple answer, but it would depend on the script, etc.

          Comment

          TEXT

          Collapse

          160

          Collapse

          Unconfigured Ad Widget

          Collapse

          GOOGLE

          Collapse

          Announcement

          Collapse
          1 of 2 < >

          FreeHostForum Rules and Guidelines

          Webmaster forum - Web Hosting Forum,Domain Name Forum, Web Design Forum, Travel Forum,World Forum, VPS Forum, Reseller Hosting Forum, Free Hosting Forum

          Signature

          Board-wide Policies:

          Do not post links (ads) in posts or threads in non advertising forums.

          Forum Rules
          Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

          Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning or will be banned.

          Members are asked to respect the copyright of other users, sites, media, etc.

          Spam is not tolerated here in most circumstances. Users posting spam will be banned. The words and links will be censored.

          The moderating, support and other teams reserve the right to edit or remove any post at any time. The determination of what is construed as indecent, vulgar, spam, etc. as noted in these points is up to Team Members and not users.

          Any text links or images contain popups will be removed or changed.

          Signatures
          Signatures may contain up to four lines

          Text in signatures is subject to the same conditions as posts with respect decency, warez, emoticons, etc.

          Font sizes above 3 are not allowed

          Links are permitted in signatures. Such links may be made to non-Freehostforum material, commercial ventures, etc. Links are included within the text and image limits above. Links to offensive sites may be subject to removal.

          You are allowed ONLY ONE picture(banner) upto 120 pixels in width and 60 pixels in height with a maximum 30kB filesize.

          In combination with a banner/picture you can have ONLY ONE LINE text link.


          Advertising
          Webmaster related advertising is allowed in Webmaster Marketplace section only. Free of charge.

          Shopping related (tangible goods) advertising is allowed in Buy Sell Trade section only. Free of charge.

          No advertising allowed except paid stickies in other sections.

          Please make sure that your post is relevant.


          More to come soon....
          2 of 2 < >

          Advertise at FreeHostForum

          We offer competitive rates and a many kinds of advertising opportunities for both small and large scale campaigns.More and more webmasters find advertising at FreeHostForum.com is a useful way to promote their sites and services. That is why we now have many long-term advertisers.

          At here, we also want to thank you all for your support.

          For more details:
          http://www.freehostforum.com/threads...eHostForum-com

          More ad spots:
          http://www.freehostforum.com/forums/...-FreeHostForum
          See more
          See less
          Working...
          X