You are viewing limited content. For full access, please sign in.

Question

Question

WorkFlow CPU Usage Spiking

asked one day ago Show version history

Within the last few weeks the CPU usage for Workflow Service has been spiking to above 90% for long periods of time.  The only thing that changed recently has been a workflow to download documents from a cloud solution, there is also some sorting done.

 

The cloud solution isn't even live yet so there isn't heavy usage.  When I check workflow it looks like the jobs for this workflow don't last more than an hour. What else should I be checking?

 

Notes: Our database is on a different Server.

We upgraded our VM by adding cores which seemed to help fix the problem for a little while but we seem to be back in the same place.

0 0

Replies

replied 11 hours ago

First thing I would do is make sure the CPU cores have dedicated frequencies set in your hypervisor.

  • Open vSphere Client and go to your VM.

  • Right-click the VMEdit Settings.

  • Go to the "VM Options" tab or "Resources" tab depending on version.

  • Under CPU, adjust the following:

    • Reservation: Set the specific amount of MHz to match what the physical CPU model is capable of (IE: 2600, 3600)

I can't count how many times this was not set and the 2.6Ghz processor cores were only running at 100Mhz because other VMs were using them. You never want to share your primary app or SQL server cores. They will be needed in full when it comes time to compute.

If your workflow still takes 1 hour to run with all cores dedicated and maxed out, then check the activities tab to see which activity is causing the performance problem. It is perfectly normal for the CPU to reach 90%+ when it is needed for a job, as the computer wants to finish it as fast as possible. The real question is why it is taking so long to finish.

1 0
replied 10 hours ago

Thank you for your response, I will take a look.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.