Skip to content
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

Getting Database CPU usages high (100%) suddenlly #38323

Closed
5 tasks
hemendrametawolf opened this issue Dec 27, 2023 · 7 comments
Closed
5 tasks

Getting Database CPU usages high (100%) suddenlly #38323

hemendrametawolf opened this issue Dec 27, 2023 · 7 comments
Assignees
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.4-p1 Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it

Comments

@hemendrametawolf
Copy link

Preconditions and environment

  • Magento 2.4.4-p1
  • suddenly magento using high cpu usages and it will down the website and not working properly.
  • db server is percona and 248 GB RAM and magento server 125 GB RAM

Steps to reproduce

  1. going to website
  2. checking website and it going slow
  3. checking servers and found database server using high cpu usages

Expected result

website work without any issue and db server use low CPU usages

Actual result

website down and high cpu usages

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Copy link

m2-assistant bot commented Dec 27, 2023

Hi @hemendrametawolf. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

Copy link

m2-assistant bot commented Dec 27, 2023

Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo engcom-Bravo added the Reported on 2.4.4-p1 Indicates original Magento version for the Issue report. label Dec 27, 2023
@engcom-Bravo
Copy link
Contributor

Hi @hemendrametawolf,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly recheck the issue in Latest magento 2.4-develop instance and also check any third party modules causing the issue.

Could you please refer this link https://www.percona.com/blog/a-simple-approach-to-troubleshooting-high-cpu-in-mysql/ for High CPU usage.

Thanks,

@engcom-Bravo engcom-Bravo added the Issue: needs update Additional information is require, waiting for response label Jan 3, 2024
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Needs Update in Issue Confirmation and Triage Board Jan 3, 2024
@hemendrametawolf
Copy link
Author

Thanks for the updates venkata.

I checked using show PROCESSLIST on the database , there are multiple distinct query related to indexer.
may i know why it happening and how i can fix this issue.
here are the screeshot of show PROCESSLIST.
image

@engcom-Bravo engcom-Bravo added the Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it label Jan 4, 2024
Copy link

m2-assistant bot commented Jan 4, 2024

Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo engcom-Bravo removed their assignment Jan 4, 2024
@engcom-November
Copy link
Contributor

Hello @hemendrametawolf,

Thank you for the quick response!

This might have caused from a third party module.
Please try disabling custom modules to see if the problem persists, this will help in narrowing down the source of the problem.

Thank you.

@engcom-November
Copy link
Contributor

Hello @hemendrametawolf,

We noticed this issue has not been updated for a long time, We assume that this issue is fixed now, hence closing the issue.
Feel free to reopen or raise a new issue if you need more assistence.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.4-p1 Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
None yet
Development

No branches or pull requests

3 participants