Note that there are some explanatory texts on larger screens.

plurals
  1. POMongoDB writeback exception
    primarykey
    data
    text
    <p>Our mongodb cluster in production, is a sharded cluster with 3 replica sets with 3 server each one and, of course, another 3 config servers.</p> <p>We also have 14 webservers that connect directly to mongoDb throw the mongos process that are running in each of this webservers (clients).</p> <p>The entire cluster receive 5000 inserts per minute.</p> <p>Sometimes, we start getting exceptions from our java applications when it wants to perform operations to the mongoDb.</p> <p>This is the stackTrace:</p> <pre><code>caused by com.mongodb.MongoException: writeback com.mongodb.CommandResult.getException(CommandResult.java:100) com.mongodb.CommandResult.throwOnError(CommandResult.java:134) com.mongodb.DBTCPConnector._checkWriteError(DBTCPConnector.java:142) com.mongodb.DBTCPConnector.say(DBTCPConnector.java:183) com.mongodb.DBTCPConnector.say(DBTCPConnector.java:155) com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:270) com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:226) com.mongodb.DBCollection.insert(DBCollection.java:147) com.mongodb.DBCollection.insert(DBCollection.java:90) com.mongodb.DBCollection$insert$0.call(Unknown Source) </code></pre> <p>If I check the mongos process throw the rest _status command that it provides, it returns a 200OK. We could fix the problem restarting the tomcat that we are using and restarting the mongos process but I would like to find a final solution to this problem. It's not a happy solution to have to restart everything in the middle of the night.</p> <p>When this error happens, maybe 2 or 3 another webservers got the same error at the same time, so I imagine that there is a problem in the entire mongoDb cluster, no a problem in a single isolated webserver.</p> <p>Does anyone know why mongo returns a writeback error? and how to fix it?</p> <p>I'm using mongoDb 2.2.0.</p> <p>Thanks in advance.</p> <p>Fer</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload