Pool errors - connection reset by peer

Skip to first unread message

İnanç Gümüş

Aug 1, 2017, 6:16:28 AM8/1/17
to mgo-users
When `sess.SetPoolLimit(50)` not used many errors are occurring when `mgo` is under stress like 10000 concurrent connections.

When I limit the pool errors went away.

I've created a test-case file in the attachment for this problem, so you can test it in your own machine easily.

Do you have any suggestions about this behaviour?

Gustavo Niemeyer

Aug 3, 2017, 6:13:24 AM8/3/17
to mgo-...@googlegroups.com
Hi there,

You've also filed an issue about the same question. I've responded there:

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

Reply all
Reply to author
0 new messages