[ https://issues.apache.org/jira/browse/SOLR-13771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941368#comment-16941368 ]
ASF subversion and git services commented on SOLR-13771: -------------------------------------------------------- Commit b919f34bc03ac1220273d12fc30cdfc933af7b00 in lucene-solr's branch refs/heads/branch_8x from Erick Erickson [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b919f34 ] SOLR-13771: Add -v and -m to ulimit section of reference guide and bin/solr checks (cherry picked from commit a1f3d2c29a1b61ac01e5defcb097695c43aaadd9) > Add -v and -m to ulimit section of reference guide and bin/solr checks > ----------------------------------------------------------------------- > > Key: SOLR-13771 > URL: https://issues.apache.org/jira/browse/SOLR-13771 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Erick Erickson > Assignee: Erick Erickson > Priority: Major > Attachments: SOLR-13771.patch > > > I just noticed these bits in MMapDirectory.java > {code} > 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'). "; > } > {code} > 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. > > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org