[SERVER-3295] Too many open cursors leaking memory Created: 19/Jun/11 Updated: 29/Aug/11 Resolved: 20/Jun/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Will Shulman | Assignee: | Dwight Merriman |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Over time I can see a steady growth of Virtual - Mapped on the server in a way that is uncorrelated with the number of connections. However, it looks like too many cursors are open. How do we fix that? "cursors": { "totalOpen":677263, "clientCursors_size":677263, "timedOut":20 }, |
| Comments |
| Comment by auto [ 21/Jun/11 ] |
|
Author: {u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}Message: |
| Comment by Dwight Merriman [ 20/Jun/11 ] |
|
be sure no one is using QueryOption_NoCursorTimeout option. perhaps this can be checked with mongosniff. |
| Comment by Dwight Merriman [ 20/Jun/11 ] |
|
timedOut is virtually zero, which surprises me and makes me wonder what is up. |
| Comment by Eliot Horowitz (Inactive) [ 20/Jun/11 ] |
|
cursors get closed when:
Its impossible to give a generic answer to this, so the mailing list might be a better place to diagnose. |