Questions tagged [jvm]

25 questions
5
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
  • 165
  • 1
  • 5
3
votes
1 answer

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
  • 321
  • 1
  • 12
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
  • 1
  • 9
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…
1
vote
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…
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
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
  • 2
  • 12
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
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
  • 5
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
  • 115
  • 3
0
votes
1 answer

javaws failing on JNLP file, unable to verify cert error

We run Screenconnect at the office, or whatever connectwise calls it these days. I'm the only linux user in the office. So I just run the icedtea-netx plugin and open my sessions with the jnlp file. Recently had to reload a laptop and noticed that…
TheEditor
  • 231
  • 1
  • 4
  • 15
0
votes
1 answer

Finding all programs which are using Java on windows server 2012

I am looking for a way with which I can find any and all programs which are using Java on a windows server. Is there a cmd command or something similar which would give me a list of all programs using java? Thanks Edit: I am basically about to…
0
votes
1 answer

Difference between JVM application memory footprint and OS memory

I know this is a question already discussed, but I couldn't find a method to get peace of mind. Basically we have a java web application that runs under a tomcat application server, specifically: Java HotSpot(TM) 64-Bit Server VM; 1.8.0_112;…
frankieta
  • 101
  • 5
0
votes
1 answer

JVM heap is being swapped causing GC go haywire - Tomcat

Info: # of VMs= 4, each with an instance of Tomcat 8.5.* in cluster Apps = 5 war applications- 2 UI applications and 3 Webservices. Java Version = java 1.8.* Configuratin = 2 LTMS and 2 Apache Webservers - 1 LTM on top of tomcat clusters which…
prashma
  • 1
  • 3
1
2