CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Increased CPU usage but no reason?
Pages: [1]

Author Topic: Increased CPU usage but no reason?  (Read 595 times)

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
Increased CPU usage but no reason?
April 10, 2012, 12:29:37 pm
Hi,

On a 3.4.5 install I am running the following with cron in order to process mails and bounces; civimail.cronjob.php and EmailProcessor.php. These fire every half an hour and process a batch. They've been running fine for over a year and have been processing everything smoothly.

However, in recent days I have been notified that they are using increasing CPU time each day and I can;t explain why, no civimail lists have been sent out recently and no bounce emails have been present to process, therefore the crons should just run and complete with no work to do? CPU reports from a month ago show the account using circa 0.5% of a CPU as an average over the day now they are up at 3.3%, these cron tasks are showing as the top processes.

Can anyone help me understand why these cron processes would increase their usage over time even though there hasn't been anything to process?

I have turned them off for the moment to double confirm that the high usage is down to these tasks and will report back if it is not down to these but the top processes report seems to point at them.

Any help or thoughts would be very welcome!

Also, any thoughts an what I could try to either diagnose or rectify the issue would also be welcome (I could just run them less frequently but there are obvious down sides to that and it doesn't go any way towards understanding why they are loading the CPU more).

I'm open to the fact that I'm barking up the wrong tree and it is something else loading the server.

Cheers,

Dave

sypl

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
Re: Increased CPU usage but no reason?
April 19, 2012, 04:15:39 am
I am having the same problem. I also haven't used it to send out any mailing recently and just this week CPU usage has gone way, way up. Using 3.4.8.

Subscribed.
« Last Edit: April 19, 2012, 04:17:51 am by sypl »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Increased CPU usage but no reason?

This forum was archived on 2017-11-26.