I am running a micro GCP instance of VM with Linux Ubuntu. I run Apache and Django web application on that VM.
It worked fine in the past – at least a few months. The website hits have increased from something like 50 hits per day to something like 200 hits per day (according to GA). I create some changes in the application also – but I suppose none of those changes should drain resources.
Now the VM gets completely not responding (cannot access pages, cannot log in via SSH) sometimes and the only way how to make it working again is the restart of the VM.
Are there problems normal? Is this caused purely by the increased number of daily visits? Is this the micro instance limit for a simple Django app?
Is it worthy to optimize the app – caching, compressing static files… will it incrase cap of the application significantly?
Or is this behaviour weird and there should be some other problem? (should be the visit cap much higher?)
How to measure and track this issue in some nice way? I know only the google cloud console, and the graphs there are not helping at all.