SuperSocket icon indicating copy to clipboard operation
SuperSocket copied to clipboard

做了个TCPServer,运行久了如几天后,停止服务器程序窗体无响应,无法强制关闭

Open luodewei opened this issue 6 years ago • 4 comments

停止服务器,调用socketServer.Stop(),程序窗体就无响应,windows任务管理器中强制关闭也不行,只能通过重启电脑才能解决。短时间运行停止服务没有任何问题。这种情况一般是什么原因呢?谢谢

luodewei avatar Feb 28 '19 09:02 luodewei

Please check your perf.log first.

chucklu avatar Feb 28 '19 09:02 chucklu

Please check your perf.log first.

log文件是空白的

luodewei avatar Mar 01 '19 15:03 luodewei

SuperSocket also provides the basic log4net configuration files log4net.config/log4net.unix.config, you should put the log configuration file into the sub directory "Config" of the root of the running application.

chucklu avatar Mar 02 '19 04:03 chucklu

解决了吗?遇到了相同的问题,停止服务调用stop函数没返回,程序关不掉,只能重启电脑

wb2110 avatar Dec 27 '21 03:12 wb2110