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
0
votes
1 answer

Heroku Release Phase config vars with dots in the variable name

I have a script that checks for required "config vars" in heroku. I added it to a Procfile so that it will run in the heroku "release phase". I tested it by removing one of the required "config vars" from a deployed app. The logs show that the…
Rick Suggs
  • 1,582
  • 1
  • 15
  • 30
0
votes
1 answer

Heroku: Displaying custom page while application is starting up

Is it possible to display a static html page during dyno startup, similar to displaying a custom page on error or during maintenance mode? My app's slug size is rather large and startup time can take close to 50 seconds. If possible, I'd like to…
Henry
  • 1
0
votes
1 answer

Heroku App Going To Sleep Even Though Icon Shows It Won't

In the docs for Heroku- App Sleeping on Heroku- it says that apps with a filled in hexagon icon will never go to sleep. Mine has that icon, but still goes to sleep: -from App Sleeping on Heroku Unlike the outlined hexagon with zzz's pictured above,…
Dashiell Rose Bark-Huss
  • 2,173
  • 3
  • 28
  • 48
0
votes
0 answers

Reading the Heroku dyno formation with the CLI

We are using HireFire to manage multiple DelayedJob queues, with queues associated with different Procfile entries that might vary by application. For 95% of the day some of the dyno types in the formation are scaled to 0. (Basically, overnight…
David Aldridge
  • 51,479
  • 8
  • 68
  • 96
0
votes
1 answer

Can someone explain to me why my Heroku app doesn't use the free dyno hours, but instead just immediately charges me money?

No, I don't have any add-ons that charge me. I tried reading how the free Dynos work but I didn't find anything regarding this issue. Here is an image
Mr Pickles
  • 75
  • 1
  • 4
0
votes
1 answer

Heroku - Can app get recycled while it is being used?

I plan to deploy a mini web app to resize photos to the heroku free tier. I read that the heroku file system is ephemeral - uploaded files get deleted when the dyno restarts. What I want to know is if I upload an image only for a short duration to…
debashish
  • 1,374
  • 1
  • 19
  • 29
0
votes
1 answer

Will buying a non sleep dyno on Heroku allow me to upload files without loosing them?

If I used a paid (non-sleep) dyno, can I push code and ignore the uploads directory in the .gitignore file, so my uploaded files are not lost?
Ebrahim Mansour
  • 363
  • 1
  • 4
  • 13
0
votes
1 answer

Is it possible scale a specific Heroku Worker?

I'm currently trying to develop an application that relies heavily on heroku workers (executing a NodeJS script, no choice in switching to Ruby/Rails here) handling long running (1 - 168 hour) background jobs. My issue is that certain jobs may…
Orange
  • 5
  • 3
0
votes
1 answer

How to restart Sidekiq when running on Heroku?

I am running sidekiq in a worker on Heroku as follows: bundle exec sidekiq -t 25 -e $RAILS_ENV -c 3 One of the operations uses more memory (>500mb) than the worker allows. After the job has completed, the memory still hasn't been released and I get…
cmrichards
  • 1,725
  • 1
  • 19
  • 28
0
votes
0 answers

Can Heroku Redis (or similar Redis add-on) also serve as a message queue?

I haven't found much documentation on "standalone" Redis VS Heroku Redis, so I'm not quite sure whether the below is feasible for an add-on version. I'd like to create a scalable architecture suitable for real-time communication between client and…
0
votes
1 answer

Run a rake task after dyno restarts

I have a rake task which generates some static pages. I need the task to run either during deployment so the pages end up in the slug (preferable), or after each dyno cycle. Is there a way to do that? It is a Rails app.
Brandon
  • 1,735
  • 2
  • 22
  • 37
0
votes
1 answer

Heroku Hobby Dyno Confusion

The hobby level dyno does not sleep, but the cost is prorated to the second so you only pay when the dyno is running. But how would it not be running if it doesn't sleep? I'm just trying to boost my personal website into a more professional one and…
Riley Shaw
  • 319
  • 2
  • 12
0
votes
1 answer

Does Increased Dyno Count === Increased Performance ? Will it make my app accommodate more traffic?

I've got a Rails app deployed on Heroku. It's getting a ton of traffic and it's lagging as a result. I'd like to: 1) make the app run faster and 2) make it so that the app can accommodate heavy traffic on any given day. I read about Heroku's "dynos"…
Diana E.
  • 309
  • 5
  • 11
0
votes
1 answer

I have 6 projects running on Heroku, and one of then is getting traction. Now I want to buy a Dyno. How many apps can run on a single Dyno?

Can I run the app gaining traction on a purchased Dyno and the rest 5 apps on the free Dyno? Also the billing, for a single Dyno will it be exactly $7 or vary with the use?
Ali
  • 15
  • 1
  • 5
0
votes
0 answers

Heroku Dyno keeps crashing with error code:H10

My project uses the spring-mvc framework. I keep running into this problem where whenever i deploy the app on heroku, it crashes. The first time i deployed it (it being my own project and not the sample one provided by the tutorials given on the…