[go-nuts] Re: High CPU usage for process using mdns (Flame graph attached) - time spent in runtime.goexit and runtime.mstart

2016-10-23 Thread Abhay Bothra
iggers the > mDNS call every minute. > > Does the program happen to be open source? > > On Tuesday, October 18, 2016 at 5:53:48 PM UTC-7, Abhay Bothra wrote: >> >> Although what you are saying makes a lot of sense(thanks!), I see that my >> program is just using

[go-nuts] Re: High CPU usage for process using mdns (Flame graph attached) - time spent in runtime.goexit and runtime.mstart

2016-10-18 Thread Abhay Bothra
hod returns, via time.NewTimer and defer Stop. > > On Monday, October 17, 2016 at 11:51:52 AM UTC-7, Abhay Bothra wrote: >> >> We are using Hashicorp's mdns library (https://github.com/hashicorp/mdns) >> for node discovery, with a frequency of 1 mdns query / minute. The

[go-nuts] High CPU usage for process using mdns (Flame graph attached) - time spent in runtime.goexit and runtime.mstart

2016-10-17 Thread Abhay Bothra
We are using Hashicorp's mdns library (https://github.com/hashicorp/mdns) for node discovery, with a frequency of 1 mdns query / minute. The CPU consumption by the process increases very gradually over a couple of days, going from 2-3% to 20-30% over 3-4 days. From the runtime instrumentation w