Re: locked thread - how to investigate?



Yeah, stuck in a loop is probably a better description, but I really
can't say for sure. With truss is there any way to focus on a
particular thread? I remember using it once before and was
overwhelmed with mass amounts of output.

Thanks!

-Inet





On Mar 1, 4:39 am, and...@xxxxxxxxxxxxxxxxxxxx (Andrew Gabriel) wrote:
In article <d6e7f96f-41b0-46ee-b0c0-7c822a45a...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
inetquestion<inetquest...@xxxxxxxxxxx> writes:

I need to troubleshoot an application which is tying up one of the 8
cpu's due to one of the threads being locked up. Over time more of
the threads are being consumed which causes more consumption of the
cpu's. We have run gcore/pstack and validated that the locked threads

Not sure what you mean. A locked up thread would not normally
consume any CPU. Perhaps you mean a thread stuck in a CPU loop?

are ending up in the same state, but I'm kinda at my ropes end on
where to go now... Is there any way to get more insight as to what
an individual thread is doing (in normal operation) before it gets
into a fouled up state?

truss?

In case you were wondering the application is siteminder 6.x running
on solaris 9. The logs don't seems to give any indication as to why
its entering the hung state.

I presume this is a commercial product for which you don't have
source? If so, you'll need to raise a bug with the vendor.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]

.



Relevant Pages

  • Re: Batch script for maintaing remote services
    ... I want to kill this service before sc command go on stopping ... Does the loop breaks when it finds "stopped" status for a particular ... But how will I kill this service if it gets stuck in ... command parameter, makes sure that next service is only ...
    (microsoft.public.windowsxp.general)
  • Re: Error Handling not Working ASP.NET
    ... Your code could easily get stuck in a loop in the error handler... ... any unhandled exception goes to Application_Error, ...
    (microsoft.public.dotnet.framework.aspnet)
  • problem with xp-tablet dotnet application
    ... compact-part). ... When I put a messagebox to see where ge gets stuck the dialog appears ... I looks like he gets into a wait loop in the onPaint ... but I don't have a onPaint handler in that Form. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: help: why dosent this code work?
    ... > infinite loop:( ... it is stuck waiting on a semaphore that I never saw anyone signal. ... And that appears to be an infinite busy loop. ... Go and debug your code - first find where you are stuck. ...
    (comp.os.linux.misc)
  • Re: Bundle::CPAN install error
    ... Somewhere in this loop is where I suspect it's getting stuck. ... which file it's getting stuck trying to load. ... When you want to run your test script from the command line, ...
    (perl.beginners)