homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Webmaster Hardware
Forum Library, Charter, Moderator: open

Webmaster Hardware Forum

100% server load - normal?
dont think so, what should i do?

 9:40 am on May 7, 2005 (gmt 0)

Just noticed the CPU usage on my server and it was 100 %. My server specs are
Intel P4 2.4 Ghz, 1 G RAM, 2 x 80 G IDE HDD.

My site has over 3 - 4 million page views per month and runs on ASP.net and
MSSQL. I use Phpadsnew to cycle ads and it runs on PHP and mySQL.

Is it normal for web servers to run at 100 % cpu load. Or is there is some virus or some hacker at work. Could it be that the time has come to get a more powerful server?

Thanks in advance



 10:56 am on May 13, 2005 (gmt 0)

sounds like the first order of business would be to poke around in the task manager and see what process is using all the CPU. =)


 6:34 pm on May 13, 2005 (gmt 0)

If it's actually at 100%, you've got a problem. You could fry an egg on your cpu :).

As above, you should find out what task is using all of those processes. With 3-4 million page views a month, that's say 100000 pages a day. Figure 10 pages per view and you're looking at 10,000 visitors a day. Not sure about a windows box, but that type of load on my linux server uses only a small amount of resources on similiar hardware.

My first guesses at places to look:
- you're getting hammered by some email process. this isn't likely, but sometimes email attacks can play havoc for a little while
- you've got some knarly mysql processes going on. If you've got some rough coding that's not done right, database calls can add up *fast*. And if that's the case, cleaning up the code will work.

I don't think you need new hardware yet. That level of platform should easily handle a large amount of webhosting.


 5:00 am on May 27, 2005 (gmt 0)

Log all database calls and run explain on them in mySQL. You should have something like that for MSSQL.. a query analyze type utilty.

Chances are you need to add some indexes to your application.

Mysql command line syntax: explain select a.b as c from a where x=y

Matt Probert

 1:27 pm on May 27, 2005 (gmt 0)

Is it normal for web servers to run at 100 % cpu load

Not a Linux server, they shouldn't exceed about 5% - if they do you've got problems!

In any event it sounds like too many concurrent "jobs" running, this could be that searches or whatever are taking too long to finish, and as someone else suggested, you may need to address the question of your indices.



 7:39 am on Jun 13, 2005 (gmt 0)

you're running mysql and mssql?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Webmaster Hardware
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved