Comments (5)
高版本内核加上使用 io_uring 导致的 iowait 高,参考 https://bbs.archlinux.org/viewtopic.php?id=287343
Debian 11, 编辑 /etc/profile ,增加一行 export MONOIO_FORCE_LEGACY_DRIVER=1,重启之后,还是一样finalshell CPU显示100%.
不是这么用的,MONOIO_FORCE_LEGACY_DRIVER 要加在启动服务里,比如 systemd
[Unit]
After=network.target
[Service]
Type=simple
DynamicUser=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE
LimitNOFILE=32768
LimitMEMLOCK=infinity
Environment=RUST_LOG=error
Environment=MONOIO_FORCE_LEGACY_DRIVER=1
ExecStart=/usr/bin/shadow-tls config --config /etc/shadow-tls.json
Restart=always
[Install]
WantedBy=multi-user.target
from shadow-tls.
Environment=MONOIO_FORCE_LEGACY_DRIVER=1
from shadow-tls.
Debian 11, 编辑 /etc/profile ,增加一行 export MONOIO_FORCE_LEGACY_DRIVER=1,重启之后,还是一样finalshell CPU显示100%.
from shadow-tls.
On Debian 11, try to use some old version core
from shadow-tls.
高版本内核加上使用 io_uring 导致的 iowait 高,参考 https://bbs.archlinux.org/viewtopic.php?id=287343
Debian 11, 编辑 /etc/profile ,增加一行 export MONOIO_FORCE_LEGACY_DRIVER=1,重启之后,还是一样finalshell CPU显示100%.
不是这么用的,MONOIO_FORCE_LEGACY_DRIVER 要加在启动服务里,比如 systemd
[Unit] After=network.target [Service] Type=simple DynamicUser=yes AmbientCapabilities=CAP_NET_BIND_SERVICE LimitNOFILE=32768 LimitMEMLOCK=infinity Environment=RUST_LOG=error Environment=MONOIO_FORCE_LEGACY_DRIVER=1 ExecStart=/usr/bin/shadow-tls config --config /etc/shadow-tls.json Restart=always [Install] WantedBy=multi-user.target
感谢用您的方法已经解决!
from shadow-tls.
Related Issues (20)
- 节点被封了 HOT 1
- 是否最好使用443端口,还是没有区别? HOT 4
- 是否可以使用 UDS 连接
- 咨询:shadowtls服务端如何使用中转服务器 HOT 1
- 关于进一步改进的方向和建议 HOT 4
- hmac mismatch HOT 1
- [FR] Add multiple user support HOT 1
- 奇怪的连接失败问题(Mihomo最新版失败,Surge成功)
- 你的软件做得太出色了!我要拜你为师!
- 自动更新镜像后一直报错无法启动 HOT 6
- 使用docker运行,无法连接 HOT 1
- 是否 - SERVER=0.0.0.0:10098 这样的多端口
- 提问:https://www.infineon.de握手? HOT 2
- [feature request]希望客户端可以设置握手ip,并提供 优先选择 选项 HOT 1
- DoT,DoH,DoQ这种可以用shandowTLS吗 HOT 1
- Send data through client to server
- [feature request] support Proxy protocol
- Thread exit: bind failed: invalid socket address on android Termux
- 交叉编译出现E0599错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadow-tls.