Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cloudlinux:cl_lve_vs_lsws_php_suexec_max_conn [2016/10/05 18:57] Rob Holda |
litespeed_wiki:cloudlinux:cl_lve_vs_lsws_php_suexec_max_conn [2019/05/16 20:06] Kacey Schroeder |
||
---|---|---|---|
Line 15: | Line 15: | ||
For non-shared hosting environments, ''PHP suEXEC Max Conn'' can be adjusted to values a little higher such as 50 or even 500 but generally not over 1000. | For non-shared hosting environments, ''PHP suEXEC Max Conn'' can be adjusted to values a little higher such as 50 or even 500 but generally not over 1000. | ||
+ | |||
+ | The easiest way to determine what the SuExec Max Conn limit should be is to use the following equation: | ||
+ | |||
+ | <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: | ||
+ | |||
+ | <html><center><strong>SuExec_MaxConn = 20 / 2</strong></center></html> | ||
+ | |||
+ | The result of this equation is the maximum number that the SuExec Max Conn field should be; in this case SuExec Max Conn should be set to 10. If the CloudLinux EP or #CPU License is an odd number ( other than 1 ), be sure to round the SuExec Max Conn result down as rounding up may go over the maximum CloudLinux EP limit and create additional issues. | ||
+ |