Load Average

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,

[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!

4 Replies

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.

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

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.

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct