title: Mongodb shutdown with error when mongorestore
body: <p>I am restoring the data to mongodb. After the data imported, and before all indexes rebuilt, it throws some error, and shuts itself down.</p>
  
  <p>Is there anyone familiar with this condition?</p>
  
  <p>The error log:</p>
  
  <blockquote>
    <p><code>Wed Nov 16 13:32:10 Socket recv() errno:104 Connection reset by peer 127.0.0.1:27017</code><br>
    <code>Wed Nov 16 13:32:10 SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [1] server [127.0.0.1:27017]</code><br>
    <code>Wed Nov 16 13:32:10 DBClientCursor::init call() failed
    assertion: 10276 DBClientBase::findN: transport error: localhost query: { getlasterror: 1 }</code></p>
  </blockquote>