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 CiviEvent (Moderator: Yashodha Chaku) »
  • DOMPDF Eating up CPU
Pages: 1 2 [3]

Author Topic: DOMPDF Eating up CPU  (Read 15368 times)

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: DOMPDF Eating up CPU
January 26, 2012, 10:31:01 pm
More anecdotal info - no solution yet:

Using 3.4.8 I have a small template with 1 single row table with two columns and 2 absolute-positioned divs.

The client wants to use this to Find Contributions >> print PDF Thank You note

Unfortunately, the server times out (or more likely, runs out of memory or hits a process limit) when any more than three are simultaneously selected and printed:

Code: [Select]
[Thu Jan 26 21:21:58 2012] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Thu Jan 26 21:21:58 2012] [error] [client 72.95.213.138] Premature end of script headers: index.php, referer: http://dnow-qa.civicactions.net/civicrm/contribute/search?_qf_PDF_display=true&qfKey=30a760555b7fab329db64e62b005ad08_1730

This happens only a few seconds after submitting a job with more than three notices, so it's not running into a 40 second suExec timeout.

(On my personal linux sandbox w/ 8GB RAM I have printed 50 Thank You PDFs with no issue.)

When (if) I figure this out, I'll post.

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • DOMPDF Eating up CPU

This forum was archived on 2017-11-26.