Bug 439388 - "Db::get: Cannot allocate memory" on recovery
Summary: "Db::get: Cannot allocate memory" on recovery
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: beta
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
: ---
Assignee: Gordon Sim
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-28 14:00 UTC by Gordon Sim
Modified: 2009-08-21 15:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-21 15:30:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.