Hi All, Looking for some advice, I am currently hosting a wordpress blog with about 500 unique users per day and around 1,000 page views. I am running a VPS with Atlantic.net (atlantic.net/cloud-hosting/cloud-server-pricing.html) I am running the Small package 1GB RAM, 2.4Ghz Xeon. The problem is my site is constantly running out of resources and hanging, php out of memory.If I upload a new article or edit existing article, boom server dies and requires "hard reset, not even soft reset work, cant login into WHM to kill processes or anything. I am hosting WHM/Cpanel, which does consume resource but the min requirement for Cpanel are less than half my VPS resources. Atlantic are saying I need to upgrade to the Medium package, 2GB, 2.4GHz Xeon which is a $40 per month hosting package for single wordpress blog. Doesn't seem right to me. So my question is: Is the down to: Atlantic.net is crappy hosting ? There are configuration issues with my server or PHP ? Those are the realistic resource requirements for this type of site and traffic ? Thanks in advance ...
Hello there, Have you done any server optimization yet? Tuning MySQL will help you keep the load down. You could also try a setting up Nginx as the web server, that feeds into Apache. Enabling PHP caching will help as well. What about any WP optimizers, are you running any of them? Regards, Chris
first of all try optimizing your wordpress like installing a cache plugin ( if not using ) best one out there is w3 total cache and optimizing mysql database table with plugin wp-optimize. Remove unwanted plugins and delete deactivated plugins and themes. And use cloudflare free plan that will help you to reduce load on your server. Then see how its goes. i think this should be fine , you dont need to upgrade to medium package after doing these .
Im with RHS-Chris. I would look at your MySQL configuration and set up Nginx if possible. I could share the configs from my VPS which has similar specs. You should be able to handle that load pretty easily.
You can reduce your server's memory usage in less than a minute: Edit your Apache configuration (/etc/httpd/conf/httpd.conf) and set the following: MinSpareServers 2 MaxSpareServers 5 StartServers 3 Restart your Apache service: /etc/init.d/httpd restart However, it is the best to install the ApacheBooster WHM plugin (integration of nginx and varnish) using the following commands: wget http://prajith.in/downloads/apachebooster.tar.gz tar -zxf apachebooster.tar.gz cd apachebooster sh install.sh Code (markup): It will reduce the server's CPU and memory usage significantly.