Support

Home Forums Event Espresso Premium Websites keeps crashing with EE

Websites keeps crashing with EE

Posted: November 30, 2015 at 12:27 pm


Elizabeth

November 30, 2015 at 12:27 pm

All we are using mainly is EE3 on my customers sites…

Hosts excuse:

Thanks for your patience. I’ve checked this for you and found that your scripts generate a lot of errors like below:

mod_fcgid: can’t apply process slot

This means that the site is hitting the maximum concurrent processes which is allowed for the user on the server. Generally, this most commonly caused by sites that are poorly coded and recursively call resources from the site for each request.

Basically, this means that you have a PHP script, which calls another PHP script, which calls another PHP script until all the resources have been loaded. This is usually done using something like file_get_contents() which actually opens another separate connection from the web server to itself to call the script. This is not an acceptable way to include PHP files and places a large strain on the web server. You should use require() or include() to load resources in other PHP files, or at the very least, limit any recursion to 1 extra outside call per request. If this change is made, you’ll generally notice a large speedup in page load times and a reduction in resource usage.


Josh

  • Support Staff

November 30, 2015 at 4:57 pm

It turns out that EE3 does not use file_get_contents() to include PHP files. If you have any more information about why you suspect EE is leading to your website crashing, or any information from your host that pertains to this, please let us know and we can investigate further.


Elizabeth

November 30, 2015 at 5:11 pm

Thanks….I was just sending what they said. Ill check another plugin to see if it is the issue.

The support post ‘Websites keeps crashing with EE’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso