Skip to content

Commit

Permalink
add readme comment regarding the linux vm memory count issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonEirew committed May 21, 2019
1 parent be6e77f commit b60208f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,17 @@ This is the preferred and fastest way to get the elastic index locally.<br/>
The index on Docker Hub is updated with beginning of 2018 wikipedia dump.<br/>

#### Docker Prerequisites
Before starting this one-time process, make sure docker disk image size (*in your Docker Engine Preferences*) is not limited under 150GB.
1) Before starting this one-time process, make sure docker disk image size (*in your Docker Engine Preferences*) is not limited under 150GB.
Once below one-time process done, you can decrease image size
2) If working with a Linux host, you might need to increase host vm.max_map_count,
in order to verify you have the right value (i.e 262144), run:

$>sudo sysctl vm.max_map_count
You should see: vm.max_map_count = 262144
If you see instead: vm.max_map_count = 65530,
Fix by running:
$>sudo sysctl -w vm.max_map_count=262144


#### Get Image and Build Container

Expand Down

0 comments on commit b60208f

Please sign in to comment.