elasticsearch: manage memlock limits.