mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3930] Question RAM Usage #2659
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2659
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lLeXeRl on GitHub (Mar 16, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3930
Question
After update to new version is start to use too much ram of x-ray service, i have a server with max 1gb ram and after update need to restart every 2-5 min

Checklist
@BLaDZer commented on GitHub (Mar 16, 2026):
Same here: my server with 4 GB but all of them gone instantly when I (alone) connecting with mKCP (checked only this) config
@lLeXeRl commented on GitHub (Mar 16, 2026):
Yeah, it's problem of mKCP connection, its bad coz I need to use udp protocol(
@stxze commented on GitHub (Mar 16, 2026):
same here, tested xhttp and tcp conf, also tried downgrade to 2.8.9 with xray core 26.1.31 - same issue
@lLeXeRl commented on GitHub (Mar 16, 2026):
Yeah, after update, uninstalling and downgrades didn't work
@stxze commented on GitHub (Mar 17, 2026):
any updates?
@lLeXeRl commented on GitHub (Mar 17, 2026):
I think its problem with xray core, waiting until update
@stxze commented on GitHub (Mar 17, 2026):
As i said before, i downgraded to 2.8.9 with xray core 26.1.31 and had same issue, i have 4gb ram on my server and didnt had swap file. I tried set swap on 4gb, then i updated again to latest version. I saw ram leak like ~6 hours today and im always manualy reboot xray when i saw >2,5 gb usage, after that i deleted swap cause wanted get config "stock" like i had before first time update x-ui.
I also experimented with the reality settings and tried to set mldsa65 seed and verify like few days ago (don't know why, lol).
Now i deleted mldsa65 verify and seed and i've had 1 GB of RAM usage for 6 hours now.
Looks like something has been fixed.
@lLeXeRl commented on GitHub (Mar 17, 2026):
How much users you have?
@stxze commented on GitHub (Mar 17, 2026):
Total - 77 rn
Avarage online - 30-40
@lLeXeRl commented on GitHub (Mar 17, 2026):
I have total 7 users and average online 3 🫠
And mKCP only 1 user, after this 1gb ram usage is not normally 😑
@adomination commented on GitHub (Mar 30, 2026):
My VPS has 1GB of memory, and it started leaking memory around November-December 2025. I restart it (x-ray) about every two-three days.
[v2.8.11]
I can add screenshots from Zabbix if needed.