Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help - Extreme Load Average on Server

Posted on 2006-07-09
7
Medium Priority
?
495 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

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 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

721 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