Closed
Description
Cronjobs stuck in pending state. CPU usage increasing. Mysql slow queries increasing.
Time is 13:28.
Logs filled with:
use magento;
SET timestamp=1579781526;
SELECT GET_LOCK('|CRON_GROUP_default', '5');
# Time: 200123 13:13:06
# User@Host: magento[magento] @ localhost []
# Thread_id: 20330 Schema: magento QC_hit: No
# Query_time: 2.951003 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 0
# Rows_affected: 0
SET timestamp=1579781586;
Load goes down after disabling cronjob in crontab:
Preconditions (*)
Magento 2.3.3 & 2.4-develop
PHP-FPM 7.2.24
Steps to reproduce (*)
- Install Magento
- Setup cron jobs
- Run store for a week
- Break store
Expected result (*)
Normal working store.
Actual result (*)
- Increased CPU usage
- Increased cronjobs count
- Increased slow queries
- Slow store
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentOnce P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.
Type
Projects
Status
Done