Home  >  Article  >  Backend Development  >  Correspondence between influxdb runtime measurement statistics and Resident Memory (RES)

Correspondence between influxdb runtime measurement statistics and Resident Memory (RES)

WBOY
WBOYforward
2024-02-06 10:42:13607browse

influxdb运行时测量统计与Resident Memory(RES)的对应关系

Question content

  • Version: 1.8.10
  • Operating system: CentOS 7
  • question
    • According to the documentation, the "Sys" of the _internal database is: the total number of bytes of memory obtained from the OS. Measures the virtual address space reserved by the Go runtime for the heap, stack, and other internal data structures.
    • But "Sys" or other statistics are not equal to resident memory (RES) (PID 9450 or below)
    • What is the relationship between runtime statistics and RES
  • Runtime
  • RES-infuxd

Understanding the infuxdb runtime


Correct answer


"Sys" refers to VIRT not RES. We can use cmd "pmap -x 9450 | less" to view the RES

of the influxd process

The above is the detailed content of Correspondence between influxdb runtime measurement statistics and Resident Memory (RES). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:stackoverflow.com. If there is any infringement, please contact admin@php.cn delete