LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-16-2018, 03:00 PM   #1
abhisheks77
Member
 
Registered: Apr 2014
Posts: 63

Rep: Reputation: Disabled
Showing strange load average, after reboot


Hello,
This is x86, Solaris-10 server. Due to some reason, this was extremely slow and I had to reboot it. It came back online now and working fine. After reboot, it shows me strange load average value. Though with time, it is coming down. Can somebody explain it, why it is so ?
Code:
Before reboot -
bash-3.2# w
 11:22am  up 221 day(s), 22:27,  2 users,  load average: 0.14, 0.15, 0.44
User     tty           login@  idle   JCPU   PCPU  what
oracle   pts/2        11:04am     9                -ksh
matt   pts/3        11:11am                      w
bash-3.2# 

After reboot -
bash-3.2# w
 11:21am  up 8 min(s),  2 users,  load average: 134.27, 23810.79, 24400.47
User     tty           login@  idle   JCPU   PCPU  what
oracle   pts/1        11:13am     8                -ksh
matt   pts/3        11:16am                      w
bash-3.2# w
 11:23am  up 10 min(s),  2 users,  load average: 21.56, 16505.54, 21597.75
User     tty           login@  idle   JCPU   PCPU  what
oracle   pts/1        11:13am    10                -ksh
matt   pts/3        11:16am                      w
bash-3.2# w
 11:28am  up 15 min(s),  2 users,  load average: 0.44, 6636.28, 15945.94
User     tty           login@  idle   JCPU   PCPU  what
oracle   pts/1        11:13am    14                -ksh
matt   pts/3        11:16am                      w
bash-3.2#
 
Old 07-17-2018, 02:05 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The load average is a decayed average of the time spent by threads either running on or waiting for a CPU. The last value displayed is taking into account the values observed during a longer period of time (~15 minutes) so is staying high for a longer time while the first one is taking into account values from the last minute or so, so is reaching reasonable values faster.

It seems there are tens or maybe hundreds of thousands threads waiting on your machine early in the boot phase, which is not a common situation.

To investigate further, you can reboot, figure out how many threads are waiting on the run queue with the "vmstat" command and identify processes with a large number of threads with the "prstat -m" command.
 
Old 07-17-2018, 02:20 AM   #3
abhisheks77
Member
 
Registered: Apr 2014
Posts: 63

Original Poster
Rep: Reputation: Disabled
Is there any way to check, without reboot ?
 
Old 07-17-2018, 04:04 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
No. You need to have these statistics already collected and stored.
 
1 members found this post helpful.
Old 07-17-2018, 04:07 AM   #5
abhisheks77
Member
 
Registered: Apr 2014
Posts: 63

Original Poster
Rep: Reputation: Disabled
Okay... Let me check, if I can take downtime or will wait, till it slows down again and come in same situation.
Thanks for explaining this
 
Old 07-17-2018, 07:01 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Note that the probability for the high load average at boot and the poor performance before reboot to be related is low.
 
  


Reply



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
Load Average yousufmoin Red Hat 4 11-03-2012 06:16 AM
Load average jacppe Linux - Newbie 1 01-20-2011 02:33 PM
load average ? mario.almeida Linux - General 5 08-03-2009 08:39 AM
Load average 1.0, 1.0, 1.0 ? belated Linux - Newbie 4 11-30-2003 03:49 PM
Average load Cyth Linux - General 1 01-22-2002 03:33 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:42 PM.

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
Open Source Consulting | Domain Registration