Skip to main content

Hi all,

 



Normal
0




false
false
false

EN-US
X-NONE
AR-SA













MicrosoftInternetExplorer4





























































































































































/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:Arial;
mso-bidi-theme-font:minor-bidi;}



We are facing a problem with the K2 Server service, once we
launch the k2 BlackPearl virtual machine the k2 server is using around 80% to
100% CPU usage.



 



Once we deploy our process and we try to start a workflow
instance using InfoPath views, we are getting the following error:

 

"InfoPath either could not connect to data source or the service has timed out."

 



Normal
0




false
false
false

EN-US
X-NONE
AR-SA













MicrosoftInternetExplorer4





























































































































































/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:Arial;
mso-bidi-theme-font:minor-bidi;}



Is there any walkthrough to solve this Problem ??



 



Thanks a lot.


10845iA97FFF6D07063AD9.png

Are you using some IPC events?  If so, run the K2 Service in console mode.  See if you get a lot of repeating messages that say 'Object not set to an instance...'.   If you see those messages,  open _IPCAsync table in the K2Server database.  If all of the above things are true and you see rows in the table, call the help desk.


In addition to David’s suggestion around checking IPCs; do you happen to use any Roles that are marked as Dynamic within the Workspace > Management > Roles area?  I’ve heard of CPU spikes when a rule was created as dynamic, but at the process level it is marked as not-dynamic (e.g. the Dynamic checkbox is not checked) but the refresh interval is 0.  In this case setting the refresh to something larger than 0 (10, which equals 10 minutes) is the default) resolved the issue.  You can find this setting by opening K2 Workspace then navigating “Management” and then drilling down to the desired process(es) under Workflow Server.   Once you expand a specific process you will see a node for “Roles” clicking on this will present the role settings for this process.


Hi Bob,

It seems you are right, i was creating a Role (Which Contains 2 users) and assigned this role as destination the one of the Process Activities. Then the problem started. When i removed this Role and i assigned a single user, the deploy took its normal time and the CPU usage went to normal.

My problem now is to know how to create a parallel action ?? since as i was reading in previous posts and in documents on the black market specailly ("K2 [blackpearl] Roles and Advanced Destination Rules"), i have to create a Role and assign it as destination to the activity. Since this action is causing other problems so how can i implement my Parallel action??

 

Thanks a lot


Generally Role usage is not an issue.  The only time I've seen it as an issue is the scenario I described previously.  I wasn't advocating the removal of roles as a whole, but to check to see if that situation existed, and if it did, reconfigure it (by putting a value larger than 0 in the refresh rate for that role in the process settings in Workspace).

Reply