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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • Event Register Transaction Looping/Memory Leak
Pages: [1]

Author Topic: Event Register Transaction Looping/Memory Leak  (Read 1849 times)

splice

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.1.68-cli
  • PHP version: 5.3.20
Event Register Transaction Looping/Memory Leak
April 09, 2013, 05:51:44 am
Ran into a problem while testing 4.3.beta5 with an event registration transaction.  After filling in the initial form and then pressing the Continue button on the next confirmation screen, the transaction apparently completes the majority of the workload and then goes into a memory leak/instruction loop pegging the CPU at 100%.

  • The transaction activity status is marked complete so we know that processing through authorize.net was successful and the DB records were updated.
  • The transaction eventually times out and a 500 error is displayed. Now other information is presented.
  • Watching Top from the shell, I can see the task pegged at 100% CPU utilization and virtual memory slowly increases.
  • The error occurs no matter whether credit card or Pay Later option is selected (Activity Status for Pay Later is marked as Pending in reports - completed for CC).

What can I do to help in debugging this problem?  Tried turning on the backtrace but nothing was displayed.

JJ

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Event Register Transaction Looping/Memory Leak
April 09, 2013, 06:43:16 am

most likely this is looping when dompdf is generating the PDF for the receipt. Two options:

1. Turn off PDF receipts (a setting in civicrm admin)

2. Switch to wkhtmltopdf for your pdf needs

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

splice

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.1.68-cli
  • PHP version: 5.3.20
Re: Event Register Transaction Looping/Memory Leak
April 09, 2013, 07:28:41 am
Thanks Lobo.  Turning it off solved the problem.

For other folks with this issue, you can control this option at Administer > System Settings > Undelete, Logging and ReCAPTCHA > Attach PDF copy to receipts.

JJ

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • Event Register Transaction Looping/Memory Leak

This forum was archived on 2017-11-26.