Skip to content

Bug report: The latest version of the panel consumes too much memory. #161

Description

@HPShark

Describe the bug

How much memory does the panel require to run? My 1C1G server has a memory limit of 700M for x-ui. In just half an hour, the memory usage reaches 699M, causing the system to freeze. Here’s my xray configuration: 1 protocol, 20 users:
{
"log": {
"access": "none",
"dnsLog": false,
"error": "",
"loglevel": "error"
},
"api": {
"tag": "api",
"services": [
"HandlerService",
"LoggerService",
"StatsService"
]
},
"inbounds": [
{
"tag": "api",
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "warp",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 40000
}
]
}
},
{
"tag": "WARP-socks5-v4",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
},
"proxySettings": {
"tag": "warp"
}
},
{
"tag": "WARP-socks5-v6",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv6"
},
"proxySettings": {
"tag": "warp"
}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
}
],
"policy": {
"levels": {
"0": {
"statsUserDownlink": true,
"statsUserUplink": true
}
},
"system": {
"statsInboundDownlink": false,
"statsInboundUplink": false,
"statsOutboundDownlink": false,
"statsOutboundUplink": false
}
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"domain": [
],
"outboundTag": "blocked"
},
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"outboundTag": "blocked",
"protocol": [
"bittorrent"
]
},
{
"type": "field",
"domain": [
"ip.sb"
],
"outboundTag": "WARP-socks5-v4"
},
{
"type": "field",
"domain": [
"geosite:netflix"
],
"outboundTag": "WARP-socks5-v6"
},
{
"type": "field",
"outboundTag": "blocked",
"ip": [
"geoip:private"
]
}
]
},
"stats": {}
}

How to repeat the problem?

  1. Install the panel
  2. Add the user, configure Warp, and set up forwarding.
  3. The panel interface freezes for half a day to about a day, and the ladder function also stops working.

Expected action

No response

Received action

No response

x-panel Version

v26.6.18

Xray-core Version

v26.6.1

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions