Restart LiteSpeed Web Server to apply the new value. (Replace XX with the value you wish to apply, for example, 10.) To apply a new max children process limit globally, open the LiteSpeed WebAdmin Console, navigate to Server conf > App server > Python WSGI Default Settings > Environment, and add LSAPI_CHILDREN=XX. (0, os.path.dirname(_file_))ĭef application(environ, start_response): You can use the following script to verify that the max children process limit has been increased accordingly: The default value is 6, but 10 or 15 might be more appropriate for your traffic level.Ĭlick Save in the upper right corner, and restart the application in order to reload the variables. Create a new variable with the name LSAPI_CHILDREN and set the value as you see fit. Navigate to Environment variables > Add variable. Navigate to cPanel > Set up Python App and select Edit for the app that needs the limit adjusted. This might be preferred in a dedicated hosting environment because it may be faster to recycle existing processes, even if it means sometimes running unused processes. See the LSAPI_AVOID_FORK documentation to avoid frequently stopping and starting child processes. Avoid app frequently stopping and starting ¶ The server is processed by the Node.js function of LiteSpeed automatically. LiteSpeed Memcached LiteSpeed MemcachedĪny port specifications in the listen function are ignored. LSCache Developers Guide LSCache Developers Guide.LSCache Without a Plugin LSCache Without a Plugin.Avoid app frequently stopping and starting.How LiteSpeed Works with NodeJS Selector.CloudLinux CloudLinux Table of contents.WHM LiteSpeed Plugin WHM LiteSpeed Plugin.External Applications External Applications.LiteSpeed Web Server LiteSpeed Web Server.Should you have any further questions about our LiteSpeed Hosting package, please feel free to contact us. cPanel Support means that LiteSpeed Web Server and cPanel can co-exist together seamlessly in a beneficial manner.īenchmarks show that LiteSpeed performs up to 45x faster than Apache:Ĥ,506% faster than Apache 2.4 with suPHP and keep-alive enabledģ,911% faster than Apache 2.4 with suPHP and keep-alive disabledĢ03% faster than Apache 2.4 with PHP-FPM and keep-alive enabledġ74% faster than Apache 2.4 with PHP-FPM and keep-alive disabledĨ6% faster than NGINX with PHP-FPM and keep-alive enabledħ6% faster than NGINX with PHP-FPM and keep-alive disabled.htaccess, mod_rewrite, and mod_security are available. Apache Compatibility ensures that features such as.HTTP/2 Hosting support allows your SSL-hosted websites to automatically benefit from better performance in modern web browsers.This results in a significant reduction in memory consuption and CPU usage. Event-Driven Architecture means that LiteSpeed Web Server can serve a large number of clients concurrently while minimizing the number of processes and threads.Here’s a quick list of features that come with our LiteSpeed Hosting package: Nightly Backups ensure that all of your websites remain safe and secure in the event of a disaster.RAID-Protected Storage Arrays for speed and data redundancy.Enterprise SSD Drives for the ultimate in speed and reliability.You may host any domain that allows you to change its nameservers (DNS). International Domain Names are supported on your hosting account.CloudLinux ensures that your LiteSpeed-powered websites remain stable and secure at all times.
0 Comments
Leave a Reply. |