java.io.EOFException

JIRA | Joseph Wang | 6 years ago
  1. 0

    [joseph.wang@stage1.vpc3 ~]$ ps auxww | grep mongo 2039 2337 2.5 7.8 24189064 615480 ? Sl Nov30 429:43 /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongod -f /db/lps-mongodb_master_stage1/mongodb.cnf 2040 2406 3.4 6.8 24568684 541140 ? Sl Nov30 567:09 /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongod -f /db/lps-mongodb_slave1_stage1/mongodb.cnf 2041 15172 1.1 6.5 23775900 519500 ? Sl Dec11 10:06 /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongod -f /db/lps-mongodb_slave2_stage1/mongodb.cnf --quiet 805 25812 0.0 0.0 6024 656 pts/1 S+ 05:05 0:00 grep mongo [joseph.wang@stage1.vpc3 ~]$ /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongo localhost:4101 MongoDB shell version: 1.6.3 connecting to: localhost:4101/test > exit bye [joseph.wang@stage1.vpc3 ~]$ /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongo localhost:4102 MongoDB shell version: 1.6.3 connecting to: localhost:4102/test > exit bye [joseph.wang@stage1.vpc3 ~]$ /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongo localhost:4103 MongoDB shell version: 1.6.3 connecting to: localhost:4103/test > exit bye > rs.status() { "set" : "lp", "date" : "Sun Dec 12 2010 05:07:17 GMT-0800 (PST)", "myState" : 1, "members" : [ { "_id" : 0, "name" : "stage1.vpc3.estalea.net:4101", "health" : 1, "state" : 2, "uptime" : 993385, "lastHeartbeat" : "Sun Dec 12 2010 05:07:15 GMT-0800 (PST)" }, { "_id" : 1, "name" : "stage1.vpc3.estalea.net:4102", "health" : 1, "state" : 1, "self" : true }, { "_id" : 2, "name" : "stage1.vpc3.estalea.net:4103", "health" : 1, "state" : 2, "uptime" : 50789, "lastHeartbeat" : "Sun Dec 12 2010 05:07:16 GMT-0800 (PST)" } ], "ok" : 1 } [22:55:05.073] node down: stage1.vpc3.estalea.net:4103 java.io.IOException: couldn't connect to [stage1.vpc3.estalea.net/10.9.0.5:4103] bc:java.net.ConnectException: Connection refused [22:55:25.874] replica set mode, switching master [22:55:25.874] java.io.EOFException [22:55:25.874] at org.bson.io.Bits.readFully(Bits.java:37) [22:55:25.874] at org.bson.io.Bits.readFully(Bits.java:28) [22:55:25.874] at com.mongodb.Response.<init>(Response.java:35) [22:55:25.874] at com.mongodb.DBPort.go(DBPort.java:101) [22:55:25.874] at com.mongodb.DBPort.go(DBPort.java:66) [22:55:25.874] at com.mongodb.DBPort.call(DBPort.java:56) [22:55:25.874] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:211) [22:55:25.874] at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:284) [22:55:25.874] at com.mongodb.DBCursor._check(DBCursor.java:297) [22:55:25.874] at com.mongodb.DBCursor._hasNext(DBCursor.java:420) [22:55:25.874] at com.mongodb.DBCursor.hasNext(DBCursor.java:445) [22:55:25.874] at com.leadpoint.syndication.db.mongo.mortgage.DbCollectionVersionTableUpdater.execute(DbCollectionVersionTableUpdater.java:57) [22:55:25.874] at com.leadpoint.syndication.db.mongo.mortgage.TableUpdater.execute(TableUpdater.java:40) [22:55:25.874] at com.leadpoint.syndication.db.mongo.mortgage.TableUpdaterTask.run(TableUpdaterTask.java:50) [22:55:25.874] at java.util.TimerThread.mainLoop(Timer.java:512) [22:55:25.874] at java.util.TimerThread.run(Timer.java:462) [22:55:25.874] MyPort.error called [22:55:25.874] java.io.EOFException [22:55:25.874] at org.bson.io.Bits.readFully(Bits.java:37) [22:55:25.874] at org.bson.io.Bits.readFully(Bits.java:28) [22:55:25.874] at com.mongodb.Response.<init>(Response.java:35) [22:55:25.874] at com.mongodb.DBPort.go(DBPort.java:101) [22:55:25.874] at com.mongodb.DBPort.go(DBPort.java:66) [22:55:25.874] at com.mongodb.DBPort.call(DBPort.java:56) [22:55:25.874] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:211) [22:55:25.874] at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:284) [22:55:25.874] at com.mongodb.DBCursor._check(DBCursor.java:297) [22:55:25.874] at com.mongodb.DBCursor._hasNext(DBCursor.java:420) [22:55:25.874] at com.mongodb.DBCursor.hasNext(DBCursor.java:445) [22:55:25.874] at com.leadpoint.syndication.db.mongo.mortgage.DbCollectionVersionTableUpdater.execute(DbCollectionVersionTableUpdater.java:57) [22:55:25.874] at com.leadpoint.syndication.db.mongo.mortgage.TableUpdater.execute(TableUpdater.java:40) [22:55:25.874] at com.leadpoint.syndication.db.mongo.mortgage.TableUpdaterTask.run(TableUpdaterTask.java:50) [22:55:25.874] at java.util.TimerThread.mainLoop(Timer.java:512) [22:55:25.874] at java.util.TimerThread.run(Timer.java:462)

    JIRA | 6 years ago | Joseph Wang
    java.io.EOFException
  2. 0

    GitHub comment 68#28523596

    GitHub | 3 years ago | michaelmosmann
    java.io.EOFException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 68#28523692

    GitHub | 3 years ago | michaelmosmann
    java.io.EOFException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      No message provided

      at org.bson.io.Bits.readFully()
    2. MongoDB Java Driver
      DBCursor.hasNext
      1. org.bson.io.Bits.readFully(Bits.java:37)
      2. org.bson.io.Bits.readFully(Bits.java:28)
      3. com.mongodb.Response.<init>(Response.java:35)
      4. com.mongodb.DBPort.go(DBPort.java:101)
      5. com.mongodb.DBPort.go(DBPort.java:66)
      6. com.mongodb.DBPort.call(DBPort.java:56)
      7. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:211)
      8. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:284)
      9. com.mongodb.DBCursor._check(DBCursor.java:297)
      10. com.mongodb.DBCursor._hasNext(DBCursor.java:420)
      11. com.mongodb.DBCursor.hasNext(DBCursor.java:445)
      11 frames
    3. com.leadpoint.syndication
      TableUpdaterTask.run
      1. com.leadpoint.syndication.db.mongo.mortgage.DbCollectionVersionTableUpdater.execute(DbCollectionVersionTableUpdater.java:57)
      2. com.leadpoint.syndication.db.mongo.mortgage.TableUpdater.execute(TableUpdater.java:40)
      3. com.leadpoint.syndication.db.mongo.mortgage.TableUpdaterTask.run(TableUpdaterTask.java:50)
      3 frames
    4. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames