mongodb - Is there a connection leak while using Grails with Mongo DB -



mongodb - Is there a connection leak while using Grails with Mongo DB -

i followed next link build sample app using grails , mongo db.

http://etcpe9.wordpress.com/2012/01/28/beginning-grails-2-0-with-mongodb/

but each time create new person can see next in mongod shell xx connection open .

i not sure if means connection leak ?

thu feb 21 21:04:06 [initandlisten] connection accepted 127.0.0.1:50526 #22 (1 connection open) thu feb 21 21:04:27 [initandlisten] connection accepted 127.0.0.1:50527 #23 (2 connections open) thu feb 21 21:04:27 [initandlisten] connection accepted 127.0.0.1:50528 #24 (3 connections open) thu feb 21 21:04:36 [initandlisten] connection accepted 127.0.0.1:50531 #25 (4 connections open) thu feb 21 21:04:36 [initandlisten] connection accepted 127.0.0.1:50532 #26 (5 connections open) thu feb 21 21:04:48 [initandlisten] connection accepted 127.0.0.1:50533 #27 (6 connections open) thu feb 21 21:04:53 [initandlisten] connection accepted 127.0.0.1:50534 #28 (7 connections open) thu feb 21 21:04:59 [initandlisten] connection accepted 127.0.0.1:50535 #29 (8 connections open) thu feb 21 21:05:04 [initandlisten] connection accepted 127.0.0.1:50536 #30 (9 connections open) thu feb 21 21:05:10 [initandlisten] connection accepted 127.0.0.1:50537 #31 (10 connections open)

no, mongodb driver maintaining connection pool can reuse connections.

mongodb grails

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -