Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Assessment
Workspace Domino
Categories General
Created by Guest
Created on Sep 9, 2024

Add SERVICE_CONTROL_PRESHUTDOWN support to Domino Windows Service


When shutting down the Domino service Windows gives Domino sufficient time to shutdown. But on a reboot or shutdown the default shutdown implementation of services only give a couple of seconds notice to shutdown.

To ensure Domino is always stopped cleanly please support SERVICE_CONTROL_PRESHUTDOWN events for the Domino service as described in this link --> https://learn.microsoft.com/en-us/windows/win32/services/service-control-handler-function.



  • Attach files
  • Guest
    Reply
    |
    Sep 29, 2024

    A hanging server which needs restart is a different situation.
    This idea is about ensuring the Domino server is cleanly shutdown when you reboot or shutdown Windows without first stopping Domino.


    Here is a generic should down helper which would catch the shutdown of Windows and delay the reboot/shutdown until the configured services have been safely stopped:

    https://github.com/nashcom/nsh-tools/tree/main/nshshutdown

    This is just a work-around. IMHO the Domino service should natively support "SERVICE_CONTROL_PRESHUTDOWN".


  • Guest
    Reply
    |
    Sep 26, 2024

    Never looked into the Microsoft code details. However, in case it is not garanteed that the server will resatart even if a Domino Process is hanging for a longer time, I don't like this

    (too many only remote accessed servers, a longer timout might be a good thing, soo).