Java process demoted to single CPU


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Java process demoted to single CPU
# 1  
Old 10-08-2013
Linux Java process demoted to single CPU

please help on this issue.

I take care of a production enterprise application , it is a java process quite complex that is a middleware application.
The process runs 24 hours a day. Usage cpu is 60% as mean value all day.
The process have some burst of cpu usage at 100% usage in the afternoon.
The process runs in a WMWARE virtual Server:
the server is configured 2 CPU, 4GB ram;
the server is installed as a Linux Kernel 2.6.18-274.12.1.el5.
Java version installed is 1.6.0_16;
In a unpredictable moment, mean 2 times a week, the processes is misteriously demoted to Single CPU,
so it takes maximum 50% CPU and application becomes unavailable because not capable to serve all requests.
Does anybody knows if there is an "auto demoting to single cpu" mechanism in Java ?
Or in Linux?
Or in Wmware?

thanks in advance
Alberto
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies

2. HP-UX

How to get number of threads for single java process on HP-UX OS?

Hi All, When i was trying to get total number of threads per java process using this command ps -o NLWP PID, I'm not getting any output. Could someone help me in this issue. Thanks, GMar (1 Reply)
Discussion started by: mgangumolu
1 Replies

3. UNIX for Dummies Questions & Answers

Is it possible to combine multiple CPU to act as a single CPU on the same server?

We have a single threaded application which is restricted by CPU usage even though there are multiple CPUs on the server, hence leading to significant performance issues. Is it possible to merge / combine multiple CPUs at OS level so it appear as a single CPU for the application? (6 Replies)
Discussion started by: Dissa
6 Replies

4. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

5. Shell Programming and Scripting

script to check high cpu utilization for java process

Hello Team, I need help in preparing script to check for high cpu utilisation for java process. I have many java process on my system which consumes high cpu so i have to monitor it using script. ---------- Post updated 12-10-10 at 02:21 AM ---------- Previous update was 12-09-10 at... (1 Reply)
Discussion started by: coolguyamy
1 Replies

6. Shell Programming and Scripting

Is there a way to make bash [or another shell] use all CPU cores to execute a single script?

I wrote a very simple script that matches combinations of alphabetic characters (1-5). I want to use it to test CPU speeds of different hardware/platforms. The problem is that on multi-core/processor systems, only one CPU is being utilized to execute the script. Is there a way to change that?... (16 Replies)
Discussion started by: ph0enix
16 Replies

7. Solaris

Running Sun Fire V480R on a single cpu-Urgent

I have a sun fire v480r server. it has 2 cpu. One of cpu have become faulty. Now i want to run server on a single cpu. My service provider says it cant be done, you have to replace the motherboard. Can it be done? If so do some settings need to be changed in solaris. I have search for documentation... (6 Replies)
Discussion started by: krabu
6 Replies

8. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

9. UNIX for Advanced & Expert Users

Getting CPU utilization of Java processes

Hi, I have a java application running as a service in my unix Box. I want to test the CPU utilization and the Memory utilization of the app. I used top command and also the ps commands This command is showing each thread in my app as a separate thread. So I have a lot of j9 entries. Now... (3 Replies)
Discussion started by: siburajappan
3 Replies

10. UNIX for Advanced & Expert Users

process -> 1 cpu

Is there a way I can assign processes to different processors? I know in windows xp you can set process affinity, and wondered if there is a *nix equivelant. (2 Replies)
Discussion started by: Solitare
2 Replies
Login or Register to Ask a Question
javaws(1)						      General Commands Manual							 javaws(1)

NAME
javaws - Java Web Start launcher command SYNOPSIS
javaws [ options ] [ URL ] PARAMETERS
options Command-line options. Options many be in any order. For a discussion of the various options, see OPTIONS below. URL Uniform Resource Locator (URL) of the JNLP (Java Network Launching Protocol) file. DESCRIPTION
The javaws command launches Java Web Start, which is the reference implementation of the Java Network Launching Protocol (JNLP). Java Web Start launches java application/applets hosted on a network. Without any options javaws will launch the Java JNLP Application Manager, from which users can launch applications/applet or configure Java Web Start. If a URL for a JNLP file is specified, javaws will launch the Java application/applet specified in the JNLP file. OPTIONS
The javaws launcher has a set of options that are supported in the current release. However, the options may be removed in a future release. All -X options are non-standard and subject to change. -offline Runs Java Web Start in offline mode. -uninstall URL Removes a specific application/applet from the user's cache, as indicated by the URL for the JNLP file. Java Web Start will exit after the command has completed. -updateVersions Updates the Java Web Start configuration file based on the current machine's settings. Java Web Start will exit when the command is completed. -Xclearcache Clears the user's cache. Java Web Start will exit after the command has completed. -Xnosplash Disables the display of the initial splash screen. -import Imports the application specified by the URL into the user's cache but does not run it.. -silent When used with the -import option, imports in silent mode; i.e., there will be no UI pop up. The process exit code will be either 0 if successful or 1 if not. -codebase URL Replaces the codebase with URL in the jnlp file specified when importing the resources. URL must be a valid URL. -system Uses the system cache instead of the user cache. -shortcut Allows the creation of shortcuts during silent import. -association Allows the creation of associations during silent import. -open arguments If specified, replaces the arguments in the jnlp file with -open arguments. -print arguments If specified, replaces the arguments in the jnlp file with -print arguments. -online Runs in online mode (default behavior). -viewer Runs the Java Application Cache Viewer (default if no URL is specified). -userConfig property-name Clears the specified deployment property. -userConfig property-name property-value Sets the specified deployment property to the specified value. -wait If specified, the javaws process will not exit until the application exits. FILES
For more information about the user and system cache and deployment.properties files, see http://java.sun.com/j2se/1.5.0/docs/guide/deploy- ment/deployment-guide/properties.html MORE INFORMATION
For more information about Java Web Start, see http://java.sun.com/j2se/1.5.0/docs/guide/javaws/index.html. 09 April 2004 javaws(1)