[JAVA-466] Connection reset by peer: socket write error Created: 07/Nov/11 Updated: 04/Jun/12 Resolved: 15/May/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 2.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | jagadesh paladugula | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows7 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
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. |
| Comments |
| Comment by Jeffrey 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? |
| Comment by Sergey Pichkurov [ 04/Jun/12 ] |
|
Any workaround to solve this issue? |
| Comment by Jeffrey Yemin [ 15/May/12 ] |
|
Seems like this is a duplicate of |
| Comment by Scott Hernandez (Inactive) [ 07/Nov/11 ] |
|
What is the connection limit on the server? db.serverStatus()? Are there any server logs at the same time? |