[JAVA-466] Connection reset by peer: socket write error Created: 07/Nov/11 Updated: 04/Jun/12 Resolved: 15/May/12
|Type:||Bug||Priority:||Major - P3|
|Days since reply:||6 years, 24 weeks, 6 days ago|
|Date of 1st Reply:|
|Last comment by Customer:||false|
After starting the server, when I access the application, it works fine. After some time letsay 15 mins when I try to do something it throws me a Connection reset by peer: socket write error. Looks like some issue with MongoDB Connection Pooling.
I create a Singleton Instance of Mongo to connect to database.
|Comment by Scott Hernandez [ 07/Nov/11 ]|
What is the connection limit on the server? db.serverStatus()? Are there any server logs at the same time?
|Comment by Jeff Yemin [ 15/May/12 ]|
Seems like this is a duplicate of
|Comment by Sergey Pichkurov [ 04/Jun/12 ]|
Any workaround to solve this issue?
|Comment by Jeff Yemin [ 04/Jun/12 ]|
I wonder why the connections are getting reset. Can you try using "127.0.0.1" instead of "localhost" for the host name? Or try with 2.8.0-RC1, which fixes "localhost" handling?