Web service stops responding

I recently found out about render and decided to give it a try, I managed to deploy a free tier web service - an express server that serves react build files (MERN)

if (process.env.PROD==="true") {
    //Set static folder up in production
    app.get('*', (req,res) => res.sendFile(path.resolve(__dirname,'..', 'client', 'build','index.html')))

Currently the server connects to MongoDB atlas to do CRUD operations, and there’s an option for users to upload files to the server (I know that the disk storage on the server is ephemeral for the free plan), and it works completely fine, I am able to do everything without error, except that after a few minutes the website just stops responding as if the server crashed.
I checked the events and logs, but there’s nothing indicating that the express server failed. I am aware that on the free tier, after 15 minutes of inactivity the server spools down, but it seems like it spools down even before that amount of time.

I’m not sure if it’s something that I am doing wrong (I’m pretty new to this), or there’s some fine print in render’s free plan limit that I haven’t read.

If there’s any more information that I could share, i’ll gladly do it.


Confirm +1
Also having the issue If I access the service a few minutes before it’s scheduled to go cold. Redeploy fixes it until it happens again and it hangs indefinitely on the request. Interestingly I’m also using MongoDB (connecting to MongoDB Atlas free tier) but using Kotlin and Http4K as a web framework.

If I had to guess this is an automatic thing to stop people from preventing service sleep. If that’s the case it would be nice to have it documented somewhere.

1 Like

Same Issue for me, though with next.js and postgres sql. I’m on the free plan. If paid helps thats fine for me but this seems like unexpected and not intended behaviour.


There is this thing that free plans are suspended after 15min of inactivity but as i understand it, its supposed to come back up on request taking 30s…

This feels like a very odd behaviour. Free plans are put to sleep after 15 minutes of inactivity. If you can share a service that exhibits this and steps that we could perform to duplicate this behaviour then we can take a look,


John B