This task run has less child instances that it should: might be partially purged
search cancel

This task run has less child instances that it should: might be partially purged

book

Article ID: 172508

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

When trying to see which machines have run a task you get:

"This task run has less child instances that it should: might be partially purged"

You are asking about this message because you have set up “Clean Up Task Data” (under SMP Console > Settings > All Settings > Notification Server > Task Settings) to keep 200,000 instances and you were expecting to see which machines have run the task, especially if the task was run a day ago. 

Environment

ITMS 8.0 and later

Resolution

Using the screenshot above as an example, as you can see the customer has 16,232 clients, so the 200,000 threshold will be exceeded after any 13 tasks (or Managed Software Delivery/Quick Delivery policies)  are executed on all clients in an environment. After that a clean-up job will run and delete all “old” instances (even if such instances were created on the same day)  to keep the TaskInstances table close to 200K records. Clean-up on demand might run as often as every 30 minutes.

We have a setting “Minimum time period to keep the task instances/summaries” which might tell the clean-up job not to remove task-instances even if the threshold was exceeded. That should help in avoiding cleanup too soon those task instances if you don't want to increase the default value of 200,000.

Additional Information

152933 Taskinstances table grows rapidly