Load on Heroku Instance seen in heroku run top

丶灬走出姿态 提交于 2019-12-13 02:36:42

问题


When I run heroku run top on my server I see a very high load, currently 36.37

I realise this is probably not the dyno that runs the app, but it does seem very high to me, does this explain poor performance in heroku from time to time?

Additionally, where in the architecture is heroku running my command?

Any insight would be much appreciated


回答1:


Running heroku run top will not run it on the same dyno as your app is running. That will be run in a one-off dyno - something that contains your same code and environment. For more, see:

  • https://devcenter.heroku.com/articles/process-model
  • https://devcenter.heroku.com/articles/oneoff-admin-ps


来源:https://stackoverflow.com/questions/11110088/load-on-heroku-instance-seen-in-heroku-run-top

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!