Questions tagged [jvm]
30 questions
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
0
votes
1 answer
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 down, with no trace, no OutOfMemory Exceptions, no…
0
votes
1 answer
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 properly...
$ echo…

MAL
- 3
- 1
- 3
0
votes
0 answers
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 shows selected application under different load…

YasiuMaster
- 21
- 3
0
votes
1 answer
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 limit in my server to 2047. And I hope that resourse…

nirmalraj17
- 203
- 4
- 13
0
votes
1 answer
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 detected by the Java Runtime Environment:
SIGSEGV…

Mohan
- 103
- 3
0
votes
1 answer
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.
Every ruby method in my application is creating array…

Sanjay Salunkhe
- 113
- 2
0
votes
1 answer
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 swap. If a box isn't swapping then it doesn't need…

squarism
- 199
- 1
- 9
0
votes
0 answers
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 command inside linux terminal it returns…
0
votes
0 answers
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 need to bounce that node and heap stays normal…
Jigar Gajjar
0
votes
0 answers
Make JVM honor the TTL from a dns reply
I read the many articles that JVM has its own DNS caching and TTL.
Like https://stackoverflow.com/questions/1256556/how-to-make-java-honor-the-dns-caching-timeout
But is it possible for JVM to honor the TTL from a dns reply, by using somthing like…

nimdrak
- 29
- 1
- 7
0
votes
1 answer
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…

nimdrak
- 29
- 1
- 7
0
votes
1 answer
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 from OpenJDK 8 to OpenJDK 11, which was the…

Chris
- 1
0
votes
1 answer
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:ParallelGCThreads=4 -XX:AdaptiveSizePolicyOutputInterval=1…

John the Traveler
- 75
- 1
- 9
-1
votes
1 answer
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 this document. But it contains approach for…

RAS
- 101
- 3