< Home

Maintaining Service Diagnosis

Context

After service diagnosis is enabled and a diagnosis object is created on a device, the device creates a diagnosis instance when a user matching the attributes of the diagnosis object gets online. If the device diagnoses services of multiple users, it creates a diagnosis instance for each user, which occupies a large amount of system resources. Therefore, the device need to automatically delete diagnosis instances when corresponding users get offline. The service diagnosis module will fail to detect that some users are offline because these users got offline abnormally. The diagnosis instances created for these users are not deleted and occupy system resources. The device provides an aging mechanism for service diagnosis. When the aging time is reached, the device automatically deletes diagnosis instances to reclaim resources.

In addition to the preceding two methods you can run the reset trace instance command to clear all the diagnosis instances on the device.

After all the diagnosis instances are cleared using the reset trace instance command, properly running diagnosis instances are also deleted. Exercise caution when you run the reset trace instance command.

Procedure

  1. Run the system-view command to display the system view.
  2. Run the reset trace instance command to clear all diagnosis instances on the device.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic