Hey there,
So while troubleshooting why our mongo logs are so huge, i noticed its mostly filled with:
Wed Jul 9 16:57:02.237 [conn42275875] end connection 172.18.1.210:57437 (2304 connections now open)
Wed Jul 9 16:57:02.244 [initandlisten] connection accepted from 172.18.3.142:61795 #42275876 (2305 connections now open)
Wed Jul 9 16:57:02.245 [conn42275876] end connection 172.18.3.142:61795 (2304 connections now open)
Wed Jul 9 16:57:02.245 [conn42275785] end connection 172.18.0.171:56677 (2303 connections now open)
Wed Jul 9 16:57:02.249 [initandlisten] connection accepted from 172.18.12.98:53749 #42275877 (2304 connections now open)
Wed Jul 9 16:57:02.250 [conn42275877] end connection 172.18.12.98:53749 (2303 connections now open)
Wed Jul 9 16:57:02.250 [initandlisten] connection accepted from 172.18.3.181:62839 #42275878 (2304 connections now open)
Wed Jul 9 16:57:02.251 [initandlisten] connection accepted from 172.18.12.138:60582 #42275879 (2305 connections now open)
Wed Jul 9 16:57:02.253 [conn42275879] end connection 172.18.12.138:60582 (2304 connections now open)
Docs tell me ( docs.mongodb.org/manual/faq/deve … ted-events )
“If you see a very large number connection and re-connection messages in your MongoDB log, then clients are frequently connecting and disconnecting to the MongoDB server. This is normal behavior for applications that do not use request pooling, such as CGI. Consider using FastCGI, an Apache Module, or some other kind of persistent application server to decrease the connection overhead.”
It seems like the application (deadline in this case) would need to support request pooling. Were you guys considering that?
I’m not sure how big this constant reconnection overhead is, but the logs are sometimes getting so large its impacting the full drivespace (its a high performance, but relatively small space raid).
They suggest ‘quieting’ the log, but im afraid what other messages that would filter out…