Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:license:what_license_to_choose [2014/04/22 14:51]
Kevin Fwu
litespeed_wiki:license:what_license_to_choose [2016/04/15 15:37]
Michael Alegre removed
Line 22: Line 22:
 **Notes:** VPS and Ultra VPS licenses will not install on a dedicated server or a VPS over their respective RAM limits. If the concurrent connection limit is surpassed, extra connections will be queued until there is room in the connection limit. Currently supported VPS platforms are KVM, HyperV, Virtuozzo, OpenVZ VPS, XEN, VMWare and UserModeLinux VPS. **Notes:** VPS and Ultra VPS licenses will not install on a dedicated server or a VPS over their respective RAM limits. If the concurrent connection limit is surpassed, extra connections will be queued until there is room in the connection limit. Currently supported VPS platforms are KVM, HyperV, Virtuozzo, OpenVZ VPS, XEN, VMWare and UserModeLinux VPS.
  
-===== Choosing the Right License ​for You =====+===== Choosing the Right License =====
  
 You do **NOT** need to buy a license to match the number of CPUs or cores on your physical server. The number of CPUs in the license title simply denotes the number of cores the LSWS process will be able to utilize. LSWS is fast and lightweight enough to run very, very well on only a fraction of the server'​s cores. In almost all cases, you are better off buying a license for a fraction of your server'​s cores and leaving the other cores for heavier processes like PHP and MySQL. You do **NOT** need to buy a license to match the number of CPUs or cores on your physical server. The number of CPUs in the license title simply denotes the number of cores the LSWS process will be able to utilize. LSWS is fast and lightweight enough to run very, very well on only a fraction of the server'​s cores. In almost all cases, you are better off buying a license for a fraction of your server'​s cores and leaving the other cores for heavier processes like PHP and MySQL.
Line 39: Line 39:
   *  Do you have a high volume of HTTPS traffic?   *  Do you have a high volume of HTTPS traffic?
 HTTPS requires more CPU power for encryption. You may find that giving LSWS access to more cores in this case improves performance. Do not overestimate this effect, though. Unless your server only serves static HTTPS, LSWS should still only have access to a fraction of the server'​s cores. HTTPS requires more CPU power for encryption. You may find that giving LSWS access to more cores in this case improves performance. Do not overestimate this effect, though. Unless your server only serves static HTTPS, LSWS should still only have access to a fraction of the server'​s cores.
 +
 +==== Indicators that you might need to upgrade your license ====
 +
 +A ''​top''​ command will reveal important information about how many resources different processes are taking on your server. (LSWS'​s process is called ''​lshttpd''​.) A couple of these outputs are useful for determining if your installation of LSWS needs 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 your overall load is low, that 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).
  
 === How do I check how many concurrent connections I have? === === How do I check how many concurrent connections I have? ===
  
-Some editions and licenses have a limit on the maximum number of concurrent ​connection ​you can serve. Standard Edition has a limit of 150 concurrent connections. The VPS license has a limit of 500, and the Ultra VPS a limit of 800.+Some editions and licenses have a limit on the maximum number of concurrent ​connections ​you can serve. ​Our Standard Edition has a limit of 150 concurrent connections. The VPS license has a limit of 500, and Ultra VPS has a limit of 800.
  
 If you've already installed LSWS, you can check the number of concurrent connections in the Real-Time Statistics report in the WebAdmin console. If you've already installed LSWS, you can check the number of concurrent connections in the Real-Time Statistics report in the WebAdmin console.
  
 Even without LSWS you can use the command <​code>​netstat -an | grep 80 | grep ESTA | wc -l </​code>​ to check the number of concurrent connections. The number returned by this command is your current number of concurrent connections. You may be surprised how few concurrent connections you have. (For example, a forum with 3,000 users online might use 300 concurrent connections or less, as those 3,000 users do not all execute actions at the exact same split second.) Even without LSWS you can use the command <​code>​netstat -an | grep 80 | grep ESTA | wc -l </​code>​ to check the number of concurrent connections. The number returned by this command is your current number of concurrent connections. You may be surprised how few concurrent connections you have. (For example, a forum with 3,000 users online might use 300 concurrent connections or less, as those 3,000 users do not all execute actions at the exact same split second.)
  • Admin
  • Last modified: 2018/11/29 14:27
  • by Michael Alegre