Skip to content
New issue

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

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

Already on GitHub? # to your account

今天碰到一个情况是cpu直接占满了一个核心但是其实没什么流量。 #99

Open
crazykylin opened this issue Apr 9, 2021 · 2 comments

Comments

@crazykylin
Copy link

今天碰到一个情况是cpu直接占满了一个核心但是其实没什么流量,openwrt上面使用的。

@wangyu-
Copy link
Owner

wangyu- commented Apr 9, 2021

麻烦提供复现问题的方法

@charlescao460
Copy link

我也遇到了同样的问题,原因是因为在/etc/init.d/中启动客户端的时候使用了

tinyvpn -c -r 192.168.111.1:7891 &

在init.d中用&来detach process会造成这个问题,改成了nohup 就好了
E.g. /etc/init.d/tinyvpn

#!/bin/sh /etc/rc.common

START=99

start() {        
    nohup /usr/bin/tinyvpn -c -r xxx.xxx.xxx.xxx:xxxx
}
 
stop() {          
    pkill tinyvpn
}

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

No branches or pull requests

3 participants