Re: [mongodb-user] Response too long

725 views
Skip to first unread message

Jeff Yemin

unread,
Jan 3, 2013, 4:08:53 PM1/3/13
to mongod...@googlegroups.com
Please post the full stack trace. Otherwise, we can't really be of
any assistance.


On Thu, Jan 3, 2013 at 2:14 PM, Marco Isaac Laurrabaquio de Leon
<ilaurr...@mapdata.com.mx> wrote:
> Hello i have and aplication that obtaint a mongodb collection , but the
> problem is that collection has around 23,000 documents and gives me the
> expcetion java.lang.IllegalArgumentException: response too long: 980448372.
>
> Please can anybody help to solve this.
>
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com
> See also the IRC channel -- freenode.net#mongodb

Marco Isaac Laurrabaquio de Leon

unread,
Jan 3, 2013, 5:54:08 PM1/3/13
to mongod...@googlegroups.com
14/12/2012 03:22:51 AM com.mongodb.DBPortPool gotError
ADVERTENCIA: emptying DBPortPool to 172.17.221.1:27017 b/c of error
java.lang.IllegalArgumentException: response too long: 980448372
 at com.mongodb.Response.<init>(Response.java:44)
 at com.mongodb.DBPort.go(DBPort.java:128)
 at com.mongodb.DBPort.call(DBPort.java:79)
 at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:218)
 at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305)
 at com.mongodb.DB.command(DB.java:160)
 at com.mongodb.DB.command(DB.java:183)
 at com.mongodb.DB.command(DB.java:144)
 at com.mongodb.DBCollection.findAndModify(DBCollection.java:376)
 at com.mongodb.DBCollection.findAndRemove(DBCollection.java:414)
 at org.semanticwb.triplestore.mongo.SWBTSMongoGraph.performDelete(SWBTSMongoGraph.java:136)
 at org.semanticwb.triplestore.mongo.SWBTSMongoGraph.performDelete(SWBTSMongoGraph.java:113)
 at com.hp.hpl.jena.graph.impl.GraphBase.delete(GraphBase.java:220)
 at com.hp.hpl.jena.rdf.model.impl.ModelCom.remove(ModelCom.java:288)
 at org.semanticwb.platform.SemanticObject.remove(SemanticObject.java:1007)
 at org.semanticwb.platform.SemanticObject.remove(SemanticObject.java:980)
 at org.semanticwb.platform.SemanticObject.remove(SemanticObject.java:972)
 at org.semanticwb.platform.SemanticObject.setLiteralProperty(SemanticObject.java:1358)
 at org.semanticwb.platform.SemanticObject.setLiteralProperty(SemanticObject.java:1333)
 at org.semanticwb.platform.SemanticObject.setDoubleProperty(SemanticObject.java:2689)

Jeff Yemin

unread,
Jan 3, 2013, 6:39:45 PM1/3/13
to mongod...@googlegroups.com
What version of the Java driver are you using?

Marco Isaac Laurrabaquio de Leon

unread,
Jan 3, 2013, 7:00:38 PM1/3/13
to mongod...@googlegroups.com
mongo-2.7.0

thanks :)

Jeff Yemin

unread,
Jan 8, 2013, 7:32:58 AM1/8/13
to mongod...@googlegroups.com
Are you able to reproduce this error consistently? If so, can you
supply a test case? Please include the server version as well, and
your server configuration (replica sets, shards, etc).

Ben McCann

unread,
May 2, 2013, 6:59:53 PM5/2/13
to mongod...@googlegroups.com
Marco, any clues on reproducing? I've been seeing this as well

Reply all
Reply to author
Forward
0 new messages