Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.85k stars 266 forks source link

OOM error on VPS #3079

Closed xzjq closed 7 months ago

xzjq commented 11 months ago

Expected Behavior

VPS with 3 GB of RAM, dedicated to OMR (doing nothing else) should not run of out of memory.

Current Behavior

Just lost internet connectivity, putatively related to OOM-kill, running XRay Shadowsocks 2022.

Dec 15 16:21:04 vps kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/xray.service,task=xray,pid=1047436,uid=0 Dec 15 16:21:04 vps kernel: Out of memory: Killed process 1047436 (xray) total-vm:3945912kB, anon-rss:2219436kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:5436kB oom_score_adj:0

Checking htop reveals that /usr/bin/xray is consuming over 2,000 MB of RAM.

OMR + VPS is being used for home internet use. Browsing & client VPNs; no P2P or "odd" usage.

Specifications

Ysurac commented 11 months ago

I will update xray, the shadowsocks part, based on SagerNet sing, was updated recently and this may fix the issue...

Ysurac commented 10 months ago

XRay is now updated on VPS side, you need to run VPS script again to update it.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days