GithubHelp home page GithubHelp logo

Comments (5)

love4taylor avatar love4taylor commented on May 27, 2024 2

高版本内核加上使用 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.

lesswest avatar lesswest commented on May 27, 2024

Environment=MONOIO_FORCE_LEGACY_DRIVER=1

from shadow-tls.

betterdoitnow avatar betterdoitnow commented on May 27, 2024

Debian 11, 编辑 /etc/profile ,增加一行 export MONOIO_FORCE_LEGACY_DRIVER=1,重启之后,还是一样finalshell CPU显示100%.

from shadow-tls.

JasonSCSE avatar JasonSCSE commented on May 27, 2024

On Debian 11, try to use some old version core

from shadow-tls.

kankankankankankan avatar kankankankankankan commented on May 27, 2024

高版本内核加上使用 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.