KB Article #178071

after starting cft successfully, processes are getting killed automatically !

Problem

after starting cft successfully, processes are getting killed automatically !


cft.out shows a lot of messages like:

CFTTFIL Warning : can't stat "/sys/block/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holde" : errno=2 (No such file or directory)

+ 2016/08/03 16:54:39.849550 ? 11691 CFTTFIL Warning : can't stat "/sys/block/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/holders/dm-12/slaves/sdb1/subsy" : errno=2 (No such file or directory)


CFT is started and begin to handle some transfers just before CFT's processes get killed



Resolution

The folder '/sys' of the Linux system contains many symbolic links which here, seems to loop between slaves and holders.


!! Avoid sending list of files from '/sys' !!


In the reported case, to fix the start of CFT, we turned inactive the CFT partner with transfers using such files.


To avoid identified transfers to start at the launch of CFT, the command CFTUTIL KSTATE can be used while CFT is down.

CFTUTIL KSTATE idf=My_IDF, idtu=My_transfer_IDTU, part=My_Partner


Note:

From CFT version 3.1.3 SP9 / 3.2.2 SP2 (and higher version) CFT is no longer crashing in such a case. Related transfers will be simply in error instead.