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
litespeed_wiki:cloudlinux:cl_lve_vs_lsws_php_suexec_max_conn [2017/08/28 18:00]
Johathan Kagan
litespeed_wiki:cloudlinux:cl_lve_vs_lsws_php_suexec_max_conn [2019/05/17 21:21] (current)
Kacey Schroeder
Line 8: Line 8:
 If the site has limits set on memory or its number of processes, then the user will receive 500 or 503 errors that the server cannot execute the script. If the site has limits set on memory or its number of processes, then the user will receive 500 or 503 errors that the server cannot execute the script.
  
-[[https://​www.litespeedtech.com/​docs/​webserver/​config/​general#​phpSuExecMaxConn|PHP suEXEC Max Conn]] is a LiteSpeed Web Server setting which specifies the maximum number of concurrent PHP processes that can be created by LSWS for each user when running PHP scripts in suEXEC mode. The default value for this setting is 5. This limit is per user per lshttpd process. Thus, if you have a 2-CPU license, this limit will be doubled. The limit will be 4x for a 4-CPU license, and so on.+[[https://​www.litespeedtech.com/​docs/​webserver/​config/​general#​phpSuExecMaxConn|PHP suEXEC Max Conn]] is a LiteSpeed Web Server setting which specifies the maximum number of concurrent PHP processes that can be created by LSWS for each user when running PHP scripts in suEXEC mode. The default value for this setting is 5. This limit is per user per lshttpd process. Thus, if you have a Web Host Professional ​license, this limit will be doubled. The limit will be 4x for a Web Host Enterprise ​license, and so on.
  
 Limits on entry processes(EP) control the number of entries into an LVE. NPROC controls the total number of processes within an LVE. Once the limit is reached, no new processes can be created (until another one dies). When that happens, the NPROC counter is incremented. In these cases, LSWS might return 500 or 503 errors. Limits on entry processes(EP) control the number of entries into an LVE. NPROC controls the total number of processes within an LVE. Once the limit is reached, no new processes can be created (until another one dies). When that happens, the NPROC counter is incremented. In these cases, LSWS might return 500 or 503 errors.
Line 20: Line 20:
 <​html><​center><​strong>​SuExec_MaxConn = CloudLinux EP / #CPU License</​strong></​center></​html>​ <​html><​center><​strong>​SuExec_MaxConn = CloudLinux EP / #CPU License</​strong></​center></​html>​
  
-For example, if you have an EP limit of 20 and a 2 CPU license:+For example, if you have an EP limit of 20 and a Web Host Professional ​license:
  
 <​html><​center><​strong>​SuExec_MaxConn = 20 / 2</​strong></​center></​html>​ <​html><​center><​strong>​SuExec_MaxConn = 20 / 2</​strong></​center></​html>​
  • Admin
  • Last modified: 2017/08/28 18:00
  • by Johathan Kagan