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
native2ascii(1) 					      General Commands Manual						   native2ascii(1)

NAME
native2ascii - native to ASCII converter SYNOPSIS
native2ascii [ options ] [ inputfile [outputfile]] DESCRIPTION
The Java compiler and other Java tools can only process files that contain Latin-1 or Unicode-encoded (udddd notation) characters. native2ascii converts files that contain other character encoding into files containing Latin-1 or Unicode-encoded charaters. If outputfile is omitted, standard output is used for output. In addition, if inputfile is omitted, standard input is used for input. OPTIONS
The following options are supported: -encoding encoding_name Specifies the encoding name that is used by the conversion procedure. The default encoding is taken from system property file.encod- ing. The encoding_name string must be one taken from the first column of the table of supported encodings in the Supported Encodings document: http://java.sun.com/j2se/1.5/docs/guide/intl/encoding.doc.html -reverse Performs the reverse operation: converts a file with Latin-1 or Unicode-encoded characters to one with native-encoded characters. -Joption Pass option to the Java virtual machine, where option is one of the options described on the man page for the java applica- tion launcher, java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes. It is a common convention for -J to pass options to the underlying virtual machine. 22 Jun 2004 native2ascii(1)