Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HardDisk Quota — Cedar Stack (Heroku)

Tags:

heroku

cedar

I know that the maximum slug size allowed is 200 MB. But what is the maximum disk space you can use per instance? Say I'm downloading a couple of files when the node process is running.

like image 552
Gautham Badhrinathan Avatar asked Aug 23 '12 20:08

Gautham Badhrinathan


2 Answers

heroku run bash
~ $ df -h /tmp
Filesystem            Size  Used Avail Use% Mounted on
-                     620G  6.1G  583G   2% /tmp

You have approximately 620Gb in the /tmp folder.
Any other folder doesn't really matter, as they're readonly anyway.

like image 107
Damien MATHIEU Avatar answered Oct 07 '22 01:10

Damien MATHIEU


When I ran df on one of my instances just now (Cedar 14), I get 304G total, 240G available. Still a lot, but less than the responder above. Just an FYI to check your specific instance.

~ $ df -h /tmp Filesystem Size Used Avail Use% Mounted on /dev/mapper/evg0-evol0 304G 49G 240G 17% /tmp

like image 3
Steven Chanin Avatar answered Oct 07 '22 02:10

Steven Chanin