"Connection closed by peer" while running YCSB benchmark

Hi,

I am running MongoDB 4.4 on RHEL containers and need to run YCSB with 60 million records. After about an hour and 36 million records, I get “Connection closed by peer” error. It could be some system level parameter that is a constraint but I do not know where to look . I am not a DB expert and followed MomgoDB instructions to install it on OpenShift.

Error:

16:30:39.035 [Thread-9] DEBUG org.mongodb.driver.protocol.insert - Insert completed
16:30:39.035 [Thread-9] DEBUG org.mongodb.driver.protocol.insert - Inserting 1 documents into namespace ycsb.usertable on connection [connectionId{localVue:13}] to server 10.228.xxx.xxx:32049

Exception while trying bulk insert with 0
com.mongodb.MongoWriteException: Write results unavailable from test-0-0.test-sh.mongodb.svc.cluster.local:27017 :: caused by :: Connection closed by pee
        at com.mongodb.MongoCollectionImpl.executeSingleWriteRequest(MongoCollectionImpl.java:487)
        at com.mongodb.MongoCollectionImpl.insertOne(MongoCollectionImpl.java:277)
        at com.yahoo.ycsb.db.MongoDbClient.insert(MongoDbClient.java:270)
        at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:158)
        at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:549)
        at com.yahoo.ycsb.ClientThread.run(Client.java:346)
com.mongodb.MongoWriteException: Write results unavailable from test-0-0.test-sh.mongodb.svc.cluster.local:27017 :: caused by :: Connection closed by pee
        at com.mongodb.MongoCollectionImpl.executeSingleWriteRequest(MongoCollectionImpl.java:487)
        at com.mongodb.MongoCollectionImpl.insertOne(MongoCollectionImpl.java:277)
        at com.yahoo.ycsb.db.MongoDbClient.insert(MongoDbClient.java:270)
        at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:158)
        at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:549)
        at com.yahoo.ycsb.ClientThread.run(Client.java:346)
1 Like