Novell is now a part of Micro Focus

My Favorites


Please to see your favorites.

Deployment service does not immediately stop when stopping from the services applet.

This document (7012581) is provided subject to the disclaimer at the end of this document.


NetIQ AppManager 7.x
NetIQ AppManager 8.0.x


When requesting the deployment service to stop through services.msc the application appears in a stopping state for an extended period of time.


The Deployment Service performs many operations like checking for the any new rule to process, Rule evaluation, package deployment etc. in different threads.
The following are the different threads running under DS which needs to be set to halt before stopping DS:
- Heartbeat engine updates the status of DS into CCDB
- Detection engine is responsible for Rule evaluation and Task creation
- Delivery engine is responsible for deploying the modules to Target machines.
In the current DS design, the delivery engine cannot be stopped if some task is in active state. This is causing the DS to wait before shutdown until it completes its task.
If we are processing some rule (detection engine), we check regularly for “Should quit early” (“_StopLight.MustStop = true” flag). If we find it true then we stop processing further.  

When we stop Deployment Service (DS) it waits until all of its child threads completes or reached some logical end on their task.

So when we stop Deployment Service (DS) it will exit only when currently running process finish.


This can typically happen if enabled rules are checking a large amount of machines, or deployment tasks are still in progress.


This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012581
  • Creation Date:07-JUN-13
  • Modified Date:07-JUN-13
    • NetIQAppManager

Did this document solve your problem? Provide Feedback