[DOCS-1537] Comment on: "manual/administration/production-notes.txt" Created: 23/May/13 Updated: 07/Mar/22 Resolved: 12/Jun/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | auto | Assignee: | Barrie Segal |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux, AWS Location: http://docs.mongodb.org/manual/administration/production-notes/#readahead |
||
| Participants: | |
| Days since reply: | 1 year, 48 weeks, 2 days ago |
| 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. |
| Comments |
| Comment by Githook User [ 07/Mar/22 ] |
|
Author: {'name': 'Dave', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}Message: |
| Comment by Githook User [ 07/Mar/22 ] |
|
Author: {'name': 'Dave', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}Message: |
| Comment by Githook User [ 07/Mar/22 ] |
|
Author: {'name': 'Dave', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}Message: |