Does my droplet "sleep" when inactive?

April 9, 2018 227 views
DigitalOcean Ubuntu 16.04

(Why was my original question deleted after posting as "spam"? I took the time to write a carefully thought out question, and it was deleted.)

I'm noticing that the first request of the day to a personal app I'm developing on a 1GB droplet is taking an extraordinarily long time to complete. The prior night everything is fine, but it's the initial request the following morning. (I am not shutting down the instance at night.)

Does a droplet somehow "sleep" when inactive? This is for a standard Rails/Postgres stack fronted by Nginx.

The behavior reminds me of Heroku or AWS Lambda, but I wouldn't expect that from a VPS.

Is there something I should be looking for or checking? I can't imagine what would cause that to happen. I'm not having any network issues or similar. The initial request completes, but only after a very long time, then everything is back to normal again.

I could add something to ping regularly, but I wouldn't expect that to be necessary.

Any ideas? Thanks.

1 Answer

| (Why was my original question deleted after posting as "spam"? I took the time to write a carefully thought out question, and it was deleted.)

Sorry for the trouble. We use an automated spam filter and while it's usually quite good we do see false positives from time to time. Let us know at cm@digitalocean.com if this ever happens again. We can manually approve a question or comment.

Your droplet does not sleep. The dedicated VM instance runs unless you shut it off.

Have another answer? Share your knowledge.