Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 501
  • Last Modified:

Help - Extreme Load Average on Server

Hello there,
I have around 10 website on my Linux Fedora Code 1 server.
and Im also runing a control panel called Ensim.
Im getting a really high average load and I need help.

screenshots

>>mysql
http://img333.imageshack.us/img333/1961/11vx2.jpg
http://img381.imageshack.us/img381/1820/26nw1.jpg
http://img107.imageshack.us/img107/8517/39nn1.jpg
http://img107.imageshack.us/img107/3453/47fp.jpg

>>http
http://img95.imageshack.us/img95/3694/52hh1.jpg

someone please tell me what can I do in order to have
a normal server. thanks
0
aplelois
Asked:
aplelois
  • 4
  • 3
1 Solution
 
psimationCommented:
Can you give some information about the server itself; ie. what speed is the processor.

From the screenshots of TOP, it is clear that your memory on the server is too low since it is using the swap space. Typically, you don't ever want your server to use swap space.

My initial recommendation would be to upgrade your RAM to at least 1GB.

The High load reported at the moment is definately because your system is trying to play catch-up because it uses hard drive space as virtual memory. It's unfortunately difficult to say which process started the high memory usage. It's possible that an application could have a memory leak, and that is what causes the server to start swapping in the first place. Best way to monitor that is top keep an eye on top as the server reboots. In theory, if your CPU is adequate, and your hard drives are not slouches ( preferably SCSI or SATA2) 512MB ram should be enough for plenty of websites and services.

Can you give us an indication of how busy the websites are that runs on your servers? It might also simply be that they are receiving lots of hits, and that will unfortunately cause high resource usage. Only remedy there is a bigger server...

You can also read up on www.apache.org and www.mysql.com on how to tweak the particular services for high-loads - but like I said already, throw in at least 512MB of RAM ( it's cheap and easy) and see where that get's you...
0
 
apleloisAuthor Commented:
yeah the sites are receiving more than 25k per day and there are 3 sites!!
0
 
psimationCommented:
Well, in that case it seems that an upgrade might be the only solution here. The websites themselves (ie. the way they were coded) can also play a role. If the content are all dynamically created, stored and served from MySQL, then load will also be higher than having "static" html pages.

My initial recommendation stands; try to add more RAM and see if it helps. It's a quick, cheap and simple way to address resource usage. If that does not help, then either tweak the server software, or do a complete upgrade to a faster CPU, much more RAM and fast SCSI Harddrives.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
apleloisAuthor Commented:
What server will be the best?

>server 1
Celeron D 2.8 GHz CPU
512MB RAM
80 GB Hard Drive
2000 GB Data Transfer

>server 2
Pentium 4 3.0 GHz CPU
1024MB RAM
160 GB SATA Hard Drive
3000 GB Data Transfer

>server 3
Pentium 4 3.4 GHz CPU
2048MB RAM
2 x 160 GB SATA Hard Drives
4000 GB Data Transfer
0
 
psimationCommented:
Server 2 should be fine, but server3 looks even better;)

Those snippets look like an ISP price list options for a co-location/managed server at their server farm, am I right?

Another option that works out cheaper and takes away the hassle of having to look after the hardware and upgrade when things run slow, is to see if they have a "reseller" shared hosting package.

Those packages gives you your own space on one of their servers which you can allocate as you please to your domains, but the nice thing is; the ISP has to deal with the head-ache of making sure the server is fast enough/has enough ram for all the domains running on it, else they will lose their clients...
0
 
apleloisAuthor Commented:
well am planing on getting a faster dedicated server then..
0
 
psimationCommented:
You may also want to make sure that you use a newer version of software than Fedora Core 1.

I would suggest you download and install CenOS4.3; it's a clone of RHEL4, which means it's stable and secure, and being a RedHat clone, means that you should find it operting pretty much the same as Fedora wrt file locations etc...
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now