I upgraded java to version 7 and everything seems to be stable now!
BR,
Arkadi
On 03/25/2013 09:54 PM, Shawn Heisey wrote:
On 3/25/2013 1:34 AM, Arkadi Colson wrote:
I changed my system memory to 12GB. Solr now gets -Xms2048m -Xmx8192m as
parameters. I also added -XX:+UseG1GC to the java process. But now the
whole machine crashes! Any idea why?
Mar 22 20:30:01 solr01-gs kernel: [716098.077809] java invoked
oom-killer: gfp_mask=0x201da, order=0, oom_adj=0
Linux (the out of memory killer, or oom-killer) is deciding to kill
the java process because the entire machine is out of memory.
Normally it kills off the process using the most memory. This will
only happen when all RAM is fully allocated to programs as well as all
available swap space. At this point, this is not a direct problem
with Solr. It *could* be a problem with Java itself, but that is not
very likely.
Because Java is set to use only 8GB out of the 12GB you have on the
machine, this suggests that you have at least one other
memory-intensive application on the same server. Are you using the
same hardware to run a website and/or database? Solr works best on
dedicated hardware.
Thanks,
Shawn