Union Device Studio

Results 14 comments of Union Device Studio
trafficstars

Other threads are modifying Collection, either with a for implementation or a new List reserved deleted object, and then call List remove to delete the implementation

I tried to use the ProcessExplorer monitor thread to find that many idle threads had not been destroyed; ![image](https://user-images.githubusercontent.com/9816794/50198927-e392e000-0388-11e9-893b-1cc3a3db88ba.png)

How do you analyze the dump file? @caozhiyuan ![image](https://user-images.githubusercontent.com/9816794/50286921-e03c4900-049b-11e9-91ef-26af7cd0e5f5.png)

[dunp_winbgd_log.txt](https://github.com/Azure/DotNetty/files/2699270/dunp_winbgd_log.txt) winbdg logs

我们的业务场景是在早晨、下午设备会打开,然而中午跟晚上很多都会关闭,在设备断线重连后资源监视器中的线程会增多,应该是原有的连接未释放,而我有加入ReadTimeoutHandler,Handler中有捕获相关异常; 关键代码如下 ` public void Init(ServerOptions options,Func handler) { _options = options; if (options.EventLoopCount > 0) { bossGroup = new MultithreadEventLoopGroup(options.EventLoopCount); } else { bossGroup = new MultithreadEventLoopGroup(); } workerGroup...

![image](https://user-images.githubusercontent.com/9816794/50294366-b3466100-04b0-11e9-88fd-2c760322ec8d.png) 应该是这里引起的异常,本机调试发现,这里开启了大量线程

Thank you,Get to a skill for windbg, I'll change HashedWheelTimer to a single case!

IByteBuffer imsg = (IByteBuffer)msg; byte[] result = new byte[imsg.ReadableBytes]; imsg.ReadBytes(result); When your data is greater than 1KB, you need to set bootstrap.ChildOption(ChannelOption.RcvbufAllocator,new AdaptiveRecvByteBufAllocator(64,1048,65536));

It's supposed to be my business code problem, thank you.