LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-04-2018, 03:35 PM   #1
NckHocking
LQ Newbie
 
Registered: Jul 2018
Posts: 1

Rep: Reputation: Disabled
Which threads are blocking?


Hi,

We have an application that a large part of it occasionally goes completely unresponsive for around 60 seconds.
We've got a permanent vmstat running and it shows that two processes/threads were blocking for the entire time of the "outage"
-----------------------------------r b w
Tue Jul 3 13:29:41 AEST 2018 2 0 0 97106288 103012448 10 17 0 24 24 0 0 0 0 0 0 3672 6054 3310 0 0 100
Tue Jul 3 13:29:57 AEST 2018 0 0 0 97106288 103012096 13 18 0 56 56 0 0 1 0 0 0 8531 8591 8729 0 0 99
Tue Jul 3 13:30:13 AEST 2018 1 2 0 96952256 102819624 9 16 0 16 16 0 0 1 0 0 0 3349 6904 3564 0 0 99
Tue Jul 3 13:30:29 AEST 2018 0 2 0 96952256 102819408 197 624 0 0 0 0 0 0 0 0 0 3214 3936 2936 0 0 100
Tue Jul 3 13:30:45 AEST 2018 0 2 0 96952248 102819096 7 18 0 0 0 0 0 0 0 0 0 2946 2461 2753 0 0 100
Tue Jul 3 13:31:01 AEST 2018 0 2 0 96952248 102818872 13 18 0 40 40 0 0 0 0 0 0 3233 2616 3351 0 0 100
Tue Jul 3 13:31:17 AEST 2018 1 2 0 97106128 102927504 787 671 8 4596 4517 0 0 136 0 0 1 34686 80817 32663 2 3 95
Tue Jul 3 13:31:33 AEST 2018 1 0 0 97106168 102940712 12 16 0 48 48 0 0 0 0 0 0 15261 15143 15893 0 0 99
Tue Jul 3 13:31:49 AEST 2018 0 0 0 97106168 102941168 759 1223 0 16 16 0 0 0 0 0 1 3633 6074 3897 0 1 99

How do I find out (using DTrace or otherwise) what the blocking processes/threads were and what they were blocking on.

Cheers
Nick
 
  


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
[SOLVED] Kernel threads vs. user threads implementation (kthreads vs. pthreads) jnielsen7 Linux - Kernel 4 01-25-2016 07:45 PM
[SOLVED] Blocking threads in C brick2 Programming 8 08-01-2014 10:23 AM
some threads are become unnoticed because of large number of continious threads deepak_cucek LQ Suggestions & Feedback 9 08-20-2009 11:21 PM
Java threads listed using kill -3 does not contain all threads found using ps -auxww coneheed Programming 2 11-14-2005 08:57 AM
threads and blocking functions kris273 Programming 3 02-28-2005 05:16 PM

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

All times are GMT -5. The time now is 07:23 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
Open Source Consulting | Domain Registration