Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Load Average
PostPosted: Tue May 03, 2011 7:56 am 
Offline
Senior Newbie

Joined: Mon Apr 18, 2011 9:47 pm
Posts: 9
I am new to Linux..I have a WP site installed in my 512MB Linode. OS is Centos 32 bit. A basic LAMP server.

I did a load impact test on my site and monitored the server load and RAM usage for upto 50 clients.

The user load time is flat at 3s from 1 to even 50 users...thanks Linode..

Here is the log of server load and RAM usage,

Code:
[root@*** ~]# free -m
             total       used       free     shared    buffers     cached
Mem:           497        490          7          0          0         13
-/+ buffers/cache:        476         21
Swap:          255        107        148
[root@**** ~]# uptime
 07:51:13 up 6 days, 15:55,  1 user,  load average: 0.45, 0.34, 0.19


Since the RAM usage is maxed out, am I limited to just 50 simultaneous user connections..If I have a few sites like this, will it crash the server (XEN server). What is the maximum load average I can use without being warned by Linode of excessive CPU usage?


P.S. I can still use cache plugins and CDN to minimize the load..But, as a raw site, I would like to understand the Linode system.
thank you!


Top
   
 Post subject:
PostPosted: Tue May 03, 2011 8:48 am 
Offline
Senior Newbie

Joined: Wed Jan 19, 2011 11:12 pm
Posts: 6
You are swapping. That is why your load is so high.

You may want to look into your Apache/MySQL config and change a few settings. Also look at your WP installation and optimize it as well. I have 200 concurrent users on a 512 server with no issues with a message forum.


Top
   
 Post subject:
PostPosted: Tue May 03, 2011 9:59 am 
Offline
Senior Member

Joined: Thu May 21, 2009 3:19 am
Posts: 336
Quote:
If I have a few sites like this, will it crash the server (XEN server).


The host you're on? No. Your virtual server? Yes, you're going to be OOMing quickly.

I'm sure people will make suggestions if you post your Apache and MySQL configs. Also, if you search the forums, there are several recent topics about OOMing and Apache (mostly) configurations.


Top
   
 Post subject:
PostPosted: Tue May 03, 2011 2:53 pm 
Offline
Senior Newbie

Joined: Mon Apr 18, 2011 9:47 pm
Posts: 9
Thank you Guys..Here is the httpd.conf

http://pastebin.linode.com/5238

and the configuration of mysql in the following link,

http://pastebin.linode.com/5239

I appreciate your feedback on the config's. I am using the basic config's.


Top
   
 Post subject:
PostPosted: Tue May 03, 2011 3:07 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
Do a search for "MaxClients" in the forum and pick a few random threads to peruse - they'll all get you headed in the right direction (dropping that configuration value a lot) to start with.

-- David


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group