我的日志:
2015-01-11T21:27:51.320958+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.5e2ebae2-460b-481b-826a-22c41bd90695 sample#memory_total=268.89MB sample#memory_rss=268.88MB sample#memory_cache=0.01MB sample#memory_swap=0.00MB sample#memory_pgpgin=74175pages sample#memory_pgpgout=5339pages
2015-01-11T21:27:52.194907+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.471fa82a-4b2f-4819-946e-02635fe387c6 sample#memory_total=417.94MB sample#memory_rss=404.46MB sample#memory_cache=4.29MB sample#memory_swap=9.18MB sample#memory_pgpgin=747677pages sample#memory_pgpgout=643035pages
2015-01-11T21:28:07.011011+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.82a95b43-b1d8-4fb7-9329-64fefb3bfe74 sample#memory_total=310.07MB sample#memory_rss=306.77MB sample#memory_cache=3.30MB sample#memory_swap=0.00MB sample#memory_pgpgin=302671pages sample#memory_pgpgout=223294pages
2015-01-11T21:28:13.287206+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.5e2ebae2-460b-481b-826a-22c41bd90695 sample#memory_total=268.93MB sample#memory_rss=268.92MB sample#memory_cache=0.01MB sample#memory_swap=0.00MB sample#memory_pgpgin=74185pages sample#memory_pgpgout=5339pages
2015-01-11T21:28:29.199851+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.82a95b43-b1d8-4fb7-9329-64fefb3bfe74 sample#memory_total=310.26MB sample#memory_rss=306.96MB sample#memory_cache=3.30MB sample#memory_swap=0.00MB sample#memory_pgpgin=302720pages sample#memory_pgpgout=223294pages
2015-01-11T21:28:34.433135+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.471fa82a-4b2f-4819-946e-02635fe387c6 sample#memory_total=417.95MB sample#memory_rss=404.48MB sample#memory_cache=4.29MB sample#memory_swap=9.18MB sample#memory_pgpgin=747681pages sample#memory_pgpgout=643035pages
2015-01-11T21:28:35.388654+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.5e2ebae2-460b-481b-826a-22c41bd90695 sample#memory_total=268.93MB sample#memory_rss=268.92MB sample#memory_cache=0.01MB sample#memory_swap=0.00MB sample#memory_pgpgin=74186pages sample#memory_pgpgout=5339pages
2015-01-11T21:28:51.260323+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.82a95b43-b1d8-4fb7-9329-64fefb3bfe74 sample#memory_total=310.28MB sample#memory_rss=306.98MB sample#memory_cache=3.30MB sample#memory_swap=0.00MB sample#memory_pgpgin=302726pages sample#memory_pgpgout=223294pages
2015-01-11T21:28:55.235542+00:00 heroku[web.2]: source=web.2 dyno=heroku.11366593.471fa82a-4b2f-4819-946e-02635fe387c6 sample#memory_total=417.95MB sample#memory_rss=404.48MB sample#memory_cache=4.29MB sample#memory_swap=9.18MB sample#memory_pgpgin=747681pages sample#memory_pgpgout=643035pages
请注意memory_total
在1分钟的时间内大量跳跃。我该如何解释和理解这个?
答案 0 :(得分:1)
您有三个不同的dynos报告,名称为web.2
- 请检查guids,5e2ebae2-...
,471fa82a-...
和82a95b43-...
。
如果你检查每个的内存数字,它们对于每个单独的dyno几乎是不变的:即你没有内存跳跃。
为什么你有三个同名的dynos是另一回事。也许你已经启用了预启动?这会在后台启动新的dynos,名称相同。