Hot answers tagged

2

As Iain described above the kernel module is killing apache I recently had similar issues, my first solution was to lighten the load on apache... particularly the wp-cron.php file. Disabling the file running in wordpress on every click of every page and making a manual cron removed lots of load from the server: ...


2

When your system invoked the OOM killer, you appear to be running 161 httpd processes, that seems to be a little excessive for a system that gets <50 users/week. The first thing I would do is reduce the number of httpd processes your system will spawn and keep alive To do this adjust values of StartServers, MinSpareServers, MaxSpareServers, ServerLimit, ...


1

You didn't post any error logs or other precise information about the downtime so I can only be general for now... The moment you launch any server, right away it will be under attack. It's the sad fact of online life. You have no real traffic yet, but already see spikes. Typical sign of attack probes. Ward off these attempts with for example Fail2Ban. ...


1

My best guess with the tiny amount of information you've given is that HSTS is still in effect, and that by disabling HTTPS on CloudFlare you've told the website it must be HTTPS and forced CloudFlare to only support HTTP. I suggest turning HTTPS back on in CloudFlare. You can't use your own HTTPS certificate if CloudFlare is in front of your website ...


1

I would install using the wordpress.org package. Wordpress keeps itself up to date, so staying up to date using apt wouldn't be useful and could potentially conflict. However setting up Nginx, MySQL, etc using apt-get is a good choice. Even better, use EasyEngine. It automates a lot of things including setting up a caching layer.


1

localhost will be the server on which the server is executing and will generally be a local loop back address such as 127.0.0.1 and set up in the /etc/hosts file.


1

Whenever I find a site is going slow I run it through http://tools.pingdom.com/fpt/ it generally gives you some insight into whats slowing it down and where its coming from.



Only top voted, non community-wiki answers of a minimum length are eligible