![Dante 服务器高 CPU% 负载和协商过程](https://linux22.com/image/773807/Dante%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%AB%98%20CPU%25%20%E8%B4%9F%E8%BD%BD%E5%92%8C%E5%8D%8F%E5%95%86%E8%BF%87%E7%A8%8B.png)
我是个新手,想找到一种方法来为我的家人和朋友(大约 20 个人)托管 Telegram 的代理。我使用的是带有 2vCPU 的 DigitalOcean droplet,其余的是基本配置。下面是我的服务器配置。我在防火墙中打开的特定端口上运行它,连接没有问题。但是,当 Dante 创建名为“协商”(或类似名称)的新进程时,它们会存活超过 30 分钟(默认超时时间)。整体状态如下图所示。我不知道问题可能出在哪里。提前谢谢您!
user.unprivileged: nobody
#logoutput: /var/log/danted.log
# The listening network interface or address.
internal: eth0 port=3785
# The proxying network interface or address.
external: eth0
# socks-rules determine what is proxied through the external interface.
socksmethod: username
# client-rules determine who can connect to the internal interface.
clientmethod: none
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
#log: connect disconnect error ioop
}
client block {
from: 0/0 to: 0/0
#log: connect disconnect error ioop
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
#log: connect disconnect error ioop
user: tsecret
}
socks block {
from: 0/0 to: 0/0
}```
[enter image description here][1]
[1]: https://i.stack.imgur.com/ic3J8.png