Mongo DB 3.0 Full Text Search Memory Leak

178 views
Skip to first unread message

zhongxi yuan

unread,
Apr 11, 2015, 10:07:12 PM4/11/15
to mongo...@googlegroups.com
Hi All,
Recently I update my DB from2.6 to 3.0.   I find when I execute  command 

db.DeviceDataCurr.find({$text:{$search:"hostname"}},{_id:1}).limit(10)

via mongo.exe, the Server memory will increase,  The server died after I looped run this command.
I tried many times and found that both mmapv1 and wiredtiger have this promblem.
I also tried v2.6,  It works fine.

Hope your response.

there are some db log
2015-04-11T20:59:41.271-0400 I QUERY    [conn12] query NGDomain111.DeviceDataCurr query: { $text: { $search: "hostname" } } planSummary: TEXT {} cursorid:30552791919 ntoreturn:10 ntoskip:0 nscanned:58912 nscannedObjects:58912 keyUpdates:0 writeConflicts:0 numYields:461 nreturned:10 reslen:550 locks:{ Global: { acquireCount: { r: 462 } }, MMAPV1Journal: { acquireCount: { r: 462 } }, Database: { acquireCount: { r: 462 } }, Collection: { acquireCount: { R: 462 } } } 1744ms
2015-04-11T20:59:42.061-0400 I STORAGE  [DataFileSync] flushing mmaps took 14790ms  for 14 files
2015-04-11T20:59:42.651-0400 I QUERY    [conn12] query NGDomain111.DeviceDataCurr query: { $text: { $search: "hostname" } } planSummary: TEXT {} cursorid:31386534272 ntoreturn:10 ntoskip:0 nscanned:58912 nscannedObjects:58912 keyUpdates:0 writeConflicts:0 numYields:461 nreturned:10 reslen:550 locks:{ Global: { acquireCount: { r: 462 } }, MMAPV1Journal: { acquireCount: { r: 462 } }, Database: { acquireCount: { r: 462 } }, Collection: { acquireCount: { R: 462 } } } 1375ms
2015-04-11T20:59:44.443-0400 I QUERY    [conn12] query NGDomain111.DeviceDataCurr query: { $text: { $search: "hostname" } } planSummary: TEXT {} cursorid:31826192619 ntoreturn:10 ntoskip:0 nscanned:58912 nscannedObjects:58912 keyUpdates:0 writeConflicts:0 numYields:462 nreturned:10 reslen:550 locks:{ Global: { acquireCount: { r: 463 } }, MMAPV1Journal: { acquireCount: { r: 463 } }, Database: { acquireCount: { r: 463 } }, Collection: { acquireCount: { R: 463 } } } 1786ms
2015-04-11T20:59:45.915-0400 I QUERY    [conn12] query NGDomain111.DeviceDataCurr query: { $text: { $search: "hostname" } } planSummary: TEXT {} cursorid:31081467184 ntoreturn:10 ntoskip:0 nscanned:58912 nscannedObjects:58912 keyUpdates:0 writeConflicts:0 numYields:462 nreturned:10 reslen:550 locks:{ Global: { acquireCount: { r: 463 } }, MMAPV1Journal: { acquireCount: { r: 463 } }, Database: { acquireCount: { r: 463 } }, Collection: { acquireCount: { R: 463 } } } 1468ms
2015-04-11T21:00:21.665-0400 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 421ms
2015-04-11T21:00:27.988-0400 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 375ms
2015-04-11T21:01:31.943-0400 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 528ms
2015-04-11T21:01:32.589-0400 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 244ms
2015-04-11T21:02:30.713-0400 I QUERY    [conn12] query NGDomain111.DeviceDataCurr query: { $text: { $search: "hostname" } } planSummary: TEXT {} cursorid:31859778607 ntoreturn:10 ntoskip:0 nscanned:58912 nscannedObjects:58912 keyUpdates:0 writeConflicts:0 numYields:483 nreturned:10 reslen:550 locks:{ Global: { acquireCount: { r: 484 } }, MMAPV1Journal: { acquireCount: { r: 484 } }, Database: { acquireCount: { r: 484 } }, Collection: { acquireCount: { R: 484 } } } 164738ms
2015-04-11T21:02:31.388-0400 I NETWORK  [conn12] SocketException handling request, closing client connection: 9001 socket exception [SEND_ERROR] server [127.0.0.1:50994]

Jason Rassi

unread,
Apr 13, 2015, 11:09:27 AM4/13/15
to mongo...@googlegroups.com
Hi,

Please file a bug report for this issue.  Visit our issue tracker at <https://jira.mongodb.org/browse/SERVER>, and select the green "Create" button at the top of the page.

In your ticket description, please also provide the output of running the following: mongo.exe --eval "printjson(db.serverBuildInfo())"

Thanks.
~ Jason Rassi

--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev...@googlegroups.com.
To post to this group, send email to mongo...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-dev.
For more options, visit https://groups.google.com/d/optout.

zhongxi yuan

unread,
Apr 13, 2015, 2:49:41 PM4/13/15
to mongo...@googlegroups.com
I Create a Bug, hop will resolve it soon
  1. SERVER-18018

在 2015年4月13日星期一 UTC-4上午11:09:27,Jason Rassi写道:
Reply all
Reply to author
Forward
0 new messages