This is far from the first time this has happened, and the only solution I've found so far in some cases is just to reboot Windows. But I'd really like to know what is going on here and how I can "fix" it other than just "killing" TCC sessions or restarting Windows in the worst case (which has a lot of disadvantages related to closing everything down and saving all of my work "in progress" and so on; and I can have quite a few "works in progress" that are in active "Notepad" instances or spreadsheets or e-mails I am keeping "open" for "reference" purposes or writing or documents I am creating in MS Word or open Firefox sessions because of, simply put, my extremely bad memory and leaving such items open has no "negative" consequences at all as far as I can tell; CPU usage runs right around 50% other than "bursts" of CPU activity by (supposedly!) inactive TCC sessions, and the highest CPU usage in general is by the Windows "Magnifier" application which I very much need because of my relative blindness and I have running at "above normal" priority. And right now "physical memory" with everything but two now-killed TCC sessions is exactly 50% according to the Task Manager.
So here's the situation: First, all of my TCC sessions are running very slowly, it can take up to roughly 30 seconds when I hit the up arrow key before I see the last command I entered. Using Task Manager, I see TCC sessions that are doing absolutely nothing (i.e., they are sitting at the command prompt) using the previously mentioned "bursts" of CPU usage in the range of 60% or more for periods of more than just a second or two. And it is not atypical for a TCC session to just "hang" forever - i.e. the only way to un-hang it is to hit the "close" button (the "x") on the tab or cancel it using the Task Manager, or, again in the worst case, reboot Windows. And these "hung" TCC sessions are not typically running anything but a TCC-provided "command"; in one TCC session I just killed it was running a batch file, and the other simply "help". And I want to make it clear here: said batch file was not "caught" in a loop because said batch file had no loops. And even if it had been caught in a loop a Ctr-C or "break" should have killed it because said batch file had an active "On Break Cancel 16" statement. And said batch file ran no "programs" of any kind (not even internal commands) whatsoever and this is because I am attempting to generally replace C++ programs by batch files. And killing these TCC sessions can often be quite a loss to me because doing so "loses" all of the "history" for that session which I am quite dependent upon because of my bad memory. I tend to have five or six or even more TCC sessions open at one time; each one for a particular "task" (or "sub-task") that I am working on at the moment because the "history" is a real time-saver and quite important to me because of my bad memory. While I wouldn't go so far as to say that this a "major problem" (and actually needing to reboot only happens about once a week, I would guess) I would call this far more than a "minor inconvenience" (which I why I am taking the almost two hours so far I have used to write this posting). (By the way, I solved the question(s) about PIDs in the title of this posting while writing it. Sorry!)
- Dan
So here's the situation: First, all of my TCC sessions are running very slowly, it can take up to roughly 30 seconds when I hit the up arrow key before I see the last command I entered. Using Task Manager, I see TCC sessions that are doing absolutely nothing (i.e., they are sitting at the command prompt) using the previously mentioned "bursts" of CPU usage in the range of 60% or more for periods of more than just a second or two. And it is not atypical for a TCC session to just "hang" forever - i.e. the only way to un-hang it is to hit the "close" button (the "x") on the tab or cancel it using the Task Manager, or, again in the worst case, reboot Windows. And these "hung" TCC sessions are not typically running anything but a TCC-provided "command"; in one TCC session I just killed it was running a batch file, and the other simply "help". And I want to make it clear here: said batch file was not "caught" in a loop because said batch file had no loops. And even if it had been caught in a loop a Ctr-C or "break" should have killed it because said batch file had an active "On Break Cancel 16" statement. And said batch file ran no "programs" of any kind (not even internal commands) whatsoever and this is because I am attempting to generally replace C++ programs by batch files. And killing these TCC sessions can often be quite a loss to me because doing so "loses" all of the "history" for that session which I am quite dependent upon because of my bad memory. I tend to have five or six or even more TCC sessions open at one time; each one for a particular "task" (or "sub-task") that I am working on at the moment because the "history" is a real time-saver and quite important to me because of my bad memory. While I wouldn't go so far as to say that this a "major problem" (and actually needing to reboot only happens about once a week, I would guess) I would call this far more than a "minor inconvenience" (which I why I am taking the almost two hours so far I have used to write this posting). (By the way, I solved the question(s) about PIDs in the title of this posting while writing it. Sorry!)
- Dan