我正在尝试在我的 VPS(在 OpenVZ 下)上安装 Transmission 以在其上下载种子。当运行类似的东西时:
transmission-cli example.torrent
它会打印:
transmission-cli 2.84 (14307)
[2017-10-17 18:25:23.477 EDT] Transmission 2.84 (14307) started
[2017-10-17 18:25:23.495 EDT] RPC Server: Adding address to whitelist: 127.0.0.1
[2017-10-17 18:25:23.496 EDT] UDP: Failed to set receive buffer: requested 4194304, got 266240
[2017-10-17 18:25:23.496 EDT] UDP: Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf
[2017-10-17 18:25:23.496 EDT] UDP: Failed to set send buffer: requested 1048576, got 266240
[2017-10-17 18:25:23.496 EDT] UDP: Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf
[2017-10-17 18:25:23.496 EDT] DHT: Generating new id
[2017-10-17 18:25:23.548 EDT] Saved "/root/.config/transmission/torrents/example.torrent"
[2017-10-17 18:25:25.825 EDT] Port Forwarding: State changed from "Not forwarded" to "???"
Progress: 0.0%, dl fro[2017-10-17 18:25:28.995 EDT] Changed open file limit from 65536 to 1024
Progress: 0.0%, [1] 7657 killed transmission-cli example.torrent
它只会被杀死。我做了很多研究,尝试修改 sysctl.conf 中的 rmem 和 wmem max 字段,但由于 OpenVZ 的原因,它的权限被拒绝。那么该如何处理呢?
提前致谢
答案1
该transmission-cli
进程是否有足够的 RAM 内存?
运行free
或者top
查看占用了多少内存。