2011-11-06 4 views
0

mongob 2.0.0, mongo gem 1.4.1, mongo_mapper 0.9.2, rail 3.0.6입니다.MongoMapper와의 연결 오류 : 다음 예외로 인해 작업이 실패했습니다. 기존 연결이 원격 호스트에 의해 강제로 닫혔습니다.

우리는 잠시 동안 (예를 들어, 10 분) 후 페이지를 새로 고침하면, 우리는 다음과 같은 오류를 참조하십시오 : 우리는 연결을 확장하기 위해 조정해야 할 몇 가지 구성 설정은

Mongo::ConnectionFailure (Operation failed with the following exception: An existing connection was forcibly closed by the remote host. 

을 있습니까?

답변

1

mongo (/ bson/bson_ext)로 다운 그레이드 1.3.1. 1.4.0 및 1.4.1에는 "치명적인 버그"가 있습니다.

http://groups.google.com/group/mongodb-user/browse_thread/thread/7ddaabe02d43fbab?pli=1

Users are reporting unusually high numbers of connections, performance problems, and threading issues in 1.4.0 and 1.4.1. There's also a bug in sending commands to the correct node in 1.4.1.

+0

감사합니다, 크리스! 호프 1.4.2는 곧 출시 될 예정이지만 릴리스 날짜가 스레드에 따라 분명하지 않은 것 같습니다 ... – Crashalot

+0

그래, 곧 나타납니다. 1.3.1은 당분간 충분히 잘 서비스하고 있지만, 잡아 당기는 보석은 정말 나를 괴롭혔다. 그래서 나는 1.4.2로 돌아 가기 전에 조금 기다릴 것이다. –

+0

1.3.1로 되돌리려면 특별한 것이 있습니까? GEMFILE을 업데이트하고 번들 설치를 실행하십시오. 다른 건 없니? – Crashalot

관련 문제