I´m using:
- Google Cloud Compute Engine
- Linux Debian + Apache2
- Google Cloud SQL
- Wordpress
Yesterday my CPU started increasing from 1-5% to 80-90%. I was developing on a wordpress site as it happened, but that could cause the failure. I had the same thing a couple of days ago, so I finally stopped the VM-Instance, cloned it to a new one and also recovered the Database from the day before.
After that it works better than before! Before I had constant 10% CPU usage - after that 1% sometimes up to 5%. Then at 10:10 pm it starts to increase again. Also the pageload increase to 15 Sek and more.
My SQL Instance takes a snapshot everyday between 10:00 pm - 2 am. which is also the time both happened.
Here is a screenshot of the CPU Usage:
Maybe the proccesses are helpfull too:
www-data 4184 6.4 1.0 320160 81604 ? S 13:25 0:38 /usr/sbin/apache2 -k start
www-data 4204 6.0 1.2 332204 93596 ? S 13:26 0:30 /usr/sbin/apache2 -k start
www-data 4222 6.0 1.2 331948 93340 ? S 13:28 0:25 /usr/sbin/apache2 -k start
www-data 4244 6.4 1.0 320928 82320 ? S 13:29 0:21 /usr/sbin/apache2 -k start
www-data 4245 6.4 1.7 373280 134724 ? S 13:29 0:21 /usr/sbin/apache2 -k start
www-data 4249 6.6 1.2 331696 93136 ? S 13:29 0:21 /usr/sbin/apache2 -k start
www-data 4253 6.4 1.2 332212 93636 ? S 13:30 0:16 /usr/sbin/apache2 -k start
www-data 4271 6.2 1.2 332972 94344 ? S 13:31 0:14 /usr/sbin/apache2 -k start
www-data 4277 6.2 1.5 357044 117944 ? S 13:32 0:09 /usr/sbin/apache2 -k start
www-data 4278 6.3 1.2 332972 94344 ? S 13:32 0:09 /usr/sbin/apache2 -k start
www-data 4283 6.3 1.5 356788 117664 ? S 13:32 0:09 /usr/sbin/apache2 -k start
www-data 4286 5.8 1.2 331696 92852 ? S 13:32 0:08 /usr/sbin/apache2 -k start
www-data 4287 6.6 1.5 357040 117576 ? S 13:32 0:09 /usr/sbin/apache2 -k start
www-data 4300 5.7 1.2 331180 92316 ? S 13:34 0:03 /usr/sbin/apache2 -k start
www-data 4301 6.0 1.2 332976 94120 ? S 13:34 0:03 /usr/sbin/apache2 -k start
www-data 4302 5.9 1.2 332976 94116 ? S 13:34 0:03 /usr/sbin/apache2 -k start
www-data 4304 6.2 1.2 331180 92316 ? S 13:34 0:03 /usr/sbin/apache2 -k start
www-data 4305 5.8 1.2 333232 94392 ? S 13:34 0:03 /usr/sbin/apache2 -k start
www-data 4306 6.2 1.2 333232 94372 ? S 13:34 0:03 /usr/sbin/apache2 -k start
I´m not a pro, so every Litte Help would be great!