Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-985

Q: dropped connections and data nodes definitions

      I have a few Jboss 5.1 servers which uses MongoDB data set. Till yesterday I had 3 Mongo 2.0 nodes in this dataset. Yesterday I added 2 Mongo 2.4.6 secondaries to this dataset; and after that I see many warnings like that:

      WARNING [com.mongodb] emptying DBPortPool to /x.x.x.x:27017 b/c of error

      "Many" - about 30/day instead of 5/day before. Another thing that I don't understand - according to jboss log, it started to use 2 new nodes, even I didn't add them to mongo-ds.xml.

      Any ideas why number of dropped connections increased and why jboss started to use new nodes?

      TIA, Vitaly

      my mongo-ds is:
      <mongo:mongo host="none" replica-set="mongo1:27017,mongo2:27017,mongo3:27017"> <mongo:options connections-per-host="8" threads-allowed-to-block-for-connection-multiplier="4" connect-timeout="10000" max-wait-time="1500" auto-connect-retry="true" socket-keep-alive="true" socket-timeout="10000" slave-ok="true" write-number="1" write-timeout="0" write-fsync="true" /> </mongo:mongo>

        1. java_mongo_exception.txt
          4 kB
          Vitaly Karasik

            Assignee:
            Unassigned Unassigned
            Reporter:
            vitaly_il Vitaly Karasik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: