Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2329

Failed: error writing data for collection `mydb.data` to disk: error reading collection: EOF

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 3.1.4
    • Component/s: mongodump
    • Environment:
      Production

      Hi Team,

      Recently I have started getting below error while running backup query via cronjobs, I have seen disk read and writes they are not that high to be culprit and I can't figure out what is the reason of these dump issues.

      Need help to identify culprit.

       

      These failures occur randomly not everytime/day, some day they run properly with no issue.

       

      2019-07-07T01:10:03.939+0500 writing mydata.cron to
      2019-07-07T01:10:03.939+0500 writing mydata.contact to
      2019-07-07T01:10:03.939+0500 writing mydata.request to
      2019-07-07T01:10:03.939+0500 writing mydata.user to
      2019-07-07T01:10:04.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:04.858+0500 [........................] mydata.user 0/81445 (0.0%)
      2019-07-07T01:10:04.858+0500
      2019-07-07T01:10:07.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:07.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:07.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:07.858+0500
      2019-07-07T01:10:10.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:10.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:10.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:10.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:10.858+0500
      2019-07-07T01:10:13.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:13.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:13.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:13.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:13.858+0500
      2019-07-07T01:10:16.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:16.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:16.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:16.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:16.858+0500
      2019-07-07T01:10:19.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:19.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:19.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:19.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:19.858+0500
      2019-07-07T01:10:22.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:22.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:22.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:22.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:22.858+0500
      2019-07-07T01:10:25.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:25.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:25.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:25.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:25.858+0500
      2019-07-07T01:10:28.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:28.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:28.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:28.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:28.858+0500
      2019-07-07T01:10:31.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:31.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:31.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:31.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:31.858+0500
      2019-07-07T01:10:34.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:34.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:34.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:34.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:34.858+0500
      2019-07-07T01:10:37.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:37.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:37.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:37.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:37.858+0500
      2019-07-07T01:10:40.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:40.858+0500 [........................] mydata.user 101/81445 (0.1%)
      2019-07-07T01:10:40.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:40.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:40.858+0500
      2019-07-07T01:10:43.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:43.858+0500 ######................. mydata.user 24077/81445 (29.6%)
      2019-07-07T01:10:43.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:43.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:43.858+0500
      2019-07-07T01:10:46.858+0500 [........................] mydata.cron 101/349808 (0.0%)
      2019-07-07T01:10:46.858+0500 ######................. mydata.user 24077/81445 (29.6%)
      2019-07-07T01:10:46.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:46.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:46.858+0500
      2019-07-07T01:10:49.858+0500 ######................. mydata.cron 108380/349808 (31.0%)
      2019-07-07T01:10:49.858+0500 ######................. mydata.user 24077/81445 (29.6%)
      2019-07-07T01:10:49.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:49.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:49.858+0500
      2019-07-07T01:10:52.858+0500 ######................. mydata.cron 108380/349808 (31.0%)
      2019-07-07T01:10:52.858+0500 ######................. mydata.user 24077/81445 (29.6%)
      2019-07-07T01:10:52.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:52.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:52.858+0500
      2019-07-07T01:10:55.858+0500 ######................. mydata.cron 108380/349808 (31.0%)
      2019-07-07T01:10:55.858+0500 ######................. mydata.user 24077/81445 (29.6%)
      2019-07-07T01:10:55.858+0500 [........................] mydata.request 101/120375 (0.1%)
      2019-07-07T01:10:55.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:55.858+0500
      2019-07-07T01:10:58.858+0500 ######................. mydata.cron 108380/349808 (31.0%)
      2019-07-07T01:10:58.858+0500 ######................. mydata.user 24077/81445 (29.6%)
      2019-07-07T01:10:58.858+0500 ....................... mydata.request 7981/120375 (6.6%)
      2019-07-07T01:10:58.858+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:58.858+0500
      2019-07-07T01:10:59.808+0500 [........................] mydata.contact 101/240350 (0.0%)
      2019-07-07T01:10:59.808+0500 Failed: error writing data for collection `mydata.contact` to disk: error reading collection: EOF

            Assignee:
            seth.payne@mongodb.com Seth Payne
            Reporter:
            sulaiman Muhammad Sulaiman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: