Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server端进程无故退出 #24

Closed
Cye3s opened this issue Jun 3, 2016 · 4 comments
Closed

server端进程无故退出 #24

Cye3s opened this issue Jun 3, 2016 · 4 comments

Comments

@Cye3s
Copy link

Cye3s commented Jun 3, 2016

版本:kcptun-linux-amd64-20160602.tar.gz
运行环境:CentOS Linux release 7.2.1511 (Core) x64位 512M内存的VPS
运行命令:./kcptun_server -t "127.0.0.1:1583" -l "0.0.0.0:1755" -mtu 1480 -key "xxxxx" >/dev/null 2>&1 &
现象:运行一段时间后server端进程消失

把运行日志输出到log文件,也只能看到某个stream open后就没有后继日志了,进程就退出了
而Ubuntu 14.04.4 x64 PC机上的客户端跑得很稳定

@xtaci
Copy link
Owner

xtaci commented Jun 3, 2016

可以检查下dmesg,是不是oom killer,如果是,增大swap分区就能解决问题

@Cye3s
Copy link
Author

Cye3s commented Jun 3, 2016

dmesg没看到,不过发现更新了20160603的版本,我用新版再试下看看

@xtaci xtaci closed this as completed Jun 3, 2016
@Cye3s
Copy link
Author

Cye3s commented Jun 6, 2016

新版也是会自动退出,用nohup运行就行了,跑了3天都正常

@xtaci
Copy link
Owner

xtaci commented Jun 6, 2016

正常的, 一般是用tmux开个窗口用,还可以监控SNMP状态

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants