[GH-ISSUE #895] CPU spikes to 100 every few seconds #596

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

Originally created by @Stevemoretz on GitHub (Aug 11, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/895

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

If you keep looking at htop output or the cpu usage in UI in the panel, you'll see every few seconds this happens this has nothing to do with number of users as the server has only one user and it keeps going back to 1% then 100% and it keeps happening every few seconds, this has been happening for quite some time now and makes the connection too slow, the same thing happened at version 1.7.5, all clean install and no upgrades and still happened and still does for 1.7.6.

Screen Shot 1402-05-20 at 19 44 29 Screen Shot 1402-05-20 at 19 43 34

Version of 3x-ui

1.7.6, 1.7.5

x-ui log reports or xray log

empty for today.
Originally created by @Stevemoretz on GitHub (Aug 11, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/895 ### 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 If you keep looking at `htop` output or the cpu usage in UI in the panel, you'll see every few seconds this happens this has nothing to do with number of users as the server has only one user and it keeps going back to 1% then 100% and it keeps happening every few seconds, this has been happening for quite some time now and makes the connection too slow, the same thing happened at version 1.7.5, all clean install and no upgrades and still happened and still does for 1.7.6. <img width="332" alt="Screen Shot 1402-05-20 at 19 44 29" src="https://github.com/MHSanaei/3x-ui/assets/27680142/0aa3e73c-428b-4ddb-bb9c-ce11a96145ac"> <img width="503" alt="Screen Shot 1402-05-20 at 19 43 34" src="https://github.com/MHSanaei/3x-ui/assets/27680142/c6477776-774d-4016-a96e-edde8ec1f3f9"> ### Version of 3x-ui <details> ```console 1.7.6, 1.7.5 ``` </details> ### x-ui log reports or xray log <details> ```console empty for today. ``` </details>
Author
Owner

@Stevemoretz commented on GitHub (Aug 11, 2023):

Is x-ui process the web-panel itself? can we disable it for now and let the xray itself run still?

<!-- gh-comment-id:1675044331 --> @Stevemoretz commented on GitHub (Aug 11, 2023): Is `x-ui` process the web-panel itself? can we disable it for now and let the xray itself run still?
Author
Owner

@AEydi commented on GitHub (Aug 26, 2023):

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

If you keep looking at htop output or the cpu usage in UI in the panel, you'll see every few seconds this happens this has nothing to do with number of users as the server has only one user and it keeps going back to 1% then 100% and it keeps happening every few seconds, this has been happening for quite some time now and makes the connection too slow, the same thing happened at version 1.7.5, all clean install and no upgrades and still happened and still does for 1.7.6.

Screen Shot 1402-05-20 at 19 44 29 Screen Shot 1402-05-20 at 19 43 34

Version of 3x-ui

x-ui log reports or xray log

I think the issue comes from utilizing an outdated database on the new panel. Deleting the clients and subsequently recreating them with the same email and id should resolve this problem.

<!-- gh-comment-id:1694503096 --> @AEydi commented on GitHub (Aug 26, 2023): > ### 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 > If you keep looking at `htop` output or the cpu usage in UI in the panel, you'll see every few seconds this happens this has nothing to do with number of users as the server has only one user and it keeps going back to 1% then 100% and it keeps happening every few seconds, this has been happening for quite some time now and makes the connection too slow, the same thing happened at version 1.7.5, all clean install and no upgrades and still happened and still does for 1.7.6. > > <img alt="Screen Shot 1402-05-20 at 19 44 29" width="332" src="https://user-images.githubusercontent.com/27680142/260059825-0aa3e73c-428b-4ddb-bb9c-ce11a96145ac.png"> <img alt="Screen Shot 1402-05-20 at 19 43 34" width="503" src="https://user-images.githubusercontent.com/27680142/260059842-c6477776-774d-4016-a96e-edde8ec1f3f9.png"> > ### Version of 3x-ui > ### x-ui log reports or xray log I think the issue comes from utilizing an outdated database on the new panel. Deleting the clients and subsequently recreating them with the same email and id should resolve this problem.
Author
Owner

@skylastn commented on GitHub (Sep 5, 2023):

same issue @Stevemoretz

<!-- gh-comment-id:1706700707 --> @skylastn commented on GitHub (Sep 5, 2023): same issue @Stevemoretz
Author
Owner

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

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

<!-- gh-comment-id:1925152316 --> @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#596
No description provided.