UNSOLVED

miso1

updated

14 years ago

M

miso1

2 Posts

0

1984

February 1st, 2013 08:00

The probe limit time was reached error in multi-threaded application

Hi

I am trying to migrate moderately sized (500kB) files to Centera using multiple threads and receiving following error:

com.filepool.fplibrary.FPLibraryException: The probe limit time was reached

        at com.filepool.fplibrary.FPTag.BlobWrite(Unknown Source)

Error code: -10212

Some of the writes succeed, some fail.

The import application is using code based on the Centera SDK sample (StoreContent), with addition of using threads to write multiple files at same time. The problem does not occur with 3 threads, but manifests itself when I use 10 concurrent threads (10 files imported at same time).

The options are:

FPPool.setGlobalOption(FPLibraryConstants.FP_OPTION_OPENSTRATEGY,

                    FPLibraryConstants.FP_NORMAL_OPEN);

thePool.setOption(FPLibraryConstants.FP_OPTION_BUFFERSIZE, 1024 * 5000);

I have turned on the Centera SDK logging and the only interesting lines I see there are following:

1359726523649   2013-02-01 13:48:43.649     [debug]     807158.258  [EXCEPTION] In 'Connection.cpp' at line 994: Excepti

on

error=-10101

syserror=0

message=receive: waitForReadingData(1000) returned zero

trace=No trace available

1359726523649   2013-02-01 13:48:43.649     [debug]     807158.258  [RETRY] retry (0) Probe because Exception

error=-10101

syserror=0

message=receive: waitForReadingData(1000) returned zero

trace=FPDatagramSocket.receive (timeout=1000)

transid=ourServerName/1/PROBE

Application host system: AIX

Centera SDK: Centera_SDK_AIX-5_3

Has anyone encountered this issue?

Do you know the cause of the issue or how to fix it?

Thank you

Michal