Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Slow execution of Workflow

$
0
0

We have a workflow that gets all the vm folder matching a specific name:

vmFolders = VcPlugin.getAllVmFolders(null,"xpath:name='"+name+"'");

 

But sometimes the execution of this workflows takes up to 5 minutes and more.

 

When this is so slow I see hundreds of lines added in the log file (wrapper.log):

 

INFO   | jvm 1    | 2014/08/07 09:11:07 | 2014-08-07 09:11:07.190+0200 [Thread-78] INFO  {sa_orchestrator:SHAR-Validate snapshot:9E808080808080808080808080808080D38A808001303142975546c0ee72c23eb:2c9dfa9647af44e60147af4e7cf60029} [PluginCacheManager] Putting cache element 'group-v3' (403119757) into 'sa_orchestrator_https___pocbehavc01.pocvirtual.local_443_sdk_Main_d60aa22 useIS_ false'

INFO   | jvm 1    | 2014/08/07 09:11:07 | 2014-08-07 09:11:07.190+0200 [Thread-78] INFO  {sa_orchestrator:SHAR-Validate snapshot:9E808080808080808080808080808080D38A808001303142975546c0ee72c23eb:2c9dfa9647af44e60147af4e7cf60029} [PluginCacheManager] Put cache element 'group-v3' (403119757) into 'sa_orchestrator_https___pocbehavc01.pocvirtual.local_443_sdk_Main_d60aa22 useIS_ false'

INFO   | jvm 1    | 2014/08/07 09:11:07 | 2014-08-07 09:11:07.393+0200 [Thread-78] INFO  {sa_orchestrator:SHAR-Validate snapshot:9E808080808080808080808080808080D38A808001303142975546c0ee72c23eb:2c9dfa9647af44e60147af4e7cf60029} [PluginCacheManager] Putting cache element 'group-n6' (1481453258) into 'sa_orchestrator_https___pocbehavc01.pocvirtual.local_443_sdk_Main_d60aa22 useIS_ false'

INFO   | jvm 1    | 2014/08/07 09:11:07 | 2014-08-07 09:11:07.393+0200 [Thread-78] INFO  {sa_orchestrator:SHAR-Validate snapshot:9E808080808080808080808080808080D38A808001303142975546c0ee72c23eb:2c9dfa9647af44e60147af4e7cf60029} [PluginCacheManager] Put cache element 'group-n6' (1481453258) into 'sa_orchestrator_https___pocbehavc01.pocvirtual.local_443_sdk_Main_d60aa22 useIS_ false'

...

 

 

And other times the execution only takes 2-3 seconds to execute.

And in the log files there aren't that many lines added.

 

How can this be avoided?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>