[SERVER-9538] mongodb 2.4.3 crash : BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit Created: 02/May/13 Updated: 11/Jul/16 Resolved: 13/May/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability |
| Affects Version/s: | 2.4.3 |
| Fix Version/s: | 2.4.4, 2.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christophe Spy | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux Debian 6.0.6 - kernel : 3.2.13 |
||
| Issue Links: |
|
||||
| Operating System: | Linux | ||||
| Participants: | |||||
| Description |
|
My server run very well in 2.2.3. I upgrade in 2.4.1 but have some memory leak (see : https://jira.mongodb.org/browse/SERVER-9534) and need restart mongodb each 24-48h I upgrade to 2.4.3 but with this version, mongod crash after some hours.
If I downgrade in 2.2.3 or 2.4.1 > this crash don't appear. It's difficult to know which part of the apps is in cause, but last queries in mongo slow log were some group command. |
| Comments |
| Comment by auto [ 13/May/13 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2013-05-03T19:44:54Z', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Otherwise BSONObj destructor will try to grow again to add EOO byte, | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Pasette (Inactive) [ 09/May/13 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Hi Christophe, this kind of issue should not be impacted by the version – it just means that the result object you are building became too large. The fix we've implemented for 2.5.0 only prevents the crash from occurring. It is strange that this would happen on 2.4 but not on 2.2 with the exact same query and data. If there's any way you can test that directly, we would appreciate it. If you are able to include the entire group query from your app, any parameters passed to the query from the app as well as a sample document we can try to reproduce this ourselves. Thanks again for the report. | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Christophe Spy [ 07/May/13 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Hi, the query is truncated in the log (log line attempted (19k) over max size(10k)) :
If needed, I can find the complete query in my app | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Pasette (Inactive) [ 07/May/13 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Hi Christophe, can you please post the server command you are running which causes this crash? | |||||||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 03/May/13 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2013-05-03T19:44:54Z', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Otherwise BSONObj destructor will try to grow again to add EOO byte, | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Mathias Stearn [ 03/May/13 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Could you send us a copy of the command that caused this to fail? Ideally with a script to generate enough data for this to fail. |