LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2009, 07:37 AM   #1
v_fone
Member
 
Registered: Feb 2009
Posts: 46

Rep: Reputation: 16
load average and cpu usage too high, why could i do?


Hello, I have a host on a client that since two weeks ago the load average has increased too much (it has two cpu's and the load average is 13 or 14..) and the cpu usage is 90-95%, more or less
this is a capture



top - 14:34:56 up 416 days, 21:02, 5 users, load average: 12.98, 11.81, 12.16
Tasks: 158 total, 3 running, 153 sleeping, 0 stopped, 2 zombie
Cpu(s): 97.5% us, 2.1% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.1% hi, 0.3% si


PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28112 weblogic 15 0 1363m 1.1g 8656 S 86 4.8 4781:55 java
16446 weblogic 16 0 2248m 2.0g 7904 S 56 8.4 603:58.41 java
etc...

Any suggestion?
Thanks
 
Old 06-29-2009, 07:49 AM   #2
david1941
Member
 
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS6
Posts: 267

Rep: Reputation: 58
Looks like PID 28112 is taking 86% of the CPU. It may be stuck; you might kill it if you can restart it later.
 
Old 06-29-2009, 07:54 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
How many instances of weblogic are you running at once and do you have a multi-cpu license?

If you are supposed to be running only one instance, then you'll want to kill one.

Is the useage steady across all cpus or does it see-saw?
Which version of the JVM are you using?

Have you tuned the OS or are you using the (windows) defaults?

However, the application server, under high load, is supposed to be running the cpu close to 100%
There are tuning tips:
http://edocs.bea.com/wls/docs81/perform/topten.html

Last edited by Simon Bridge; 06-29-2009 at 07:56 AM.
 
Old 07-01-2009, 01:55 AM   #4
v_fone
Member
 
Registered: Feb 2009
Posts: 46

Original Poster
Rep: Reputation: 16
Hello! Thanks for your answers
Well, they are running 8 weblogic process, and they said that the cpu load has increased 15-20% since two weeks only...
They have two more hosts with weblogic and the cpu's have a 20% less load... and also they are running 8 weblogic process.
But I realized that the network load on the first host is higher than the others hosts... with the arp command could I see the process that are creating the connections?
Thanks.
 
Old 07-01-2009, 10:01 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by v_fone View Post
Hello! Thanks for your answers
Well, they are running 8 weblogic process, and they said that the cpu load has increased 15-20% since two weeks only...
They have two more hosts with weblogic and the cpu's have a 20% less load... and also they are running 8 weblogic process.
... and they all have the same jvm and so on and so forth...
Quote:
But I realized that the network load on the first host is higher than the others hosts...
With more traffic you will have weblogic doing more work. Realise that david may have a point if one of the weblogic processes is conspicuously higher than the rest all the time.
Quote:
with the arp command could I see the process that are creating the connections?
Um...

$ arp -a
? (192.168.1.1) at 00:1C:10:11:1B:19 [ether] on eth0
HBCLUG03.local (192.168.1.108) at 00:0E:35:22:54:FF [ether] on eth0

I'm not sure I understand the question.
 
Old 07-02-2009, 03:17 AM   #6
v_fone
Member
 
Registered: Feb 2009
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Simon Bridge View Post
... and they all have the same jvm and so on and so forth...With more traffic you will have weblogic doing more work. Realise that david may have a point if one of the weblogic processes is conspicuously higher than the rest all the time.Um...

$ arp -a
? (192.168.1.1) at 00:1C:10:11:1B:19 [ether] on eth0
HBCLUG03.local (192.168.1.108) at 00:0E:35:22:54:FF [ether] on eth0

I'm not sure I understand the question.
Hello! Thanks for your answers

With the arp command I mean that If I could see the connections or hosts connected to my host... and I dont know if a high number of connections could increase 20% the load average.
Other interesting data I've found is that in the other two hosts the swap memory is about 300 KB but on the other host is about 2 GB :S
It's normal?? If not, how could I know what process it's taken the swap? and how could I release the swap memory?

Thanks a lot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
high load average, low cpu usage ! jimmyjiang Red Hat 8 02-08-2008 12:28 AM
why high load, but no cpu usage? JustinHoMi Linux - General 6 01-11-2006 10:43 AM
Qmail problems - CPU load average rising too high xbaez Linux - Software 0 11-16-2005 12:23 PM
RH8 Load Average High - No CPU Utilization jj91709 Red Hat 2 08-29-2004 12:28 AM
Load average stuck at 7.00, CPU usage ~ 0.1%, what gives? BrianK Linux - General 4 02-16-2004 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration