MongoDb import - Socket Exception errno:32 Broken pipe

March 18, 2015 1.2k views
MongoDB DigitalOcean

I just set up a Mongo droplet and was importing ~500mb of data from my computer. The import was generally going ok until around 80% when I hit an error:

Socket say send() errno:32 Broken pipe HOST_IP:HOST_PORT
exception: socket exception [SEND_ERROR] for HOST_IP:HOST_PORT

Is there a timeout I can configure to avoid this happening, and is there a way I can carry on where it left off?

1 comment
  • How are you importing the data? Are you using the mongoimport tool?

Be the first one to answer this question.