> 04:37:09  up 196 days, 9:03,  3 users,  load average: 1.02, 1.03,
> 1.00
> 167 processes: 165 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states:  cpu    user    nice  system    irq  softirq  iowait
> idle
>            total   25.3%    0.0%    0.2%   0.0%     0.0%    0.0%
> 74.3%
>            cpu00    0.9%    0.0%    0.0%   0.0%     0.0%    0.0%
> 99.0%
>            cpu01    0.9%    0.0%    0.9%   0.0%     0.0%    0.0%
> 98.0%
>            cpu02    0.0%    0.0%    0.0%   0.0%     0.0%    0.0%
> 100.0%
>            cpu03  100.0%    0.0%    0.0%   0.0%     0.0%    0.0%
> 0.0%
> As you can see, the java process is taking up 100% of one of the
> available CPUs, while leaving the other three almost completely
idle.
> Why?

But your load average is only 1;  it looks to me, that while you may
have multiple Java threads, they have nothing to do and are not
dinging
the schedular.  Either the work just isn't there to be done or there
is
some type of configuration problem in the *application*.  If multiple
threads were held in a pending state then load average would climb
above
1.x

> I can see 58 Java threads running (ps xam | grep [j]ava | wc -l).
> Yes, the JVM is running in server mode - /usr/local/java/bin/java
> -server <other stuff>
> RHEL3 U4, Sun JVM 1.4.2_05. The server is an HP DL360 G4 with dual
> Xeon 3.2GHz CPUs.

Komal



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to