Sidebar

Append option checked and getting error file because it is being used by another process.

0 votes
223 views
asked Sep 1, 2023 by brandon-w-8204 (33,270 points)

We are running in a cluster with more than one instance. When I setup a destination to append I will get random errors like this one:

The process cannot access the file because it is being used by another process.

1 Answer

0 votes

This is caused by all the nodes in the cluster attempting to append to the file. The fix is to limit the destination to only send the messages (append the file) on one node in the cluster. Here are the steps to configure this.

1. Configure the channel to persistence level 2:

     a. Right click on the channel and go to properties.
     b. slide the Persistence to 2

2. On the destination node set check the box to only process on one HA Instance:

From here just save and restart your channel and you should not see any more errors about the file in use by another process.

answered Sep 1, 2023 by brandon-w-8204 (33,270 points)
...