cancel
Showing results for 
Search instead for 
Did you mean: 

PI sender adapter locking file

Former Member
0 Kudos

Hello Experts,

We have repeatedly had an issue where the PI sender file (SFTP) adapter is setting a lock on the file it is reading, but neither does it read the file completely nor does it move to another file for processing. Basically, the sender adapter gets stuck on one file itself and stops message processing altogether. The issue gets resolved on renaming the file. But now we have to find a root cause for this problem as it is affecting critical interfaces in the production system. Can anyone give us some clues here?

We are on PI7.31 dual stack and using Advantco SFTP adapter.

Thanks,

Diptee

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Diptee,

After processing the file Adapter is locking or just not polling the file?

What is the polling interval and what name changes your doing the second file.

Former Member
0 Kudos

Hello Raghu,

Once the adapter places a lock on a file, it does not read this file; however, we have just observed that it continues to process other files.

Polling interval is 60 seconds.

Regards,

Diptee

sendhil_kumar
Active Participant
0 Kudos

Hi Diptee,


it does not read this file;

Do you see any patterns like

Is this issue on a particular file alone with particular file name?

Or like the first/last file in the folder or some random places?

If so, did you try renaming any other file to the stuck file's name and replicated the issue?

--

Sendhil

former_member186851
Active Contributor
0 Kudos

Hello Diptee,

So the first file its not reading?

Former Member
0 Kudos

Hello Sendhil,

No pattern has been really observed. Renaming the file name works, but we have to find the exact cause of this problem.

Regards,
Diptee

Former Member
0 Kudos

Hello Raghu,

No such pattern is observed.

Regards,
Diptee

manoj_khavatkopp
Active Contributor
0 Kudos

try adding the parameter clusterSyncMode to true

br,

Manoj

Former Member
0 Kudos

Hello Manoj,

This parameter is available for PI File adapter but no such parameter exists for Advantco SFTP adapter.

Regards,

Diptee

manoj_khavatkopp
Active Contributor
0 Kudos

yes you are right, just checked the Advantaco's SFTP user Guide but unfortunately couldn't find anything about Additional parameters .

If the issue persist try contacting Advantaco.

br,

Manoj

Former Member
0 Kudos

Hello Manoj,

Any clue how we can find the contact for Advantco?

Regards,

Diptee

manoj_khavatkopp
Active Contributor
0 Kudos

Diptee,

Your application owner should be having the contact of Advantaco.

I remember i had some queries on Fingerprint option in Advantaco i had to contact Advantco through our application owner.

Br,

Manoj

Former Member
0 Kudos

Just to add to the above To fix this problem we can also remove the locks set by the channel in NWA>java locks.

Regards,

Diptee