Instead of having a productive day with offers I have just spent 5 hours sorting out a very very slow server.
Turned out that a couple of the sites on my server (it is a VPS) were going over the process limit, which was slowing all my sites to a crawl.
So, I installed a good caching plugin on the troubled sites and even started using the Amazon Cloudstore CDN service.
This really made a difference to the sites as now Amazon is serving the bulk of the content form a damn fast server!
I finally increased my memory limit on the server and all now seems well.
it is now 19:21 in the UK and I am ready for food!
Bring on tomorrow!
I take it by plugin you're referring to a wordpress site? They can be resource hogs for sure.
@thedudeabides It seems that a plugin called Popup Domination was one of the culprits. It is a shame as it is a really good plugin.
The main problem site is now loading really fast due to using the Amazon CDN to serve up the bulk of the images etc.
Install phpSysInfo and check it every now and again to make sure you're on top of things.
I reckon if you have all the caching in place you'll be able to downgrade your memory.
Edit: Just saw you posted again, you should be able to get a static popup dom installed fairly easily that won't hog any resources. It's just an extra bit of html/js that can be cached.
@snipe Thanks for that. Do I just upload it to my server?
Do you know of any light weight Pop Up Plugins?
I have to say that the W3 Total Cache wordpress Plugin has reduced the load time of the heaviest website by more than it promised. It used to load in about 11 seconds. Now it loads in less that half a second! Amazing!
move your wordpress sites to elsewhere, leave room for your cpa marketing stuff, if your sites keep hogging the resources
You might want to switch to litespeed or nginx rather than using apache, apache known for hogging resources especially under high load, might want to implement reverse proxy such as varnish cache at your web server frontend. Hire an experience linux system admin at odesk to help you this or engage someone from server management company, check out webhostingtalk.com, there are talented people in that forum. Turn on the sql query cache in MYSQL, also will reduce your MYSQL load.
Oh god, Wordpress. I just spent countless hours trying to optimize a Wordpress installation for a project few months back. It's pretty unbelievable that a "simple" CMS doesn't run properly with 1GB VPS without some serious optimizing. This is a common problem with newer Wordpress versions.
I ended up with Nginx, PHP5-FPM with XCache and MariaDB. And W3 Cache or what's that called and on top of that, Cloudflare.
By the way, you are ok if you are running just a static blog BUT if you run membership area or anything where people register, then you are fucked because W3 and other cache plugins are not smart enough to cache for logged in users.
Don't even think about Apache if you are running MySQL in the same server. Both eat a lot of memory and you really want your database to have the memory instead of your web server.
Hi
Thanks for all the comments.
The W3 Total Cache does have the ability to use Varnish Cache and XCache, which is implemented on the server.
I use Dreamhost as I like their support.
Funny that you mention a separate server for my CPA and Tracking as that is what I fell asleep deciding last night. I do not want conversions hit by people bouncing due to slow loading landing pages.
@qhead - I think the latest version of W3 Total Cache can differentiate between logged in users now but you make a good point as I am developing a membership site for people trying to lose weight. I had to lose weight prior to spinal surgery 7 weeks ago. I lost 24lb on the Dukan diet and kept a daily video log and a detailed log of what I ate, how I cheated and still lost weight. I bought Sonic Member as I really like their multiple dashboard feature, which I can use for different membership levels.
Ah well, the learning continues! Thanks everyone!
+1 for moving away from Apache. These days it's just eclipsed in almost every way possible by Nginx.
Also, if you have the memory for it, Varnish is the dog's bollocks. Not easy to set up, but an OMFG performance increase.
@qhead - MariaDB? How much of a hassle was that to set up vs performance increase? I've been meaning to test it.
(Note - if you're running a project with any kind of serious profit upside, I'd recommend just running it on a dedicated Wordpress host. That's what I did - saved me huge amounts of hassle and sped the site up in the bargain.)