Episode 72 Taskman Cleanup.

From VistApedia
Jump to: navigation, search

D ^ZTMON showed 312 tasks running when less than a handful of users were on the system.

Diagnosis: Error Trap showed a regularly scheduled task that errored every day. Taskman Monitor showed 312 tasks running. Taskman Mointor option R showed many Resource Devices close to being full. If they do get full, many CPRS interactions (notifications, saving of PCE data, saving of TIU data) won't take place. Taskman Monitor ?? then T showed us the task list. Many were CPRS/PX and CPRS/TIU patient Record jobs that failed to take place.

Solution: 1. Regularly recurring task that errored out was identified to be a roll and scroll interactive option. This was Unscheduled. 2. Resource Devices were cleared using: EVE > Device Management > Clear one Resource 'Clear one Resource' Option name: XUDEV RES-ONE This option will allow the clearing/reseting of one entry of one resource. This is to be used by IRM personal to clear problems. 3. I wrote a routine to take me through each task and let me reschedule it if it is patient related. This makes sure that any patient related tasks finish to completion, otherwise we lose patient data. Here it is: http://bazaar.launchpad.net/~sam-habiel/astronaut-vista-server/enhancements/view/head:/JJIHTASK.m 4. Last, I cleaned the task file using 'Clean Task File [XUTM CLEAN]'. Reach this through: EVE> Taskman Management > Taskman Management Utilities > Clean Task File

After all of this, I get just 1 task running, not 312; and this task indeed is running.

My thanks to David Whitten and Rick Marshall for their assistance in cleaning up this mess.