Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1537

Comment on: "manual/administration/production-notes.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      I'm receiving this warning when starting my MongoDB shell:

      Wed Mar 20 22:40:49.850 [initandlisten]

      Wed Mar 20 22:40:49.850 [initandlisten] ** WARNING: Readahead for /data is set to 2048KB

      Wed Mar 20 22:40:49.850 [initandlisten] ** We suggest setting it to 256KB (512 sectors) or less

      Wed Mar 20 22:40:49.850 [initandlisten] ** http://dochub.mongodb.org/core/readahead

      I've used:

      df /data

      To find where the drive is that my data is mounted and subsequently used:

      sudo blockdev --setra 256 /dev/mapper/vg0-data

      to set the readahead to the 256 that was specified. I've confirmed this has worked with:

      sudo blockdev --getra /dev/mapper/vg0-data

      I'm still however getting the same error when starting my shell?

      UPDATE

      I've restarted the mongodb server instance and am still receiving this error.

      UPDATE 2

      My linux server is hosted on AWS and therefore uses virtual volumes. I have set the readahead value for all those volumes to 256 and still receive this error.

      Attachments

        Activity

          People

            barrie Barrie Segal
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 48 weeks, 2 days ago