Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

How to increase WaitToKillServiceTimeout, when service won't stop in timely manner.

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sebastian_Linser

How to increase WaitToKillServiceTimeout, when service won't stop in timely manner.

Last Update:

Aug 17, 2021 7:59:48 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 9, 2018 5:05:13 AM

Stopping a Qlik product service can result in an error: 

the service couldn't be stopped in a timely manner.

 

Environment:

Qlik Sense Enterprise on Windows 
QlikView 
Qlik NPrinting 

 

The Qlik Service needs longer than 20sec to clear out the memory and shut down. This is likely to happen with high memory usage on processes such as the QS.exe, QV.exe, or QVS.exe.

 

Resolution:

Increase the wait time before Windows errors out. 

  1. Launch Windows Registry Editor as an administrator
  2. Locate this registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

  3. Add a  DWORD (32-bit) Value.with the name WaitToKillServiceTimeout.
  4. Right-click the value and select Modify. The Edit DWORD Value window pops up.
  5. Change Base to Decimal.
  6. In the Value data field, type the value (in milliseconds) of time allowed for the service to stop, and confirm by clicking OK.

    By default, Windows waits 20sec (20000ms) enter a higher number e.g. 120000 for (2min)

  7. restart the machine to get the setting active.
Labels (1)
Contributors
Version history
Last update:
‎2021-08-17 07:59 AM
Updated by: