Hi,
I think I dont understand how Entry Procs is counted or we are dealing with an issue.
We are using mod_fcgid with suexec to run php. Also we are using mod_hostinglimits. Our Apache is running worker mpm.
What I understand is when new request is coming to php script it enters LVE context and then php-cgi process is spawned inside that LVE. After processing is done and request is completed the php-cgi process stays alive. That is expected as mod_fcgid manage php-cgi processes. Now, when request is done I would expect EP counter to decrease but I think it doesnt because php-cgi is still alive - in fact still running inside LVE. When next request is coming it might be increasing counter again but possibly it would enter the same LVE context. So we end up with hitting EP limit and having less php-cgi processes running, eg EP limit is set to 300 but there is only 20 php-cgi processes running. In this scenario we would expect EP count to be less or equal to process count. Is this our mistake we are using mod_hostinglimits along with mod_fcgid? We dont have any LVE specific settings for mod_fcgid.
As per mod_hostinglimits docs: "mod_hostinglimits [...] Puts apache process used to serve that request into LVE for the user determined [...]" - what is being put in LVE: a whole apache process or a thread used to execute given request? Im asking this question because we faced an issue when heavy traffic site caused other sites to behave like they are running inside same LVE.
When using suexec it will count EP double? I mean mod_hostinglimits increases counter and then suexec is doing the same. With mod_hosting limit disabled we saw that EP isnt counted at all.
We are running bit old lve 1.1-0.37 and dont have a way to do update now. Im just looking for confirmation if things we see are issues already fixed in next versions or they are not lve issues and we should fix our config.
Regards,
PawelP
I think I dont understand how Entry Procs is counted or we are dealing with an issue.
We are using mod_fcgid with suexec to run php. Also we are using mod_hostinglimits. Our Apache is running worker mpm.
What I understand is when new request is coming to php script it enters LVE context and then php-cgi process is spawned inside that LVE. After processing is done and request is completed the php-cgi process stays alive. That is expected as mod_fcgid manage php-cgi processes. Now, when request is done I would expect EP counter to decrease but I think it doesnt because php-cgi is still alive - in fact still running inside LVE. When next request is coming it might be increasing counter again but possibly it would enter the same LVE context. So we end up with hitting EP limit and having less php-cgi processes running, eg EP limit is set to 300 but there is only 20 php-cgi processes running. In this scenario we would expect EP count to be less or equal to process count. Is this our mistake we are using mod_hostinglimits along with mod_fcgid? We dont have any LVE specific settings for mod_fcgid.
As per mod_hostinglimits docs: "mod_hostinglimits [...] Puts apache process used to serve that request into LVE for the user determined [...]" - what is being put in LVE: a whole apache process or a thread used to execute given request? Im asking this question because we faced an issue when heavy traffic site caused other sites to behave like they are running inside same LVE.
When using suexec it will count EP double? I mean mod_hostinglimits increases counter and then suexec is doing the same. With mod_hosting limit disabled we saw that EP isnt counted at all.
We are running bit old lve 1.1-0.37 and dont have a way to do update now. Im just looking for confirmation if things we see are issues already fixed in next versions or they are not lve issues and we should fix our config.
Regards,
PawelP
Comment