Solved

Help - Extreme Load Average on Server

Posted on 2006-07-09
7
488 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now