Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am working on an ETL process which uses tssh components, to execute a shell script on a remote server. Once the execution on the remote server completes, it continues the process on the host server.
The talend job seems to work fine if the process on the remote server takes a few minutes, but it hangs up if the process on the remote server takes longer ( more than 1 hour in this case ). The process on host server doesn't continue even after the process on the remote server has completed. It doesn't throw any error but the java process seems to be running indefinitely without any real progress.
I tried the following without any success -
The process seems to be frozen if the tssh takes too long. Any help would be greatly appreciated.
Thank you
Fixed the issue by making the process on the remote server run in the background and added another tssh component which loops through to keep checking for a file indicating end of process on ssh.
Also modified keepalive settings on the client/server config files to prevent ssh sessions from freezing.