Xray-core icon indicating copy to clipboard operation
Xray-core copied to clipboard

关于 xray 内存占用问题

Open xiaobili opened this issue 1 year ago • 6 comments

there is a problem about xray memory usage

  • after server lunched about two days,xray has a massive memory usage,
  • This will result in being unable to access the internet through the Xray proxy.

xiaobili avatar Oct 02 '23 15:10 xiaobili

we need more info for this issue:
1.verison & platform
2.configuration details
3.how many users do u have
4.memory usage details

for my own use,I didn't see any problems here.my xray process is stable and the memory occupation is 40 MiB.

FranzKafkaYu avatar Oct 03 '23 13:10 FranzKafkaYu

i see

xiaobili avatar Oct 04 '23 19:10 xiaobili

我也有类似问题我的解决方案是添加任务让vps定时重启😨

keaidang avatar Oct 04 '23 19:10 keaidang

我也有类似问题我的解决方案是添加任务让vps定时重启😨

我刚看了 install.sh 脚本,有 reloadCore 的定时任务,所以没必要再添加了 我用的 mack-a 大佬的脚本

xiaobili avatar Oct 04 '23 20:10 xiaobili

we need more info for this issue: 1.verison & platform 2.configuration details 3.how many users do u have 4.memory usage details

for my own use,I didn't see any problems here.my xray process is stable and the memory occupation is 40 MiB.

The possible reason could be that multiple modes are simultaneously activated, and each mode has an independent process.

xiaobili avatar Oct 04 '23 21:10 xiaobili

用的 mack-a 大佬的脚本,启动后内存会逐步增加,服务停止重启恢复,循环往复

image

Linux iZt4ngf0ay8xbyx4fn6e3qZ 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

zhuxining avatar Feb 28 '24 01:02 zhuxining

秒说不清 没有配置 第三方脚本我们管不了(

Fangliding avatar May 11 '24 02:05 Fangliding