thread degraded mode ... the sequel.

I've run in thread degraded mode for 2 or 3 weeks
without a hitch before, this time I wasn't so lucky. After about
6 hours explorer spun up taking 50% CPU (given it's a HT machine, that
usually means 1 thread spinning endlessly). Heuve! That
just won't do. But we can merely degrade this thread too ... once we
find it ...

So I ctrl-C in the debugger window that got started from part 1 ...

Alternatively: If you don't have debugger attached up to the process yet,
you can do so, by going to the C:\debuggers directory (expained in part 1), typing "tlist" to
find the Process ID (PID) of the explorer.exe process, and then run "ntsd
-p <PID>".

At the debug prompt we type "!runaway", which gives you something like this:

0:076> !runaway

User Mode Time

Thread Time

73:1acc 0 days 6:36:51.328

1:ec0 0 days 1:39:27.203

15:1ac 0 days 0:06:01.640

12:f94 0 days 0:05:44.281

... deleted the other ~80 threads ...

The time column is cumulative CPU time the thread has used.

At this point you 'g' the debugger, wait for a short timed interval,
then hit ctrl-C again to re-break into the debugger. I waited 30
seconds myself, and then re-run the !runaway command ...

0:082> !runaway

User Mode Time

Thread Time

73:1acc 0 days 6:37:21.359

1:ec0 0 days 1:39:28.406

15:1ac 0 days 0:06:01.671

12:f94 0 days 0:05:44.281

...

You can see from the blue that
thread 73 is our culprit, as it's cumulative CPU time went up by nearly
exactly 30 seconds. Note the culprit thread isn't guaranteed to
be the top thread, but it was in my case.

So the "~f" command from the first blog affects the "current" thread in
the debugger, which you can see above is thread 82, not exactly, well
... not at all what is desired. We want thread 73 to be frozen
though, so here is how you freeze a specific thread:

0:082> ~73f

0:082> g

Now I'm back to normal, CPU settles down, go back to work.

Sometime later the next thing is I AV'd when I typed a search in the MSN Desktop
Search box on the task bar see the bottom of my start bar ... since MSN DS was the source of the
original issue, not sure
why I'd have expected that to work (I can be really stupid sometimes, I'll blog more about that), one more thread to freeze and
then 'g' the process.

The last thing that AV'd is <window>-E. Don't know why that AV'd, but don't care I can live without file explorer.

Though I am not sure I can live without desktop search ... I sense a reboot is in my future ...

Comments

  • Anonymous
    March 19, 2006
    The comment has been removed
  • Anonymous
    March 19, 2006
    Anonymous, he keeps like a hundred windows open and restarting Explorer is going to mess up the order of the taskbar buttons. So he goes through all this pain :-)
  • Anonymous
    March 20, 2006
    Well, it's still somewhat better than a reboot perhaps :)
  • Anonymous
    June 12, 2009
    ヒマだょ…誰かかまってぉ…会って遊んだりできる人募集!とりあえずメール下さい☆ uau-love@docomo.ne.jp
  • Anonymous
    June 14, 2009
    カワイイ子ほど家出してみたくなるようです。家出掲示板でそのような子と出会ってみませんか?彼女たちは夕食をおごってあげるだけでお礼にHなご奉仕をしてくれちゃったりします
  • Anonymous
    June 21, 2009
    家出中でネットカフェやマンガ喫茶にいる女の子たちは、お金が無くなり家出掲示板で今晩泊めてくれる男性を探しています。ご飯を食べさせてあげたり泊めてあげることで彼女たちはHなお礼をしてくれる事が多いようです
  • Anonymous
    June 26, 2009
    The comment has been removed
  • Anonymous
    June 28, 2009
    家出中でお金が無く、ネットカフェを泊り歩いているSOS少女たちは、家出掲示板で泊めてくれたり遊んでくれる男性を探しています。泊めてあげたりすると彼女たちはHなお礼をしてくれるかもしれません。家出少女と遊びたい方は当サイトはどうぞ
  • Anonymous
    June 29, 2009
    あなたの精神年齢を占ってみよう!当サイトは、みんなの「精神年齢度」をチェックする性格診断のサイトです。精神年齢度には、期待以上の意外な結果があるかも??興味がある方はぜひどうぞ
  • Anonymous
    June 30, 2009
    The comment has been removed
  • Anonymous
    July 01, 2009
    The comment has been removed
  • Anonymous
    July 04, 2009
    さあ、今夏も新たな出会いを経験してみませんか?当サイトは円助交際の逆、つまり女性が男性を円助する『逆円助交際』を提供します。逆円交際を未経験の方でも気軽に遊べる大人のマッチングシステムです。年齢上限・容姿・経験一切問いません。男性の方は無料で登録して頂けます。貴方も新たな出会いを経験してみませんか
  • Anonymous
    July 06, 2009
    The comment has been removed
  • Anonymous
    July 13, 2009
    話題の小向美奈子ストリップを盗撮!入念なボディチェックをすり抜けて超小型カメラで撮影した神動画がアップ中!期間限定配信の衝撃的映像を見逃すな
  • Anonymous
    July 21, 2009
    The comment has been removed
  • Anonymous
    August 08, 2009
    The comment has been removed
  • Anonymous
    August 21, 2009
    よーやくプロフ持ちになれました。私の事気になった方がいましたら気軽にメールください。恋バナとか好きなんでよろしくでぇす。zuttozuttoissyodayo@docomo.ne.jp
  • Anonymous
    August 22, 2009
    女性会員様増加につき、当サイトの出張ホストが不足中です。女性の自宅やホテルに出向き、欲望を満たすお手伝いをしてくれる男性アルバイトをただいま募集していますので、興味のある方はTOPページから無料登録をお願いいたします
  • Anonymous
    August 23, 2009
    最近様々なメディアで紹介されている家出掲示板では、全国各地のネットカフェ等を泊り歩いている家出少女のメッセージが多数書き込みされています。彼女たちはお金がないので掲示板で知り合った男性とすぐに遊びに行くようです。あなたも書き込みに返事を返してみませんか
  • Anonymous
    August 24, 2009
    あなたのモテ度数を診断できる、モテる度チェッカー!日頃モテモテでリア充のあなたもそうでないヒキニートの貴方も隠されたモテスキルを測定して今以上にモッテモテになること間違いなし
  • Anonymous
    August 26, 2009
    メル友募集のあそび場「ラブフリー」はみんなの出逢いを応援する全国版の逆援助コミュニティーです!女の子と真剣にお付き合いしたい方も、複数の女性と戯れたい方も今すぐ無料登録からどうぞ
  • Anonymous
    August 27, 2009
    簡単にお小遣い稼ぎをしたい方必見、当サイト逆¥倶楽部では無料登録して女性の性の欲求に応えるだけのアルバイトです。初心者でもすぐに高収入の逆¥交際に興味をもたれた方はTOPページまでどうぞ。
  • Anonymous
    August 28, 2009
    プロフ作りました。興味ある方連絡まってま〜す。メアドを乗せておくので連絡ください。色んな人の色んな話聞きたい感じですのでヨロシクhappy-my-life-.-@docomo.ne.jp