syuez
syuez
收藏了,感谢分享
可以试试 winsw 这个软件,将kcptun 变成一个服务运行 https://github.com/winsw/winsw
@xtaci 试了20200322的版本,服务端还是会出现CPU占用99.9的情况,只是比20200321版本运行的时间长了,从早上9到21点。
@xtaci CPU 100%的问题没有了,但是发现客户端内存好像有泄露问题 从昨天21点运行到早上8点,内存占用了80%左右 未 kill掉进程 前内存  运行时内存占用  kill 掉后内存  用的是TCP模式,同机子另外以UDP模式运行的客户端则没有这个问题
@xtaci GOGC 怎么跟 nohup 命令配合? `nohup GOGC=10 /root/client_linux_amd64 -c /root/config.json >/dev/null 2>&1 &` 我尝试这样的方式但是无法运行 用sh脚本套娃好了😂
> > @xtaci > > ~GOGC 怎么跟 nohup 命令配合? ~`nohup GOGC=10 /root/client_linux_amd64 -c /root/config.json >/dev/null 2>&1 &` ~我尝试这样的方式但是无法运行~~~ > > 用sh脚本套娃好了😂 > > nohup env GOGC=10 ... 感谢!
> > > @xtaci CPU 100%的问题没有了,但是发现客户端内存好像有泄露问题 > > > 从昨天21点运行到早上8点,内存占用了80%左右 > > > 未 kill掉进程 前内存  > > > 运行时内存占用  > > > kill 掉后内存  > >...
> @tete1030 @syuez [#677](https://github.com/xtaci/kcptun/issues/677) > Is this related to the issue mentioned in 667 ? If use tcp mode it will cause problem,udp will not.
Thanks for help! When i execute `git apply niceclose.patch`,i got error: unrecognized input.
I know the reason.Thanks again!