PDA

View Full Version : Server Optimization request


viettechorg
10-20-2007, 10:19 PM
Hi, my serverload is some what high even it's lower compare to when i used apache.

So can you suggest me some number to change to archive lower load?
I am on 1st day trial but i see great improvement.

Server is Dual core Opteron 170
4GB ram, 73GB SCSI 15K
Only Running Litespeed webserver for a big Vbulletin site ( database on different server)
Here is my top:
http://upload69.net/uploaded/images/2007/10/20/Upload69.Net_1192940788_JPE 1.JPG (http://upload69.net/)

Also, seem like the trial version have some limit since the litespeed slow down at certain point and keep working at that speed. So would the liecenced eliminate this?

This is the graph of datatransfer between the webserver and database server. i used to push more with apache though
http://upload69.net/uploaded/images/2007/10/21/Upload69.Net_1192983186_graphm.png (http://upload69.net/)

mistwang
10-21-2007, 02:15 PM
Have you used any kind of PHP opcode cache? eAccelerator or APC? Have you utilize something like memcache?
Does the web server connected to backend DB server via a dedicate link? or shared with the web traffic?
The trial license does not limit the performance. Please try the PHP opcode cache first. right now your server is bounded by PHP performance.

viettechorg
10-21-2007, 09:10 PM
Thanks, I fixed the problem. I think the number of Max Connections in External App was setting too low. I increased the number and the server push hard now.

I use APC cache.

Also, i am trying the Trial on another server with no control panel. I followed the instructions closely but when i stop apache, server stop working.

Server running CentOS 5. Apache 2.2.3

Do you have any idea how to solve it?

viettechorg
10-22-2007, 09:24 AM
Can you give me an an idea config for my server?How can i optimize it?

mistwang
10-22-2007, 12:21 PM
You can try memcache add-on for vB. LSWS configuration wise, you can check our anti-DDoS feature in our HOWTO documentation.

viettechorg
10-25-2007, 05:29 PM
Thanks, I will take alook.

Paul-OQO
10-30-2007, 06:58 PM
eAccelerator, my friend. These lsphp processes will go down from 12% or so to only 1 or 2%.

Memcache and other accelerators work similarly. eAccelerator was initially recommended to me by one of the vBulletin developers and I have used it for years and it worked for me stable for years.