Support

Home Forums Event Espresso Premium EE4 crashing my server

EE4 crashing my server

Posted: July 11, 2018 at 1:50 pm


Elizabeth

July 11, 2018 at 1:50 pm

I have 12ish Event Espresso sites on my server and my server keeps crashing. I use Inmotion which is a top host. They have checked into the issue and said:

The gist of it is that all resources on a server are shared between the users and applications equally, if one hungry site eats up all the resources, or in your case a few; you will not have a sever which functions in a holistic way.

Please take the action advised, and disable WP ajax/WP cron whree you may : https://www.inmotionhosting.com/support/website/wordpress/disabling-the-wp-cronphp-in-wordpress

=== Top sites with an issue per dom-logs ( changed daily logs ) ===
187 => ajax => /usr/local/apache/domlogs/mmlawrenceville/mmlawrenceville.com-ssl_log
142 => ajax => /usr/local/apache/domlogs/masterpiecemixerslouisville.com-ssl_log
120 => ajax => /usr/local/apache/domlogs/masterpiecemixerscapecoral.com-ssl_log
153 => ajax => /usr/local/apache/domlogs/masterpiecemixersgv.com-ssl_log
158 => ajax => /usr/local/apache/domlogs/masterpiecemixersjc.com-ssl_log
187 => ajax => /usr/local/apache/domlogs/mmlawrenceville.com-ssl_log
153 => ajax => /usr/local/apache/domlogs/mastergv/masterpiecemixersgv.com-ssl_log
120 => ajax => /usr/local/apache/domlogs/mastercape/masterpiecemixerscapecoral.com-ssl_log
158 => ajax => /usr/local/apache/domlogs/masterjc/masterpiecemixersjc.com-ssl_log
101 => cron => /usr/local/apache/domlogs/mastersuwanee/masterpiecemixerssuwanee.com-ssl_log
162 => ajax => /usr/local/apache/domlogs/mastersuwanee/masterpiecemixerssuwanee.com-ssl_log
322 => ajax => /usr/local/apache/domlogs/mmbraselton/mmbraselton.com-ssl_log
142 => ajax => /usr/local/apache/domlogs/masterlouisville/masterpiecemixerslouisville.com-ssl_log
101 => cron => /usr/local/apache/domlogs/masterpiecemixerssuwanee.com-ssl_log
162 => ajax => /usr/local/apache/domlogs/masterpiecemixerssuwanee.com-ssl_log
322 => ajax => /usr/local/apache/domlogs/mmbraselton.com-ssl_log
===


Josh

  • Support Staff

July 11, 2018 at 2:10 pm

Hi Dorian,

That’s more than a few too many sites of that type for that particular type of server.

For what it’s worth, the demoee.org site currently has over 200 active sites running Event Espresso 4 (it’s a multisite network). The hosting plan is roughly equivalent to the 4GB plan listed on Digital Ocean’s price page listed here:
https://www.digitalocean.com/pricing/

If you follow their advice to disable WP ajax/WP cron you’ll find that registrations and emails will no longer process.


Elizabeth

July 11, 2018 at 2:16 pm

Here is what I have:

https://www.inmotionhosting.com/vps-hosting

VPS-2000HA-S


Josh

  • Support Staff

July 11, 2018 at 2:48 pm

OK. In any case, if you follow the advice they gave you, registrations and emails will no longer process. For example, the registration page & the calendar page uses WP AJAX. So it’s really not an option or a solution to disable WP AJAX because Event Espresso uses that functionality.

Other options include fewer sites per server and/or using a managed host that knows WordPress. In no particular order these include (but are not limited to) :
ServerPilot
Pantheon
WPEngine
Pagely


Elizabeth

July 11, 2018 at 2:49 pm

I won’t disable it, but should the specs for what I have work?


Elizabeth

July 11, 2018 at 2:51 pm

How would a managed host that knows WordPress work differently?


Josh

  • Support Staff

July 11, 2018 at 2:54 pm

I can’t answer that question (edit: your first question about if you have enough server for that many sites). The specs on the pricing page don’t tell the whole story. Also, I don’t know how much traffic your sites are getting, and that’s a significant factor.

There are a lot of things that can be optimized within a server stack, and hosts & developers that know how WordPress works know where to make optimizations without removing functionality where it’s needed. Even things like correctly configured caching, compressing scripts, using a lightweight theme can help at the higher level of the stack.

  • This reply was modified 5 years, 9 months ago by  Josh. Reason: added clarification


Elizabeth

July 11, 2018 at 2:57 pm

All the locations do not get a lot of traffic. Not enough to affect the bandwidth any.


Elizabeth

July 11, 2018 at 3:02 pm

I just noticed they offer this: https://www.inmotionhosting.com/wordpress-hosting


Josh

  • Support Staff

July 11, 2018 at 3:43 pm

You could check with Inmotion hosting to see if they know if switching to one of their plans will help. If you go that route, you’ll likely need to go to a plan with enough room to spare (ie if you have 12 sites, then maybe get two of those that have a limit of 10 each, and put 6 sites on one and 6 sites on the other).


Elizabeth

July 25, 2018 at 7:38 am

I am still having issues… I am baffled on how you have 200 EE sites running on one server and I have 12 and it keeps crashing. And I have:

8GB RAM
6TB Bandwidth


Josh

  • Support Staff

July 25, 2018 at 8:05 am

Hi Dorian,

Have you taken any positive action towards getting the server resources you need in the last two weeks since starting this topic? If not then I would expect there to still be issues.

I’m afraid there’s not much we can do from our end to make this better if the solution you’re looking for is something like changing a setting, a change in EE’s code, or some other quick and easy fix. If I understand the problem, you’ve got 12 WordPress sites running various plugins on a web server, and that server cannot handle the load. The solution is going to be move the sites onto a server that can handle the load.

I’ve given you some recommendations for quality WordPress hosting providers. If you contact any one of them and explain the situation I’m confident they’ll be able to get you up and running with a hosting plan that will work for you.


Elizabeth

July 25, 2018 at 8:10 am

Does EE work on PHP 7.0 with no issues?


Josh

  • Support Staff

July 25, 2018 at 9:21 am

It works, although you should consider going to at least PHP 7.1 because the PHP development team is only supporting 7.0 until December of 2018.

http://php.net/supported-versions.php

The demoee.org server runs one of the later versions of PHP7.1.


Elizabeth

July 25, 2018 at 9:22 am

All the sites were on 5.6…do you think running 7 will help some with resources?


Josh

  • Support Staff

July 25, 2018 at 11:08 am

It may help some. The reason I think it may help some is because in our experience with upgrading demoee.org to PHP 7 from PHP 5, we found the sites were faster after the upgrade. They were already quite fast before the upgrade to PHP 7 though.

The support post ‘EE4 crashing my server’ 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