[wp-hackers] APC-Nginx-Apache problems / memory problems on VPS

Mike Schinkel mikeschinkel at newclarity.net
Sat Aug 27 18:21:45 UTC 2011


Hi Ian,

Have you considered moving your hosting business to either ZippyKid or WPEngine.  Both are WordPress specialist hosts that focus on running high performance sites.  I believe they might be able help resolve your issues if you move your site to them and probably for no more than you are paying for VPS.  FWIW.

-Mike
P.S. 51 plugins?  Really?


On Aug 27, 2011, at 1:45 PM, Ian Douglas wrote:

> Many thanks to everyone who replied. The pointers given have been very useful.
> 
> At first we were getting RAM maxing out and crashing issues. Then we had difficulty getting online at all. 
> 
> Two things became clear:
> 
> 1. CloudFlare was not playing well with Nginx and we had to disable it and even reset the DNS entries. We kept getting 502 Gateway Errors. However, this may have been due to the issue we encountered today.
> 
> 2. Cpanel: chkservd scripts kept resetting the Apache port to 80. This basically kills Nginx, which ought to work on port 80.
> 
> We went to:  WHM -> Service Configuration -> Service Manager and unchecked HTTPD from the monitor column. Still it got reset.
> We edited the  /etc/chkserv.d/chkservd.conf  and added "httpd:0"  Still it got reset.
> 
> We had to have HostGator admin chattr the chksrvd configuration file, forcing Apache to maintain it's port 8081 configuration.
> 
> Currently, we're recompiling. Next we will try to figure out what is going on that is taxing the CPU / RAM so much. 
> 
> I seriously don't think it's a plugin. I'm not really using anything that I haven't used on a shared environment. And although there are 51 plugins currently active, only about 8 add content to pages. A good deal of the others are benign, like Show ID for the backend or Favicon My Blog. The only plugin I imagine that may put stress on the server is Disqus. I have a couple of Twitter plugins, but would these crash a 768MB VPS? I also have three flash banners on the main page, each around 800k. Big deal, right?
> 
> Other stats: 9000 posts, 600 users, but only a handful active. Maybe 10 comments a day right now.
> 
> The base theme is WP-Prosper by Solostream. I love their themes. Very clean and precise. WP-Prosper was released 2010. It's WP3+ compatible.
> 
> 
> QUESTION: 
> 
> I want to get the most efficient Wordpress install possible. Not just as a gimick, or to waste my own time, but for my end users, to ensure super fast access, and to get an install that allows our project serious growth in the period ahead.
> 
> Dion suggested that using Nginx makes W3TC redundant. Meanwhile, I read online various different views on the optimal use of applications / plugins like Nginx, APC, CloudFlare, Eaccelerator, W3TC, and Varnish.
> 
> Google CDN is also just around the corner.
> 
> What do people think is the optimal use of such applications / plugins?
> 
> At present I have Apache as a backend, and Nginx as a front end. I had to lose CloudFlare for now, but would like to look into Varnish, and possibly reimplementing CloudFlare (it has other features I think that are neat). Eaccelerator is also an option, via my VPS host.
> 
> Dion suggested that too many layers of caching could be a problem. I have not the technical knowledge of how these apps interact and differentiate to assess this.
> 
> What is the view of others?
> 
> I know some (perhaps many) will say, keep it simple, and I agree. But I'm asking about lightning fast, optimal installs. In particular with large scalability in mind, and run off a fairly modest VPS.
> 
> If anyone has suggestions for optimal use, please do share.
> 
> Thanks,
> ian
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list