We started this Go application by supervisor, so this Go app should be the 
subprocess of supervisor. Do you think it is the problem?

On Saturday, February 3, 2018 at 3:18:02 AM UTC+8, Justin Israel wrote:
>
>
>
> On Sat, Feb 3, 2018, 2:21 AM Zhang Rui <ppc...@gmail.com <javascript:>> 
> wrote:
>
>> 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?
>>
>
> Does your program make use of cgo to call into C/C++? Does it launch 
> subprocesses? 
>
>>
>> -- 
>> 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...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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