Archive for the 'Tutorial' Category

Next steps on getting more performance with LiteSpeed webserver

As we said on a previous article, we were waiting for the last chapters on tunning our LiteSpeed webserver. Finnaly, yui-life.com's webmaster has published in two articles the steps to get a custom PHP5 with eAccelerator and some tips on tunning the webserver.

I have tested his solution and I can say I’m quite happy with it, indeed I was also sharing a FastCGI + APC accelerator for two other domains and at the end I have migrated all of them (five) to the LiteSpeed solution.

You can read the articles at the following links:

Litespeed on Dreamhost PS: Final Optimizations for Stability and Lowest Cost
Compiling PHP5 and eAccelerator for Litespeed on Dreamhost PS

I have only one problem using LiteSpeed Standard proxied behind Apache, and it’s related to some web applications (like WordPress 3.3.4) use the header $_SERVER['REMOTE_ADDR'] to get the visitors IP instead of $_SERVER['HTTP_X_FORWARDED_FOR'], so the recorded IP it’s your own VPS IP, as it’s the one who sent you the request. Remember, Apache’s mod_proxy has been previously configured to send you the traffic to a running port of your LiteSpeed server.

Continue reading 'Next steps on getting more performance with LiteSpeed webserver'

Optimizing Dreamhost PS CPU and Memory Usage by Installing Litespeed Web Server

Sounds interesting isn't it?

Just reading the title of this post you get the idea of how interesting must be the tutorial, and I can tell you it works, as this website and other domains on this PS are running now with LiteSpeed, and thanks to the tips of Yui-Life's webmaster.

You may read the whole article at this link: Optimizing Dreamhost PS CPU and Memory Usage by Installing Litespeed Web Server and it's the first chapter, as it's webmaster has told me he's planning to write a second chapter explaining PHP5.2.5 compile instructions and the eAccelerator opcode binary.

Continue reading 'Optimizing Dreamhost PS CPU and Memory Usage by Installing Litespeed Web Server'