Posted: November 21, 2013 at 7:53 am
|
Our site is unbearably slow even without very many users hitting it, and the hosting provider is throttling our access because the site is taking up too much of the CPU. I have called hostmonster to see what they have to say, and they say that the server is running fine and we need to performance tune our site. When I run a top command in SSH it appears that every request to the site is spawning a new PHP process, which I imagine could be part of the problem, so I’m calling hostmonster back to see if they can configure that differently. So what can I do to get better responsiveness on this? 1. Do you know anything about what makes extra PHP processes be spawned? Is there anything I can do in the code to help with that? 2. Is EE coded so that connections to the database are pooled and cleaned up well already because it’s using the wpdb API? I am using a customized version of espresso_table.php for our main class listing page… could I have inadvertently added something there that would have caused the dB calls to be ineffecient? 3. Is there a way to cache the event list pages? Should I use a WP Super Cache plugin, or perhaps some other caching tool? Any other ideas would be much appreciated. We just opened registration today and people can hardly even sign up for events it is so bad!! |
|
1 – That’s more of a php – apache configuration issue. I would imagine that each request would create a new php thread, but that as soon as the request is served, that it would close that thread. |
|
All of my customizations either tweaked existing queries, or in a few places I had to add a query, but I followed the same coding example, using wpdb, so I would think that would be fine. I know my theme is inefficient, but I wouldn’t think it’s so inefficient that my server would get throttled when 50 people are visiting the site. I’m looking into that now. So is it possible to run EE in a shared hosting environment, or is it just not compatible, no matter what you do with it caching-wise? |
|
Also, do you have a caching plugin that you recommend which allows for certain pages to not be cached? |
Lots of folks use shared hosting to run Event Espresso, but the amount of traffic on the site may be less in those use cases. Both W3 Total Cache and WP Super cache have the “do not cache these pages option”. I like WP Super Cache a bit more because it’s easier to set up/doesn’t have as many nag screens. |
|
The support post ‘major performance problems – ideas to help?’ 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.