查看pod使用的内存:

#kubectl top pod -nkube-system | grep manager
manager-7c5849fbc-bhmmn                          5m           155Mi
manager-7c5849fbc-bsv77                          5m           161Mi

POD内RSS查看:

bash-4.4# cat /sys/fs/cgroup/memory/memory.stat | grep rss
rss 164495360
rss_huge 0
total_rss 164495360
total_rss_huge 0

pprof 内存定位:

go tool pprof http://0.0.0.0:9002/debug/pprof/heap

 

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
猜你喜欢
  • 2021-12-25
  • 2022-12-23
  • 2021-08-16
  • 2021-11-10
  • 2021-08-22
  • 2021-11-25
  • 2021-09-04
相关资源
相似解决方案