Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 01 DEC 2021 06:41:52PM Robert Lee wrote:

Hello

We have been using the Task Manager successfully for a while now. However, whenever the Task Manager is fired up the CPU fan goes into overdrive. That seems fine. It gives the impression the computer is working hard, as it should be. However, when the task has completed the fan continues as if it is still working hard.

If we run RTI_TASK_SHUTDOWN() the fan will immediately calm down. We would rather keep the Task Manager running so that it is available for subsequent tasks.

I was wondering if perhaps it thinks there are still tasks to be completed and so is continuing to work hard on those. Could there be left over uncompleted tasks from when were testing this all out and getting it working? If so, is there a way to clear out half completed tasks?

Cheers

Robert Lee


At 06 DEC 2021 07:56AM bshumsky wrote:

Hi, Robert.

When the task manager runs, it repeatedly scans for active tasks, but I don't think I'd expect it to leave "uncompleted tasks" lying about. In fact, I believe that the task manager has its own "purging" process to remove completed or errored tasks that are more than a few days old, as well as being designed to "yield" in its processing, so as not to sit in a "tight loop" that stops other processes from running (and keeps the CPU at top speed).

However, you could try to manually clear the tasks table (SYSTASKS) if you KNOW there are no other "active" tasks that need to be processed (or results that need to be accessed), and see if that helps? I would expect the Task Manager would continue to do its scanning, which is probably what's causing your system to seem "busy", but you can try clearing out that table and see if that changes anything.

Hope that helps,

- Bryan Shumsky

Revelation Software, Inc.


At 13 DEC 2021 09:44PM Robert Lee wrote:

Hi Bryan

Thanks for your response.

We found that there were many records in SYSTASKS. As per your instructions we cleared that out and reran our task. This time the task seemed to be completed quicker, even before the processor fan started to wind up. However, the processor fan gradually started blowing after the task had completed.

A quick check of the Windows Task Manger showed a Process called "OpenInsight", which is running at around 27% CPU. This Process started when we started the task so we take to be the Task Manager. When we run RTI_SHUTDOWN it closes the "OpenInsight" process and the processor fan stops a few seconds later.

Another check of SYSTASKS shows there are no records left in it. The table is still cleared.

Any further suggestions?

Cheers

Robert

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/9a1208fcf27a5144aa8b8097fdba82f9.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1