Error 11 is a POSIX error number (errno) and means EAGAIN, "Resource
temporarily unavailable", which is documented.

On Solaris 10, this means, you must first allow the Elasticsearch user to
allocate this amount of virtual memory.

Switch to Elasticsearch user and then check the following values

prctl -n project.max-shm-memory $$
prctl -n process.max-address-space $$

Then the sys admin could create a project with projadd and projmod and
change resource limits for the Elasticsearch user.

The error can also mean that Solaris has not enough memory for mlockall
because there is already software running using the memory, or it the free
memory is too fragmented.

Jörg



On Mon, Jul 21, 2014 at 11:09 AM, James Pace <james.a.p...@gmail.com> wrote:

> We have been having issues running ES with the bootstrap.mlockall: true
> setting. We get the following error:
>
> [2014-07-21 09:56:44,436][WARN ][common.jna] Unknown mlockall error 11
>
> I have googled around and looked in the solaris documentation for the
> description of the error codes and I have been unsuccessful. The solaris
> docs are here
> <http://docs.oracle.com/cd/E26505_01/html/816-5168/mlockall-3c.html#REFMAN3Amlockall-3c>
>  but
> they only list 3 error codes. Is the error code 11 generated by ES?
>
> Our box has a total of 64 gigs of RAM and we give 32gigs to ES. We are
> running it using Oracle Java 1.7.13 64bit. Any help on the matter would be
> greatly appreciated!
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/bc9ba19f-c798-4e7f-9977-c9707709c47e%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/bc9ba19f-c798-4e7f-9977-c9707709c47e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH%3DJQqs6UY7e2bO7z%3DhGacdMq_AJvoZpYCFfKqCAqMWaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to