-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak with high user load #4054
Comments
i have this problem !! |
please help |
pprof profiles? |
@Fangliding |
I suggest disabling the balancer as it seems to have little problem |
Yes, it helped. |
|
@norollback1337 I think I fixed the problem. |
Integrity requirements
Description
Hello everyone! I'm experiencing a memory leak issue with a large number of active users. When the problem occurs, there's a sharp increase in memory consumption which then drops back to normal levels after about 2 minutes. However, after each spike, the baseline memory usage incrementally increases, indicating a potential memory leak.
I'm using the latest version of 3x-ui, and I've also tried rolling back to several previous versions, but this didn't resolve the issue. I monitored the traffic on xray's API interface during the problem occurrence, and there were no suspicious requests from 3x-ui to xray during these spikes.
Using pprof for memory analysis during these spikes revealed potential issues, but I'm not sure how to address them in the code. Also, there are no log records (function calls or similar) while the problem occurs.
System details:
Has anyone encountered similar issues or can suggest possible solutions? I can share pprof analysis results if needed.
Reproduction Method
Client config
Server config
Sample client inbound configuration (in 3x-ui located outside of main server config):
Client log
Server log
The text was updated successfully, but these errors were encountered: