Hello gophers, 

I have a VM on Linode.com. OS is Cent OS 6.8 and kernel 
is 4.14.12-x86_64-linode92. It has 1 CPU core and 2G RAM.
A Go application is running on this VM.
Free memory on this VM is 490M (with buffer and cache), The RSS value of 
this Go application is only 12M. After I kill this Go app, free memory will 
increase to 950M. I have called Debug.FreeOSMemory() in this Go app every 
minute.
Sometimes, free memory will be decreased to 0 and this Go app will be 
killed by oom-killer. Does anyone know where is my memory?


<https://lh3.googleusercontent.com/-wb-19ItbkJk/WnQgdV7pTzI/AAAAAAAAAL4/24zI9RLU7DIBJd1MZ7TvssoCnGSnDrJQwCLcBGAs/s1600/nmon1.png>


<https://lh3.googleusercontent.com/-iD0Aq1HG6xM/WnQggzFQP7I/AAAAAAAAAL8/uqLU7RBffIQbb8XPPNWTJcSR54DdSyDSgCLcBGAs/s1600/top.png>



<https://lh3.googleusercontent.com/-iJx7MVk0tUQ/WnQgrBPDwSI/AAAAAAAAAME/TGyzSscnRLsIP2NwfTOOghG6dqsXWFVtgCLcBGAs/s1600/pprof.png>



<https://lh3.googleusercontent.com/-zk6oaJqJZ-E/WnQgwATi62I/AAAAAAAAAMI/qxzFm8h4GHsNLWxxh3YiqjT_TPWSkVXlgCLcBGAs/s1600/pprof2.png>




<https://lh3.googleusercontent.com/-RW5Oxx8KJWA/WnQgkcauAXI/AAAAAAAAAMA/M1Dr4A9astM3sehs4T9FHzWsFfcMLn2cQCLcBGAs/s1600/meminfo.png>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to