Archive for the ‘Performance’ Category

Concurrent Connections Demystified

Friday, April 26th, 2013

One of the most common questions we get goes something like this: “I have a forum with 3,000 users and the VPS license says it has a limit of 500 concurrent connections. That’s not enough for me, right?” Actually, 50 concurrent connections is probably enough for you. This misconception stems from a misunderstanding as to what a concurrent connection is. In this post, I will try to address this misunderstanding.  (more…)

Setting Up Multiple PHP Versions

Friday, April 19th, 2013

Here at LiteSpeed, we are in the midst of a major overhaul of our documentation. It’s a lot of hard work — like carving granite with tweezers — but we don’t want to make you wait till it’s finished to get some of the benefits. So, on the blog, we will be sharing tips about how you can make LSWS run better for you. Today’s post is an overview of setting up multiple PHP versions when you use a control panel (though it will work if you don’t use a control panel as well). (more…)

Trouble Shooting: “PECL Install Doesn’t Work”

Friday, April 5th, 2013

Some users prefer to mount their /tmp directory as noexec for security reasons, but we’ve seen that this can cause a problem for PECL installs. Pointing the PECL temp_dir to a new path gets around this problem. (more…)

Web Performance and the Bottom Line Pt. 2

Friday, March 22nd, 2013

Yesterday, I linked to a Varnish blog post talking about the effect of page upload time on business. Today I came across a post on the Simple Helix blog I like even more. (more…)

“Web Performance and the Bottom Line” (An External Link)

Thursday, March 21st, 2013

Here’s a post from the Varnish Software blog discussing how web site speed affects online businesses. One of the studies they use is four years old, but I think the numbers they show beautifully illustrate why speed matters: (more…)

PHP Selector (from CloudLinux)

Tuesday, March 19th, 2013

Recently, CloudLinux has added support for LSWS to its PHP Selector. PHP Selector allows the end-user to select their PHP version and what PHP modules they want to run. (more…)

PHP Troubleshooting: Too Many Sessions Causes Bottleneck

Monday, March 11th, 2013

A client came to us with server loads of 200-400 during peak times. (He has a 64 core 32 GB server and a 4-CPU LSWS license.) Detailed observation revealed that PHP processes were eating up his processing power. But why? What were they doing? Taking out the trash. (more…)

WordPress Plugin: Keep Your Cache Up-to-Date

Monday, February 18th, 2013

Here’s a plugin that will automatically repopulate your LiteSpeed Cache when an article gets updated on WordPress (more…)

Not Even Close: Ruby LSAPI 4.1 Bests Nginx + Passenger (Another Benchmark)

Monday, February 18th, 2013

Part 2 — Downloading

 

In the last post, we benchmarked the uploading speed of LSWS 4.2.2 (with Ruby LSAPI 4.1) against Nginx with Passenger for a Ruby Rails Rack application. But rewindableinput was not our only change in Ruby LSAPI 4.1. (more…)

Don’t Get Overrun When You Update

Thursday, February 14th, 2013

4.2.2 New Features: REFRESH Cache, Stale Cache Mechanism

1. How to REFRESH/PURGE cache manually

/usr/local/lsws/admin/misc>/usr/local/lsws/admin/fcgi-bin/admin_php purge_cache_byurl.php

Synopsis: php purge_cache_byurl.php -(r|p) domain url [server_ip] [port]-r: refresh cache (use stale cache while updating cache)
-p: purge cache (delete cache entry) (more…)