![]() (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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |