Search code examples
gomemoryinfluxdb

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


  • Version: 1.8.10
  • OS: CentOS 7
  • Problem
    • According to the document, 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, stacks, and other internal data structures.
    • But "Sys" or other statistics not equal with the Resident Memory(RES)(Following PID 9450)
    • What is the relationship between runtime statistics and RES
  • Runtime runtime statistics
  • RES-infuxd RES-influxd

known about the infuxdb runtime


Solution

  • "Sys" mean VIRT not RES. We can use the cmd "pmap -x 9450 | less" to see the RES of influxd proccess