IPC Thread Pool Settings

Have you ever wondered why in IPC Events when you are triggering a child workflow it takes some time to initiate and also in case of Synchronous calls it takes time to receive the call back from child work flow?

The reason for this is, K2 have provided a small configuration setting (See Below) in K2Server.Setup File which will be available under path C:\Program Files (x86)\K2 blackpearl\Host Server\Bin

<IPCSettings ExpireOnDelete=”false” IPCThreadInterval=”60″ />

Default value is set as 60 sec, which means for every 60 sec the IPC thread will check for new IPC Calls and trigger them.

You can decrease this value to speed up the IPC calls. But K2 have suggested not to set the value below 5 seconds due to some performance issues.

ipcthreadinterval

 

There are few more settings that could be helpful for us to know. Please find below article which explains more useful settings.

https://help.k2.com/kb001446

Advertisements

Author: Vijay

I'm a K2 Certified Developer, helping teams to automate, design, develop & maintain business process applications connecting across multiple platforms with multiple technologies.

2 thoughts on “IPC Thread Pool Settings”

  1. Hi Vijay,

    We just found this problem in our new customer environment. The workflow in our system doesn’t have any delay (SQL and K2 server are on the same machine), but in our customer environment it takes 3 minutes from IPC start to end (the sub workflow only takes 6seconds to run).

    Before changing this IPC property, do you think that a difference of seconds between K2 server and SQL server could be producing this error?

    Thanks in advance.

    Like

    1. Check the value of this property in customer environment and change it to min value allowed and restart the k2 blackpearl service instance and see if the delay is reduced…if this doesnt fix the issue then we need to see other options….
      Let me know after you try this…

      Thanks
      Regards,
      Vijay.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s