Questions tagged [jvm]
The jvm tag has no usage guidance.
31
questions
0
votes
0
answers
23
views
JAVA UnsupportedOperationException (The Security Manager is deprecated) on Windows 10 + OpenJDK
I am using OpenJDK on Windows 10.
C:\Users\divym>java -version
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09)
OpenJDK 64-Bit Server VM (Temurin)(...
2
votes
0
answers
271
views
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, ...
1
vote
1
answer
286
views
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 ...
0
votes
0
answers
28
views
How to force Hadoop Daemon or JVM to use given hostname instead of nodes actual hostname
0
I have 5 nodes hadoop cluster with different fqdns with domain xyz.com like node1.xyz.com, node2.xyz.com ... node5.xyz.com, its hostnames are configured with this domains, so if we write hostname ...
0
votes
0
answers
51
views
Solr Search query is hitting only one node resulting heap issue on that node
We have multiple instance SOLR Cloud running, SOLR performs well but if we have spike in search request then only one node report heap issue and other node are working normal.
if this happens then we ...
0
votes
1
answer
369
views
Is it possible to use OS level DNS Cache like nscd, dnsmasq at JVM/JAVA?
Is it possible to use OS level DNS Cache like nscd, dnsmasq at JVM/JAVA?
I read many letters saying JVM has their own DNS caching.
https://www.ibm.com/support/pages/understanding-tuning-and-testing-...
1
vote
1
answer
52
views
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 ...
0
votes
1
answer
452
views
Jenkins running as a service restarts by itself after upgrade from 2.303.2 to 2.319.3
I upgraded Jenkins (running as a service) from version 2.235.5 to 2.303.2 (by just replacing .war file and restarting the service), which seemed to work pretty stable. Before doing it, I upgraded Java ...
0
votes
1
answer
1k
views
Why is the max heap much smaller than the value I set in Xmx (with -XX:+UseParallelGC -XX:+UseParallelOldGC)
I am running a SolrCloud on k8s with the following setting:
Heap params:
-server -Xms280m -Xmx312m
Other params:
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseAdaptiveSizePolicy -XX:...
0
votes
1
answer
1k
views
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.
...
0
votes
1
answer
9k
views
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 ...
1
vote
1
answer
925
views
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 ...
0
votes
1
answer
3k
views
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:
...
2
votes
1
answer
2k
views
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 ...
1
vote
0
answers
621
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
897
views
Tomcat Server Shuts Down with no trace
We have a couple of critical Java Web Apps running on a bunch of Apache Tomcat 7 servers, on top of Centos 6.x.
From time to time, once or twice a week, one of the Tomcat instances suddenly shuts ...
5
votes
1
answer
8k
views
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 ...
0
votes
1
answer
3k
views
Elasticsearch: no JDK found... but JAVA_HOME seems set properly
When I'm trying to install elasticsearch (Ubuntu 16.04) I get the error message:
elasticsearch[15885]: * no JDK found - please set JAVA_HOME
But I have only one Java and I think JAVA_HOME is set ...
1
vote
0
answers
2k
views
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): ...
1
vote
0
answers
389
views
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 ...
0
votes
0
answers
221
views
JVM Heap usage charts interpretation
I'd like to ask for some tips how should I concern different JAVA apps memory usage line charts. Should I find any of them as "memory leak"? How my JVM profiling impacts on GC activity?
Each of them ...
0
votes
1
answer
3k
views
Resource temporarily unavailable [fork] & insufficient memory for the Java Runtime Environment to continue
I have been experiencing this errors in my linux servers.
Resource temporarily unavailable [fork] &
insufficient memory for the Java Runtime Environment to continue
I have increased the nproc ...
1
vote
2
answers
38k
views
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 ...
0
votes
1
answer
1k
views
SQLite3 is crashing the JVM
I am using sqlite-jdbc 3.7.2 when i run my application, SQLLite is crashing the JVM. It is not happening consistently but it happened twice. Please help to find the issue.
A fatal error has been ...
0
votes
1
answer
79
views
jruby web application deployed on glassfish server becoming slow as time passes
I have deployed war file of my jruby application on glassfish server. i have noticed that my application becomes slow as time passes. My server is of 30GB RAM but still application is very slow.
...
1
vote
1
answer
713
views
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 ...
-1
votes
1
answer
821
views
How to configure Glassfish to allocate different memory size for JVM per web application
I have 2 Java web applications deployed on my Glassfish Enterprise Server v2.1.1.
I want each of them to have different configurations for JVM options, specially for memory allocation. I have studied ...
0
votes
1
answer
232
views
What would the OS see if the JVM was memory starved?
The real context here is elasticsearch but I'm curious what would happen more generally (minecraft / jetty / etc). When an OS process is out of system memory, you can see this behavior by checking ...
3
votes
2
answers
2k
views
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 org.apache....
2
votes
1
answer
7k
views
UnknownHostException when enabling JMX in Java 8
Using Java 7, I can launch a JVM with JMX enabled without any problems using these properties:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote....