Closed Bug 739153 Opened 13 years ago Closed 13 years ago

bugzilla pegs cpu at 100% if the db server returns "Unknown table engine 'InnoDB'"

Categories

(bugzilla.mozilla.org :: General, defect)

Production
x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

References

Details

Attachments

(1 file)

bugzilla pegs cpu at 100% if the db server returns "Unknown table engine 'InnoDB'" (see bug 731665). my guess is the arecibo customisations would be the cause for this.
there's deep recursion, causing the httpd process to peg the cpu and never stop. this kills the server. we need to get this patched and deployed asap; if there's a db issue on production this bug will quickly kill the webheads. i have a patch which works in my dev env, waiting for it to be deployed to stage-tip for testing.
Severity: major → critical
Attached patch patch v1Splinter Review
this patch does a few things: - detects and blocks recursive calls to our die handler - incorporates the fix from bug 734834 wrt ModPerl::Util::exit - always outputs a content-type header, which was missing in some circumstances - removes "at /path/to/file line 0." info from the error (but not from logs)g - doesn't invoke arecibo when using command-line tools
Attachment #609298 - Flags: review?(dkl)
Depends on: 734834
dkl, ping?
Comment on attachment 609298 [details] [diff] [review] patch v1 Review of attachment 609298 [details] [diff] [review]: ----------------------------------------------------------------- Looks good and works as expected. r=dkl
Attachment #609298 - Flags: review?(dkl) → review+
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/ modified Bugzilla/Arecibo.pm modified Bugzilla/Error.pm Committed revision 8126. Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/ modified Bugzilla/Arecibo.pm modified Bugzilla/Error.pm Committed revision 8113.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: