Choosing A License

LiteSpeed Enterprise has 6 different licenses to choose from. Generally, these licenses are divided by how many cores LSWS will have access to, though there are two special, more affordable licenses only available for lower powered VPS machines.

License Type Concurrent Connection Limit RAM Restrictions Recommended for
VPS* 500 2GB of RAM or less VPS with 1 to 6 cores
Ultra VPS* 800 8GB of RAM or less VPS with 1 to 6 cores
1-CPU Unlimited None Servers with 1 to 6 cores
2-CPU Unlimited None Servers with 6 to 16 cores
4-CPU Unlimited None Servers with 16 to 32 cores
8-CPU Unlimited None Servers with 32 to 64 cores

* Currently supported VPS platforms are KVM, HyperV, Virtuozzo, OpenVZ VPS, XEN, VMWare and UserModeLinux VPS.

CPU Allocation: The number of CPU's in the license description indicates how many LiteSpeed processes will be spawned. VPS and Ultra VPS licenses only spawn 1 process like that of a 1-CPU license. It is not required to match the number of CPU's in the license description to the number of CPU's in the server.

RAM Limit: A VPS server can have any amount of RAM up to the RAM limit for that license type. LSWS will share this RAM with all other processes like normal.

Concurrent Connection Limit: If the Concurrent Connection Limit is reached, extra connections will be queued until there is room within the connection limit.

Caching

There are multiple caching add-ons available for LiteSpeed Enterprise Licenses. These caching solutions greatly reduce the need to serve dynamic pages, and in return greatly reduce system resource usage. If not already included, caching can be added to a LiteSpeed Enterprise license at any time.

Cache Add-on Applications Supported LSCache Objects Magento Objects
LSCache WordPress, Xenforo, Rewrite Rules, etc. Unlimited 0
LiteMage Starter Everything LSCache supports + Magento Unlimited 1,500 (?)
LiteMage Standard Everything LSCache supports + Magento Unlimited 25,000 (?)
LiteMage Unlimited Everything LSCache supports + Magento Unlimited Unlimited (?)

Starting with 2-CPU licenses, LSCache is included free of charge and LiteMage Starter is selectable at no charge.

Pricing

Owned License

A one time payment with one year of free LiteSpeed Enterprise upgrades included. If there is a need to upgrade LiteSpeed Enterprise to a newer version after this one year period, future upgrades can be purchased at a discounted price.

Leased License

Smaller monthly/yearly payments with the ability to upgrade LiteSpeed Enterprise any time at no additional cost.

Some Factors To Consider

Have you tried a trial license

We offer free 15-day trial licenses. These licenses are 2-CPU licenses with LiteMage Unlimited. Using a trial license may be a good way to figure out if LSWS is right for you and what type of license and cache solution you may need.

You can always upgrade or downgrade

Often, finding exactly the right license for your usage is a matter of trial and error. Different sites put pressure on different parts of the server. The best approach may be to purchase a license, then try upgrading or downgrading to see if it affects your service noticeably. You can upgrade or downgrade at any time and you will only be charged (or credited) the difference in the license cost for the remainder of the billing period.

What other processes are running on the same server

For example, if you have a 4 core server and run LSWS, PHP, and MySQL on the same server, you will probably be best served by a 1- or 2-CPU license. LSWS is light enough that it only needs access to 1 or 2 of this server's cores. PHP and MySQL (which are much more resource intensive than LSWS) will be unaffected by this limit and will still have access to all 4 of the server's cores.

When to upgrade

A top command will reveal important information about how different processes are using server resources. (LSWS's process is called lshttpd.) A couple of these outputs are useful for determining if the current LSWS installation could benefit from access to more cores:

  • %CPU - Generally LSWS's CPU usage is low. If LSWS's CPU usage starts climbing, and especially if it climbs while the overall load is low, it can indicate that LSWS is hitting a bottleneck and would benefit from access to more cores.
  • %wa - High I/O wait can also be an indicator that LSWS needs more worker processes (and thus access to more cores).

If the %CPU or %wa values are very high, it is best to upgrade to the next license tier. Keep in mind that we allow upgrading/downgrading licenses at any time with no downtime.

Some editions and licenses have a limit on the maximum number of concurrent connections. The VPS license has a limit of 500, and Ultra VPS has a limit of 800. If LSWS is already installed, the number of concurrent connections can be checked in the Real-Time Statistics report in the WebAdmin Console.

Even without using the WebAdmin Console, the following command can check the current number of concurrent connections.

netstat -an | grep 80 | grep ESTA | wc -l

It may be surprising how few concurrent connections there are. For example, a forum with 3,000 users online might use 300 concurrent connections or less, as those 3,000 users are not all executing actions at the exact same time.

LiteMage Starter and Standard both have limits on the number of cached objects they can store. To figure out if a higher tier of LiteMage is needed, check the current Cached Object count located under Cache Management in the Magento Admin Panel. If the total is either 1500 ( LiteMage Starter ) or 25,000 ( LiteMage Standard ), it is recommended to upgrade to the next LiteMage tier to support caching more/all pages.