Bug 439388

Summary: "Db::get: Cannot allocate memory" on recovery
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Kim van der Riet <kim.vdriet>
Severity: urgent Docs Contact:
Priority: urgent    
Version: betaCC: iboverma
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-21 15:30:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gordon Sim 2008-03-28 14:00:07 UTC
Publish 100,000 messages of 2k to a queue (using store-async=false), then stop
the broker try to restart. Get an error midway through:  "Db::get: Cannot
allocate memory".

Comment 1 Gordon Sim 2008-03-28 17:33:35 UTC
Running the bdb db_stat utility on the message db file results in that program
hanging.

Comment 2 Gordon Sim 2008-03-28 17:51:55 UTC
The same thing happens when running the db_dump utility.

Comment 3 Gordon Sim 2008-04-01 17:11:36 UTC
Fixed in r1817 of the bdbstore. Solution was to batch up recovery of messages
into multiple transactions of a fxied number of ops each.

Comment 4 Mike Bonnet 2008-05-16 15:08:49 UTC
qpidc-0.2.656926-1.el5, qpidd-0.2.656926-1.el5, and rhm-0.2.2058-1.el5 have been pushed to the staging repo for testing