New answers tagged

0

What you set with ES_HEAP_SIZE is the Java heap size available to the program being run on the JVM. On top of that JVM has its own overhead, there's overhead from the GC (its data is not accounted for as Java heap) and each running thread needs memory for its stack (how many threads do you have and what's the stack size?). ElasticSearch probably doesn't use ...


0

Use jvisualvm to see heap consumption (and much more), it's the official debugging and profiling tool for java, installed by default with java. Attach it to the elasticsearch process, check that the -Xmx and -Xms flags have the right value and look at the graphs. It's very straightforward. The java process should have 4 GB of heap at all times because you ...


0

The issue is probably in the JVM and if you launch multiple instances of ES, look into it with Java Mission Control http://www.oracle.com/technetwork/java/javaseproducts/mission-control/java-mission-control-1998576.html or jconsole https://docs.oracle.com/javase/8/docs/technotes/guides/management/jconsole.html. This will give you an idea why it's consuming ...


1

FMW 11.1.0.7 is not certified with Windows 2012 R2. Refer to "certifications" tab on support.oracle.com if you have access to it. You should consider using later release of FWM (12c) or downgrade your OS.


0

First of all, you can ignore the warnings emitted by dpkg-shlibdeps. The errors should hint you towards which packages you need to install in order to satisfy all library dependencies for the JDK. The reason this happens is that you are building a deb package from a binary distribution, i.e. a precompiled JDK. Usually, Debian packages are built from source, ...


0

I am using Java Mission Control which is part of recent JDK7 releases and all JDK8 releases. The binary is called jmc on Linux and jmc.exe on Windows and it is located in $JAVA_HOME/bin/. The default sample rate is 1 second, but it is configurable for each MBean attribute. Besides monitoring the items exposed by JMX you can run a profiler called Java ...


0

Finally got it working. Here's the solution FNDLOAD is an OS command line executable. In order to run it we must ensure our enviroment is set up correctly in the shell, before invoking FNDLOAD. ((ChannelExec) channel).setCommand("cd path/to/env/file; . ./envFileName.env;"+ command);


1

I just re-checked the AWS documentation and it's still the case - you can't make this cookie secure or httpOnly. http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-sticky-sessions.html However, you now have an option to have the ELB rely on a cookie that's issued by the web server, so you can configure your own server-level cookie ...


2

You can force MySQL to use no client certificate by setting an empty keystore in the connection URL. The problem I had above was a variant of https://bugs.mysql.com/bug.php?id=36948 -- if you set "clientCertificateKeyStoreUrl" in the connection URL but not also "trustCertificateKeyStoreUrl" (and the 4 other params below), then MySQL will crash with "...


0

One option you could do is setup a nginx reverse proxy with the backend endpoint set as the TLS1.x endpoint. Then set the nginx front-end to support TLS1 (or whatever transport encryption you need). If you're running it on localhost and have it bound to that interface, there's not really a worry about the lower encryption level (as it's only traveling on ...


0

The problem was with the JVM settings specified in the Dockerfile. We started our JVM like this: CMD java -jar /data/uberjar.jar -Xmx128m -server but when we switched to: CMD java -Xmx128m -server -jar /data/uberjar.jar the settings were taken into account. I still don't understand why I didn't saw this locally though but I'm just glad we managed to ...



Top 50 recent answers are included