Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Out of memory, 进程被杀 #41

Closed
zycboss opened this issue Jul 18, 2022 · 7 comments
Closed

Out of memory, 进程被杀 #41

zycboss opened this issue Jul 18, 2022 · 7 comments

Comments

@zycboss
Copy link

zycboss commented Jul 18, 2022

设备:R7000
固件:380.70_0-X7.9.1

运行一段时间后就显示内存不足,然后xray进程被杀
我看内存明明还没用到一半,不知道他有什么好杀的

Jul 18 11:42:55 kernel: Out of memory: Kill process 2984 (xray) score 637 or sacrifice
Jul 18 11:42:55 kernel: Killed process 2984 (xray) total-vm:813656kB, anon-rss:170716kB, file-rss:0kB

@r7000:/tmp/home/root# free -m
total used free shared buffers cached
Mem: 255716 104228 151488 0 1704 8192
-/+ buffers/cache: 94332 161384
Swap: 0 0 0

@cary-sas
Copy link
Owner

信息提供的太少,我没法判断,你换协议(vless xtls)试试吧

@zycboss
Copy link
Author

zycboss commented Jul 18, 2022

信息提供的太少,我没法判断,你换协议(vless xtls)试试吧

我已经是vless+xtls了
我又尝试了一下,应该是DNS的问题,国外DNS选V2ray_DNS的时候就会不时的Out of memory杀进程,改成chinadns目前一天下来还正常

@cary-sas
Copy link
Owner

#22

@zycboss
Copy link
Author

zycboss commented Jul 22, 2022

#22

又尝试了几天,vless下不管是dns2socks还是chinadns都不能稳定运行超过1天,虽然没有显示Out of memory,但是进程还是会掉
应该是路由器硬件性能不足
还是换回简单可靠的SSR协议用了

@cary-sas
Copy link
Owner

设备硬件肯定没问题的,我自己的设备和你的差不多,你把服务端的证书换成 Zerossl RSA 的类型试试

@zycboss
Copy link
Author

zycboss commented Jul 26, 2022

证书换了没有啥区别
应该是真的硬件性能不太行,我用vless在speedtest和fast.com测速只能跑20Mps,而且延迟乱跳,油管速度也只有几K
SSR就正常
算了不再用R7000折腾xray了, 不适合

@cary-sas
Copy link
Owner

我用R7000测试了一下挺正常的,YouTube 6W+ 没问题,

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

No branches or pull requests

2 participants