Re: [go-nuts] memstats.HeapInUse is different from total in pprof

2019-09-03 Thread smallnest
Got it,thanks 发自我的小米手机在 Ian Lance Taylor ,2019年9月3日 21:28写道:On Mon, Sep 2, 2019 at 11:01 PM Chao Yuepan wrote: > > I have run a programas redis proxy which parses redis commands and redirects to redis servers. > > I noticed it looks has memory leak issue. > > I use pp

[go-nuts] best practice for listening multiple linux TCP port?

2017-11-29 Thread smallnest
I have a requirement that our application needs to listen multiple TCP ports (mayebe some hundreds). It is not important why we have such a strange requirements. We can listen more ports and stop some listened ports at runtime. The application is running at Linux and listen by TCP. My basic th