Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku Error -> "Free app running time quota exhausted" 🤦 #38

Open
nelsonic opened this issue Jul 28, 2020 · 4 comments
Open

Heroku Error -> "Free app running time quota exhausted" 🤦 #38

nelsonic opened this issue Jul 28, 2020 · 4 comments

Comments

@nelsonic
Copy link
Member

https://dwylmail.herokuapp.com
image

heroku logs --tail

image

$7/month ... 💭
image

nelsonic added a commit to dwyl/phoenix-chat-example that referenced this issue Jul 28, 2020
…urned through our "free" hours for the month ... see: dwyl/email#38
@nelsonic
Copy link
Member Author

A potential (short-term) solution could be to scale up the dyno before test and scale it back down once tests pass.

Run the command:

heroku ps:type hobby

Output:

Scaling dynos on ⬢ dwylmail... done
type  size   qty  cost/mo
────  ─────  ───  ───────
web   Hobby  1    7

Confirmed via Web UI:
heroku-dyno-hobby-7-month

To scale back down:

heroku ps:type free

Output:

Scaling dynos on ⬢ dwylmail... done
type  size  qty  cost/mo
────  ────  ───  ───────
web   Free  1

Obviously it's lame to do this manually each time we run a script. 💭

Given that Email is core to our infrastructure, it might be time to just migrate it to AWS EC2: dwyl/aws-ses-lambda#21

@tsangaris
Copy link

Had the same issue and migrated all my sites to Vercel. Hopefully, there is no such cap there.

@nelsonic
Copy link
Member Author

Yeah, Vercel is a good option for JS apps and they have a more liberal fair-use policy. 👍
This App is built with Elixir so I don't think Vercel is an option for now. 😞

@th0mas
Copy link

th0mas commented Jun 29, 2021

fly.io could also be a good option and have a generous free tier. They have an option to import apps from Heroku as well: https://fly.io/heroku

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants