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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-29-2009, 08:37 AM
|
#1
|
Member
Registered: Feb 2009
Posts: 46
Rep:
|
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
|
|
|
06-29-2009, 08:49 AM
|
#2
|
Member
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS7
Posts: 267
Rep:
|
Looks like PID 28112 is taking 86% of the CPU. It may be stuck; you might kill it if you can restart it later.
|
|
|
06-29-2009, 08:54 AM
|
#3
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
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 08:56 AM.
|
|
|
07-01-2009, 02:55 AM
|
#4
|
Member
Registered: Feb 2009
Posts: 46
Original Poster
Rep:
|
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.
|
|
|
07-01-2009, 11:01 AM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Quote:
Originally Posted by v_fone
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.
|
|
|
07-02-2009, 04:17 AM
|
#6
|
Member
Registered: Feb 2009
Posts: 46
Original Poster
Rep:
|
Quote:
Originally Posted by Simon Bridge
... 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!
|
|
|
All times are GMT -5. The time now is 06:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|