mongodb - How to limit connection pool size in monk Node.js -
i using monk module data mongodb. connect db creates 5 connections.
this command line mongodb server console...
2015-05-14t10:32:35.618+0530 network [initandlisten] connection accepted 127.0.0.1:61015 #3 (2 connections open) 2015-05-14t10:32:35.619+0530 network [initandlisten] connection accepted 127.0.0.1:61016 #4 (3 connections open) 2015-05-14t10:32:35.621+0530 network [initandlisten] connection accepted 127.0.0.1:61017 #5 (4 connections open) 2015-05-14t10:32:35.621+0530 network [initandlisten] connection accepted 127.0.0.1:61018 #6 (5 connections open) 2015-05-14t10:32:35.622+0530 network [initandlisten] connection accepted 127.0.0.1:61019 #7 (6 connections open) 2015-05-14t10:32:35.629+0530 network [conn3] end connection 127.0.0.1:61015 ( 5 connections open) 2015-05-14t10:32:35.629+0530 network [conn4] end connection 127.0.0.1:61016 ( 5 connections open) 2015-05-14t10:32:35.629+0530 network [conn5] end connection 127.0.0.1:61017 ( 5 connections open) 2015-05-14t10:32:35.629+0530 network [conn6] end connection 127.0.0.1:61018 ( 5 connections open) 2015-05-14t10:32:35.629+0530 network [conn7] end connection 127.0.0.1:61019 ( 5 connections open)
Comments
Post a Comment