Skip to content

Magento 2.3.3 Cronjob use too much CPU source #25634

Closed
@Yuwei9291

Description

@Yuwei9291

Preconditions (*)

1.nginx, mysql5.6, php7.3, composer install magento 2.3.3
2.finish all the settings and set 3 cronjobs following the official document.

Steps to reproduce (*)

1.use top command to monitoring the task cpu usage.
2.run php bin/magento cron:run and check the cpu usage.

Expected result (*)

  1. Smooth CPU usage, dose not cause the long time loading.

Actual result (*)

  1. long loading time because of the high CPU usage(Clean Magento 2.3.2: 1s
    Clean Magento 2.3.3: 3.5s)
    20191118192805

CPU usage record by panel
微信截图_20191118191411
CPU usage

Metadata

Metadata

Assignees

Labels

Component: CronFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressProgress: doneReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itTriage: Performance

Type

No type

Projects

Status

Pull Request In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions