OpenSearch/docs/reference/setup/sysconfig/virtual-memory.asciidoc
Jason Tedor 588db621ac
Remove reference to non-existent store type (#32418)
We removed the default_fs store type yet the docs still contain a
reference to them. This commit addresses that by removing this
reference, and changing a reference to this section of the docs to
instead refer to mmapfs.
2018-07-27 11:24:03 -04:00

21 lines
717 B
Plaintext

[[vm-max-map-count]]
=== Virtual memory
Elasticsearch uses a <<mmapfs,`mmapfs`>> directory by
default to store its indices. The default operating system limits on mmap
counts is likely to be too low, which may result in out of memory exceptions.
On Linux, you can increase the limits by running the following command as
`root`:
[source,sh]
-------------------------------------
sysctl -w vm.max_map_count=262144
-------------------------------------
To set this value permanently, update the `vm.max_map_count` setting in
`/etc/sysctl.conf`. To verify after rebooting, run `sysctl vm.max_map_count`.
The RPM and Debian packages will configure this setting automatically. No
further configuration is required.