[GH-ISSUE #1027] IP Limit CPU overload! #700

Closed
opened 2026-10-31 20:13:50 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @4erdenko on GitHub (Sep 6, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1027

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

VLESS + Reality
I created 30 configs yesterday with a limit of 1 IP.
Today I thought I had manually turned off all of them, but no, a couple did, turned off the rest and the loads disappeared abruptly.

Even though the configs were not even with users.
I.e. on the latest version, when using IP limit in the panel running through Docker, we have an interval load on the CPU, systematically growing.

I think this is some kind of serious bug.

In this image, ip limit is turned off on every config.
without

Here I have enabled IP limit on 1 config that no one is connected to.
with

Version of 3x-ui

1.7.8

x-ui log reports or xray log

logs doesnt have any errors

Originally created by @4erdenko on GitHub (Sep 6, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1027 ### Welcome - [X] Yes, I'm using the latest major release. Only such installations are supported. - [X] Yes, I'm using the supported system. Only such systems are supported. - [X] Yes, I have read all WIKI document,nothing can help me in my problem. - [X] Yes, I've searched similar issues on GitHub and didn't find any. - [X] Yes, I've included all information below (version, config, log, etc). ### Description of the problem,screencshot would be good VLESS + Reality I created 30 configs yesterday with a limit of 1 IP. Today I thought I had manually turned off all of them, but no, a couple did, turned off the rest and the loads disappeared abruptly. Even though the configs were not even with users. I.e. on the latest version, when using IP limit in the panel running through Docker, we have an interval load on the CPU, systematically growing. I think this is some kind of serious bug. In this image, ip limit is turned off on every config. ![without](https://github.com/MHSanaei/3x-ui/assets/93295097/627d3ce8-8863-49f7-8912-6945c70564cc) Here I have enabled IP limit on 1 config that no one is connected to. ![with](https://github.com/MHSanaei/3x-ui/assets/93295097/5039b523-1649-4f2f-8abb-6ab9ef3531fe) ### Version of 3x-ui 1.7.8 ### x-ui log reports or xray log logs doesnt have any errors
Author
Owner

@qfewzz commented on GitHub (Sep 7, 2023):

I think applying IP limit using an external tool is not a good solution. Adding this feature to xray core is more efficient and less resource intensive. but of course it requires time to edit xray core and do this efficiently. I'm not a Go developer, so I can't contribute on this. But I have some ideas to implement this.

<!-- gh-comment-id:1709476717 --> @qfewzz commented on GitHub (Sep 7, 2023): I think applying IP limit using an external tool is not a good solution. Adding this feature to xray core is more efficient and less resource intensive. but of course it requires time to edit xray core and do this efficiently. I'm not a Go developer, so I can't contribute on this. But I have some ideas to implement this.
Author
Owner

@mehdikhody commented on GitHub (Feb 3, 2024):

https://github.com/MHSanaei/3x-ui/issues/1288#issuecomment-1925150499

<!-- gh-comment-id:1925152137 --> @mehdikhody commented on GitHub (Feb 3, 2024): https://github.com/MHSanaei/3x-ui/issues/1288#issuecomment-1925150499
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#700
No description provided.