Skip to main content
Solved

Why does the WMI service hang?


Forum|alt.badge.img+7

I also see same issue in my environment frequently where backups on multiple servers hang randomly. And then we see commands like ‘tasklist” timing out on the client which confirms WMI is not responding.

We have to reboot every week or so to fix.

Does anyone know why WMI hangs? Unfortunately we don’t have Microsoft support so have not been able to take up this issue with them.

Best answer by MichaelCapon

Are these backups performing System State backups too?

It may be worth enabling WMI Tracing on the hosts to see what’s happening. - Tracing WMI Activity - Win32 apps | Microsoft Docs

 

 

View original
Did this answer your question?

6 replies

Mike Struening
Vaulter
Forum|alt.badge.img+23

@Sandy11 , I split this one out so we can focus and track better.  I’ll get the right eyes on this one and see if we can advise.


Damian Andre
Vaulter
Forum|alt.badge.img+23
Sandy11 wrote:

I also see same issue in my environment frequently where backups on multiple servers hang randomly. And then we see commands like ‘tasklist” timing out on the client which confirms WMI is not responding.

We have to reboot every week or so to fix.

Does anyone know why WMI hangs? Unfortunately, we don’t have Microsoft support so have not been able to take up this issue with them.

Not sure on the source of the hang, the windows event log should provide some clues, however, as a workaround solution, you could try using a pre-script to recycle the windows management services to ensure a smooth backup run each night:

https://docs.microsoft.com/en-us/windows/win32/wmisdk/starting-and-stopping-the-wmi-service


MichaelCapon
Vaulter
Forum|alt.badge.img+14

Could you clarify the OS Version/Build of these clients and the type of backup/operation that is happening on those too? - FileSystem backup / VM Backup etc.

Do you see WMI related query failures in the logs of the failing backups? 

As Damian said above, you could add a pre/post script to cycle wmi srvcs as a temporary workaround.


Forum|alt.badge.img+7
  • Author
  • Byte
  • 34 replies
  • May 6, 2021

OS is Windows 2016 standard. These are filesystem backups.

WMI timeouts are seen in the event logs. Backup hangs after this point in clbackup.log

Cpipelayer::Initiate pipeline SDT using socket

 

Wintel sysadmin tried to restart wmi manually but it does not work either. So they end up rebooting the servers.


Forum|alt.badge.img+4
  • Vaulter
  • 6 replies
  • May 6, 2021

Hey @Sandy11 ,

 

Can you provide us the Microsofterror from the OS Events in regards to the WMI Timeouts?

.

 


MichaelCapon
Vaulter
Forum|alt.badge.img+14
  • Vaulter
  • 349 replies
  • Answer
  • May 7, 2021

Are these backups performing System State backups too?

It may be worth enabling WMI Tracing on the hosts to see what’s happening. - Tracing WMI Activity - Win32 apps | Microsoft Docs

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings