Re: [go-nuts] Endlessly increasing CPU usage problem

2023-01-18 Thread Danny Carr
@Rustam Abdullaev you're a lifesaver!! I was having this same issue with rising CPU and was going crazy trying to find the resource leak until I saw your comment - pulled up a heap dump and saw 75% time.NewTicker, found a dangling ticker I was instantiating in a goroutine, added a defer ticker.

Re: [go-nuts] Endlessly increasing CPU usage problem

2021-03-09 Thread Uli Kunitz
Ian, I recommend to use a newer version. go 1.0.3 has been released in September 2012. On Thursday, January 31, 2013 at 2:57:33 AM UTC+1 ian.ra...@gmail.com wrote: > Thanks Dave, those look like great suggestions. I'm running Go 1.0.3 on > Ubuntu: > > # go version

Re: [go-nuts] Endlessly increasing CPU usage problem

2021-03-08 Thread Rustam Abdullaev
You might have a ticker leak. Check that you're not accidentally calling time.NewTicker in a loop. Get a pprof heap dump and look for time.NewTicker objects. The total size of them should not be large. If it is, then you have a ticker leak. On Tuesday, 13 November 2018 at 15:26:29 UTC+1 Anon wrot

Re: [go-nuts] Endlessly increasing CPU usage problem

2018-11-13 Thread Anon
Hi Ian, I am facing the same issue. The CPU usage on my servers increases from very low to 100% of CPU. Did you find the solution to your problem? go version : 1.10.1 OS : centOS Thanks, On Thursday, January 31, 2013 at 7:27:33 AM UTC+5:30, Ian Ragsdale wrote: > > Thanks Dave, those look like