[JAVA-1029] Mongo throws com.mongodb.MongoException$Network: exception after trying to update a large number of documents in collection. Created: 18/Oct/13 Updated: 04/Dec/13 Resolved: 04/Dec/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Connection Management |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | edrin gjoleka | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
linux, windows |
||
| Description |
|
We are using spring with mongo java driver in order to access the mongo data.
After running for a certain time round 2 minutes and drying all the memory of the machine than the following exception is thrown: After digging in the git repository for mongo driver i see that the exceptions is thrown from the file DBTCPConnector.java in line 157.
|
| Comments |
| Comment by Henrik Ingo (Inactive) [ 21/Oct/13 ] |
|
Hi all. I met with Edrin in Stockholm ~2 weeks ago where this issue came up. I recommended to file this ticket, but don't know much more than what is in the description + what I'll add here. Edrin: top output before the crash after crash: And of course the full mongodb log from /var/log/mongodb/mongodb.log A sample document from the collection you are updating. If you cannot share this publicly, could you email it to me? Statistics of the collection being updated: db.collectionname.stats(1024*1024) Hardware specs of the machine MongoDB was running on, in particular how much RAM it has. |
| Comment by Jeffrey Yemin [ 18/Oct/13 ] |
|
Can you provide the full stack trace of the exception, including the IOException that is the cause? Thanks, |