Strapi Resource Usage Spike After Few Days Idle

Project ID: db97d79d-6384-426e-aa18-d285850494a1 Hello, I am currently working on a personal project that utilizes strapi for the backend. I was able to get strapi up and running on railway, and our partner and I were able to access the service from react. However, after a few days, the server seemed to spike in system resource cosumption. This spike seemed to happen in the early morning (around 3-4 am) when we were not using the sevice at all. I looked around the discord and saw the tip about setting the min pool # of connections to 0. I applied that fix and redeployed the server. It seemed to work fine for a few days but then sure enough the system resources spiked again. Im kinda at a loss of what could be triggering this spike, so any help would be greatly appeciated. Attached are screenshots showing the usage. I am currently on the hobby plan, so keeping the resource usage low is a requirement for this project. Thank you so much.
3 Replies
Percy
Percy16mo ago
Project ID: db97d79d-6384-426e-aa18-d285850494a1
jennyleidig
jennyleidigOP16mo ago
Note: I should add that there is nothing abnormal in the logs from the strapi instance.
chopper_._._
chopper_._._16mo ago
Hi! Could you please share the config you used? I'm trying to get a Strapi running in a hobby plan as well but for some reason the memory consumption is always maxed
Want results from more Discord servers?
Add your server