WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#16255 closed defect (bug) (invalid)

Heavy problems !! (help pls)

Reported by: avin Owned by: noa
Milestone: Priority: normal
Severity: normal Version: 3.0.4
Component: Cron API Keywords: cpu load
Focuses: Cc:

Description

Hello, we are a news agency, we have switched from joomla to wordpres cus of his cool features.
But during the days we have switched to wp, we are having heavy CPU usage, we have a VSP at HG, lvl 4.

We have read a lot before writing this ticket, and we think that the cron job is the one who is overloading our server, the strange thing is that every time a visitor come in, it load the server cpu hard (we have attached a photo so you can see.)

How can we disable cron job to run every time a visitor come in site ?
The overload of cpu can be the cron job ? or smth else (we have checked our plugins one by one, and they dont increase the cpu load, we have disabled all plugins cron jobs.)

Thank you for reading this ticket,
Wating for an answer if is possible.

Cheers

Attachments (1)

PROBLEMS-WITH-CPU-LOADS.jpg (190.0 KB) - added by avin 4 years ago.
Show the cpu loads in my server

Download all attachments as: .zip

Change History (2)

@avin4 years ago

Show the cpu loads in my server

comment:1 @nacin4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from blocker to normal
  • Status changed from new to closed

Add define('DISABLE_WP_CRON', true); to wp-config.php.

Set up a cron on the server to hit wp-config.php every 1, 5, or 10 minutes, or whatever you prefer.

You'll want to further debug this I'm sure, as this is atypical. But sometimes improperly configured servers cause all sorts of problems.

Alternatively, you could try the alternate cron, ALTERNATE_WP_CRON. But it's inferior to both the current method and setting up a system cron.

Closing this as invalid as it's a support request. See http://wordpress.org/support.

Note: See TracTickets for help on using tickets.