Thanks Shay for your response.
Ok then I am considering to upgrade my OS to 64 bit so that i can allocate
30 GB to 1 node only.
There is one more scenario on same server - Earlier we were setting nodes
as a combination of master and data, i.e. the
default configuration of nodes acting both as master and data. We moved out
of that configuration, and now each physical server is installed with 1
instance of master node and 1 or more instances of data node. Due to such
configuration, some data node might get unresponsive due to OOM, but the
master node doesn't suffer the problem, and continue providing responses by
gathering results from other data nodes as available.* In case of multiple *
*data node failure, results are provided with explicit OOM messages, which *
is even better. Using the timeout property in search queries didn't
respond
as expected, I don't know why, but provided it works, it will give the
perfect solution to our problem.
Can you please explain the detailed task division of master and data
nodes, and of the configuration of load-balancer node (neither master nor
data). We did not actually find much usage of it in accordance with our
setup.
Thanks and Regards
Jagdeep
On Wednesday, May 9, 2012 2:28:25 PM UTC+5:30, kimchy wrote:
Well, OOM in Java is a strange beast, if you don't send any more requests
like the one you posted, which obviously can't be allocated, then the
system will probably recover. But if you continue to send more requests,
you will get into problems with the GC stalling the JVM.
Make sure you run a single node on the machine, and not several (I think
its the same one with the 32bit, which means you are not using the machine
resources properly), and allocate enough nodes to accommodate for it.
On Mon, May 7, 2012 at 6:08 PM, jagdeep singh reach.jagdeep@gmail.comwrote:
Hi Shay,
I have copied the log to gist
ES oom log and settings · GitHub
I am doing the term faceting and oom is expected and accepted for
that. But system should recover from this, it can't just go
unresponsive and need manual restart of the server. Please suggest if
I need to change number of nodes or configuration.
Thanks and Regards
Jagdeep
On May 4, 6:47 pm, Shay Banon kim...@gmail.com wrote:
It might be needed, yea. Especially if the memory pressure does not
relent
(for example, memory is being cleaned and then added immediately after).
You can configure the JVM to execute a script on OOM, potentially
killing
the service.
On Fri, May 4, 2012 at 4:38 PM, jagdeep singh <reach.jagd...@gmail.com
wrote:
I am able to recover the data.. "there is no data loss" but I have to
manually restart the server after OOM.
Will post the gist also.
Thanks and Regards
Jagdeep
On May 4, 6:13 pm, Shay Banon kim...@gmail.com wrote:
You mean that you get into problems when it runs OOM, and you can't
recover
the data? Can you gist hte OOM failure you get in the logs in this
case?
On Thu, May 3, 2012 at 8:14 AM, jagdeep singh <
reach.jagd...@gmail.com
wrote:
Yes "java windows 32bit" is a constraint as of now now. Using
64bit
service wrapper is not at all an issue. I am already using it on
64
bit OS but it has only 8 GB RAM.
I am trying to port to 64bit OS and jvm but it will take some
time.
Will have to find an alternate by that time.
Unattended recovery of ES instances if it goes unresponsive is my
main
concern for which I am not able to find appropriate approach.
Thanks and Regards
Jagdeep
On May 2, 9:49 pm, Shay Banon kim...@gmail.com wrote:
Are you saying you can only use the java windows 32bit? Is that
because
thats the only one available in the servicewrapper community
edition?
Its a
shame if thats the case, you could try and use other way to
start ES
in
windows as a service, and use a 64bit JVM, it will be much
better
than
starting 10 instances of ES.... . Maybe try this:
Daemon – Daemon : Procrun.
On Wed, May 2, 2012 at 7:39 PM, jagdeep singh <
reach.jagd...@gmail.com
wrote:
Thanks Shay for your response.
I have 2 servers of following configuration
Windows 32 bit
24 core cpu
32 GB ram
Since its windows 32 bit I am not able to allocate more than
1.5gb
RAM
to one ES instance. I am doing term faceting for which I need
more
memory.
Yes I tried to run several instances of service your your
service
wrapper but unable to do that.
GitHub - elastic/elasticsearch-servicewrapper: A service wrapper on top of elasticsearch
I want to control automatic restart if my ES instances if it
goes
unresponsive. Any suggestions for this?
Thanks and rewgards
Jagdeep
On May 2, 9:28 pm, Shay Banon kim...@gmail.com wrote:
First, why do you need to run multiple ES instances? You
don't
really
need
to... . Second, just run several instances of the service,
or is
that a
problem?
On Tue, May 1, 2012 at 5:11 PM, jagdeep singh <
reach.jagd...@gmail.com
wrote:
Hi,
I am able to run multiple ES instances on one windows
server
from
bat
file.
I want to run multiple ES instances through single or
multiple
ES
services.
Server configuration:
Windows 32 bit
24 core cpu
32 GB ram
I am going to production so this is critical for me.
Please
help
me.
Thanks and Regards
Jagdeep