Operating System - HP-UX
1843944 Members
2602 Online
110226 Solutions
New Discussion

Java process and high cpu

 
SOLVED
Go to solution
lawrenzo
Trusted Contributor

Java process and high cpu

Hi,

I was hoping someone could provide some information regarding java running on unix ....

I have installed tomcat which in turn runs java, I have noticed that the cpu stats on my server almost max out every sor tof 10 minutes. I am noticing the PPID changing, why is a new process being spawned?

I have read some information and understand that java can cause some issues if not configured correctly.

any info would be great.

Thanks

Chris.


hello
3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Java process and high cpu

Hi,

make sure your java related patches are up to date, see

http://h18012.www1.hp.com/java/patches/index.html

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Srini Jay
Valued Contributor
Solution

Re: Java process and high cpu

1)CPU spikes every 10 mins:
Probably Java is performing full garbage collection every 10 mins. Pls check the java options set. You will have to tune this for your application hosted under Tomcat.
(look for JAVA_OPTS environment variable)

2) New PPID: no idea why would you see new PPID. What about the PID? Does it change also?
lawrenzo
Trusted Contributor

Re: Java process and high cpu

sorry the PPID is 1 and the PID is the changing number.
hello