adpreclone.pl take long time and failed with 'Script timed out' during creating FMW home
adpreclone.pl appsTier taking lot of time and failing with timeout error.
START: Creating FMW archive.
Running /xxx/fs1/FMW_Home/oracle_common/bin/copyBinary.sh -javaHome /xxx/fs1/EBSapps/comn/clone/FMW/t2pjdk -al /xxx/fs1/EBSapps/comn/clone/FMW/FMW_Home.jar -smw /xxx/fs1/FMW_Home -ldl /xxx/fs1/inst/apps/KEPR_hq-ebsap1prod/admin/log/clone/fmwT2PStage -invPtrLoc /etc/oraInst.loc -silent true -debug true
Script Executed in 7200081 milliseconds, returning status -1
ERROR: Script timed out.
Solution
Increase the timeout as below.
1. Open a new terminal.
2. Execute:
export TIMEDPROCESS_TIMEOUT=-1
export CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m"
3. Execute: adpreclone