Operating System - HP-UX
1849249 Members
5609 Online
104042 Solutions
New Discussion

Re: one process take all cpu time

 
SOLVED
Go to solution
Christian Marquardt_1
Regular Advisor

one process take all cpu time

Hello,
we've an hp/ux B11.11 machine with oracle ias 9.0.4 (10g) installed. this morning a java process started by the ias-owner-user has consumed all the cpu time. the top command shows five java processes. the first take 390,8% of cpu time. the machine is a rp4440 with four pa-risc 880 mhz processors. is there any known reason for one process taking 390 percent of cpu time? I think 390% is not a real value. can anyone give me informations about this error?

regards
Christian
3 REPLIES 3
Eric Antunes
Honored Contributor

Re: one process take all cpu time

Hi Christian,

Check this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624332

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Stuart Whitby
Trusted Contributor
Solution

Re: one process take all cpu time

The 390% is a correct percentage, but due to multithreading it's the total across all CPUs, so with about 97% of each CPU in use, your system is *not* going to be healthy.

This is a problem with the process. Even if, according to the developer, it is behaving normally, then they need to change their definition of normal behaviour.

How much memory is this process taking up? Is the amount increasing? If so, then it probably *is* behaving normally, but there's been an exception that the developers haven't thought of. Forcing a coredump on this process and getting it back to the developers is the best way forward. The fact that it *can* hit 390% means that it's not asking very much of anything else, so it's a purely internal problem - possibly *started* by invalid data from an external source, but now internal to the process.
A sysadmin should never cross his fingers in the hope commands will work. Makes for a lot of mistakes while typing.
RAC_1
Honored Contributor

Re: one process take all cpu time

I think you need to start here.

www.hp.com/go/java

Check the patches. If required check HP application - jconfig to test java apps performance.

Also, you may want to limit java heap/max heap sizes through java start argumements.

Anil
There is no substitute to HARDWORK