Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13771

Add -v and -m to ulimit section of reference guide and bin/solr checks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.3
    • None
    • None

    Description

      I just noticed these bits in MMapDirectory.java

          if (!Constants.JRE_IS_64BIT) {
            moreInfo = "MMapDirectory should only be used on 64bit platforms, because the address space on 32bit operating systems is too small. ";
          } else if (Constants.WINDOWS) {
            moreInfo = "Windows is unfortunately very limited on virtual address space. If your index size is several hundred Gigabytes, consider changing to Linux. ";
          } else if (Constants.LINUX) {
            moreInfo = "Please review 'ulimit -v', 'ulimit -m' (both should return 'unlimited'), and 'sysctl vm.max_map_count'. ";
          } else {
            moreInfo = "Please review 'ulimit -v', 'ulimit -m' (both should return 'unlimited'). ";
          }
      

      We should add this info to the ref guide, particularly the bits about -v and -m. We already mention ulimits, but only in relation to file handles and processes.

      What about restructuring that section a bit, to something like "operating system settings", so we can include some of the information above.

       

       

      Attachments

        1. SOLR-13771.patch
          5 kB
          Erick Erickson

        Activity

          People

            erickerickson Erick Erickson
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: