Questions tagged [dyno]

Heroku Dynos are lightweight containers for running apps.

Dynos are isolated, virtualized Linux containers that are designed to execute user code on the Heroku platform.

136 questions
38
votes
1 answer

Is there a way to force a Heroku Dyno to sleep?

I'm trying to debug an API issue I have that occurs when my app tries to access a sleeping Heroku Dyno. The problem is it takes a while for a dyno to naturally sleep so it really slows down the debug process. I know how to turn off a dyno but the…
jeffjv
  • 3,461
  • 2
  • 21
  • 28
31
votes
3 answers

Deploy the backend and frontend on the same Heroku app/dyno

At the root of my project, I have a frontend and backend folder. Both folders contain a package.json that list their dependencies. How do I tell Heroku to run npm install on both folders when deploying the application? It seems like Heroku expects…
Maxime Dupré
  • 5,319
  • 7
  • 38
  • 72
12
votes
3 answers

How can I stop Heroku Dyno that is running a Rails task through Heroku Scheduler?

Heroku Scheduler uses a One-off Dyno to run the scheduled task. That dyno doesn't appear in Heroku Dashboard, but it's there. How can I restart it, or temporarily stop it?
Arslan Ali
  • 17,418
  • 8
  • 58
  • 76
9
votes
1 answer

Heroku maximum monthly charge with Hobby plan?

I have always been a free Heroku user however I recently changed an app to run on the Hobby plan. I noticed the hobby plan details say that it is $7/month/dyno. This confuses me a bit, is there any way I can be charged more than $7/month with one…
Dominic Farolino
  • 1,362
  • 1
  • 20
  • 40
9
votes
2 answers

How to schedule Heroku's (maintenance mode or recharge) at specific time of the day?

I'm trying to keep my Heroku (free) application awake during daytime. I don't really care if it sleeps late at night. The old technique of continuously pinging the app is no longer a valid solution because since 2015, all free-app's have to sleep at…
8
votes
1 answer

Force changing the ip of the Heroku dyno

I am wondering if there is a way to reset the dyno IP on Heroku when I want. I noticed sometimes it changes when the application is restarted. However, not always. How can we reset the dyno IP address on restart every time? I already saw these…
Ionică Bizău
  • 109,027
  • 88
  • 289
  • 474
7
votes
3 answers

Heroku H10 error but web dynos are not crashing

A few hours ago we starting seeing a bunch of H10 errors in our logs and on our Heroku dashboard. Heroku says that H10 errors are due to web dyno crashes. Read more here. The strange part is that our 2 web dynos are running completely fine and not…
Macgill4444
  • 244
  • 1
  • 12
6
votes
1 answer

Possible to bypass Heroku's free plan's "Sleeps after 30 mins of inactivity" with console.logs?

Heroku has a free plan, as outlined here: https://www.heroku.com/pricing One of the drawbacks of the free plan is that the server goes to sleep after 30 minutes of inactivity. Is it possible to bypass this if I have a console.log("stay awake");…
Ralph David Abernathy
  • 5,230
  • 11
  • 51
  • 78
5
votes
2 answers

What should go in my Procfile for a Django application?

What should go in my Procfile for a Django application on Heroku? I tried: web: python appname.py because I found an example like that for python apps. Further searching didn't make things any clearer except for that I might need to use gunicorn…
VaultDweller
  • 127
  • 1
  • 8
5
votes
1 answer

Stop Heroku Dyno from cycling

I have a Hobby Dyno that hosts an application in Heroku in which users can upload images. What I've noticed is the Dyno restarts during his cycle causing all images to be gone. 2018-07-27T16:23:09.914767+00:00 heroku[web.1]:…
lch
  • 2,028
  • 2
  • 25
  • 46
5
votes
0 answers

Scaling Node.js App on Heroku Using Dynos

I am trying to better understand scaling a Node.js server on Heroku. I have an app that handles large amounts of data and have been running into some memory issues. If a Node.js server is upgraded to a 2x dyno, does this mean that automatically my…
5
votes
1 answer

Wake up heroku app

So, my heroku NODE.js app has always been functioning and I was trying it out today again via my url but for some reason it gives me an application error message. I read about and logged in to my dashboard and it says that the app is asleep.. I have…
Kevin Cohen
  • 1,211
  • 2
  • 15
  • 22
4
votes
2 answers

How to remove a Dyno on Heroku?

Following is what about dashboard says regarding Dynos: For the time being, I only need two dynos: web & resque, and I do not need the third one: worker. How can I get rid of it, or is it something default by Heroku, and I'm not allowed to remove…
Arslan Ali
  • 17,418
  • 8
  • 58
  • 76
3
votes
1 answer

Is there an easy way to convert docker-compose.yml to heroku.yml to run my Dockerfiles on seperate dynos for Heroku?

I am struggling to work out what I need to do to get this up an running on Heroku. I normally have a Procfile that has information for Heroku for the Gunicorn app for my Python build. But as this Dockerfile has 4 containers I am guessing it would…
DidSquids
  • 149
  • 1
  • 8
3
votes
1 answer

How to add and remove Heroku Dynos through platform API

I want to add and remove Heroku Dynos through platform API Just like we do ps:scale web=0 in Heroku toolbelt CLI. I have already tried POST /apps/{app_id_or_name}/dynos/{dyno_id_or_name}/actions/stop but it doesn't do anything however the response…
ishaqbhojani
  • 302
  • 1
  • 12
1
2 3
9 10