Solved

Help - Extreme Load Average on Server

Posted on 2006-07-09
7
490 Views
Last Modified: 2013-12-06
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
Comment
Question by:aplelois
  • 4
  • 3
7 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 17071510
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
 

Author Comment

by:aplelois
ID: 17071542
yeah the sites are receiving more than 25k per day and there are 3 sites!!
0
 
LVL 17

Expert Comment

by:psimation
ID: 17071593
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:aplelois
ID: 17071602
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
 
LVL 17

Expert Comment

by:psimation
ID: 17071675
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
 

Author Comment

by:aplelois
ID: 17071698
well am planing on getting a faster dedicated server then..
0
 
LVL 17

Accepted Solution

by:
psimation earned 500 total points
ID: 17072372
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question