Questions tagged [jvm]
31 questions
6
votes
1 answer
What is the /dev/urandom equivalent on Windows JVM level
Recently, I run into troubles because the lack of entropy and blocking rand IO caused hangs. On Linux, I can do the following:
JAVA_OPTS=-Djava.security.egd=/dev/urandom ./myStartScript.sh
What is the equivalent on Windows? We are running the app…
pydoge
- 175
3
votes
2 answers
Cassandra tmpdir change location
Cassandra is failing to start if /tmp is set as noexec, which is pretty much default these days:
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
at…
Vladimir
- 331
2
votes
1 answer
memory locking requested for elasticsearch process but memory is not locked
ElasticSearch 5.6.7 throws somewhat misleading following error and refuse to start:
[2018-08-02T10:07:50,333][ERROR][o.e.b.Bootstrap ] [esm56n3] node validation exception
[2] bootstrap checks failed
[1]: memory locking requested for…
2
votes
1 answer
UnknownHostException when enabling JMX in Java 8
Using Java 7, I can launch a JVM with JMX enabled without any problems using these…
Elifarley
- 151
2
votes
0 answers
How to monitor Java non-heap memory usage?
I need to run a bunch of java processes, that I'm not sure, what their maximum heap usage can be. To make better use of server's heap memory I tried solution described in 1. I found in documentation, that basically GC needs to be called, that heap…
Alojzij Blatnik
- 143
- 2
- 11
1
vote
1 answer
Possible Linux page table issue/huge load average with large heap JVM that results in significant sys time in GC logs
Our service runs on AWS on m5.12xlarge nodes (48 cores, 192 G RAM) on Ubuntu 16.04. We use Java 8. For our service we allocate about 150G as max heap size. We have no swap on the node. The nature of our service is that it allocates a lot of large…
devurandom
- 11
1
vote
0 answers
Tomcat AWS CPU Utilization Higher Than Expected
I recently got tasked with a project to move an Java application hosted with Tomcat that we wrote 3-4 years ago and that has been running in a clients data center to AWS. Right now we're in the middle of load testing and have about 20% of all…
luxiconn
- 41
1
vote
0 answers
JVM: JVMJ9VM015W Initialization error for library j9gc28(2): Failed to instantiate compressed references metadata; 200M requested
I am getting the following errors on the IBM Domino Server console.
Running 9.0.1 FP8 Win64
HTTP Server: Using Web Configuration View
HTTP JVM: JVMJ9VM015W Initialization error for library j9gc28(2): Failed to instantiate compressed references…
Thomas Adrian
- 145
1
vote
0 answers
YARN AM logs report different time-stamp from what is shown in terminal and sparkscala shell
I am trying to understand why the following occurred:
I have a Docker container with Yarn and Spark running fine except that the timestamp of that container was minus X hours of what I wanted it to be. So when I was running date it was returning a…
rudimuse
- 11
1
vote
2 answers
Native memory allocation (mmap) failed to map bytes for committing reserved memory
I am running a download server in AWS t2.micro instance & I have configured max heap of 512 MB & min heap of 256 MB for my java process. I am performing a migration kind of process in a single thread which downloads files (Sizes < 50MB)from google…
Aarish Ramesh
- 111
- 1
- 1
- 4
1
vote
1 answer
Tomcat7 on docker - not responding issue
We have a tomcat7 running on top of docker container (official docker image).
On rush hours after some time the tomcat hangs and no longer able to serve reqeusts (many requests are stuck and waiting indefinitely).
Here is the 'manager-app'…
Urbanleg
- 139
1
vote
1 answer
How do I prevent a full memory dump created on JVM crash?
I was running a java application on Windows however it occasionally crashes every months due to peak traffic.To make things worse JVM automatically generated memory dumps everytime its crashes and eating disk space rapidly.Is there any JVM…
Amadeusz Liu
- 113
1
vote
0 answers
dotnet sonarscanner did not find java but JAVA_HOME exists. Tried jre 11,13, 17 on ubuntu 20.04.3
I am starting proper command
~/project$ /usr/bin/dotnet sonarscanner end /d:sonar.login="admin" /d:sonar.password="user"
and got the java error on ubuntu 20.04.3
SonarScanner for MSBuild 5.5.3
Using the .NET Core version of the Scanner for…
Машина
- 137
1
vote
1 answer
Interpreting OOM killer logs when triggered on a Java thread
When Linux OOM Killer interrupts a process, the kernel logs usually provide enough information about the culprit's memory consumption (even it is not killed eventually). For example, when snmpd process becomes an OOM trigger, its memory state can be…
Toparvion
- 113
1
vote
1 answer
Convert JRE to JDK centos7
Hi,
I am very new to this but I have a centos7 server with a tomcat9 server running some applications. I have only JRE installed on that server based on the command below:
[root@ppappih02 ~]# readlink -f $(which…
user1999453
- 125