array(1) { [0]=> string(51) "black.friday.cyber.monday.promo: ending in 18 hours" } array(1) { [0]=> string(51) "black.friday.cyber.monday.promo: ending in 28 hours" }
my server monitoring services have been telling me that the site has been very slow and been taking a lot of CPU resources for the past week. I’ve been receiving emails and push notifications from the service bout this. I tried a few things to make the site faster. I prolonged site caches and also optimized my customized site caches. I also reinstalled APC (PHP memory caching) a few days back and i have been monitoring almost every hour that i’m awake. Just hoping that it wont hog the memory and make the servers on a stand still. But a few times a day it will go harewire and all.
Because of this, i made very unhappy and a few hours ago, i migrated the main webserver to a new one with NGINX with PHP FPM with another server mounted on it to host HTML cache files and also site assets. I even made the original 4gig Ram server to serve as a database only server. (Yes, i have 3 servers for this site! lol!). Tried for 2 hours but it was really slow and constantly going down. Luckily our DNS is under Cloudflare, so whenever i change the server IPs, the change is immediate.
So now, i going back to the drawing board. I might have screw up my NGINX rewrite rules that cause it to slow and go into an infinite loop. But we will see. I might use NGINX as my front and apache to server server side scripts. For the time I think i found an optimal buffer level for memory caching (APC) now… will see how it goes. I’m always wary about memory usage that’s why i didn’t install it initially. So please be patient… i’m currently busy with my other projects and i at times do not have time to update the site and bring the new version of the site (which is still in works)