[ https://issues.apache.org/jira/browse/AIRAVATA-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007673#comment-17007673 ]
Dimuthu Upeksha commented on AIRAVATA-3287: ------------------------------------------- Fixed in [https://github.com/apache/airavata/commit/82139606a0ad46cdd740da5e92bc30196565b027] > Evict failed SSH connections from connection pool > ------------------------------------------------- > > Key: AIRAVATA-3287 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3287 > Project: Airavata > Issue Type: Bug > Reporter: Dimuthu Upeksha > Assignee: Dimuthu Upeksha > Priority: Major > > Some times SSH connections can be invalidated over the time if we keep it in > the pool without using it. If that's the case, those invalidated connections > should be checked and removed from the pool. > 9-43d0-ba65-9c0ca3611c95, gateway=ultrascan - Error while checking the file > /scratch/01623/us3/airavata-workingdirs/PROCESS_4ce5f970-98ab-436e-a4cd-0ba6e611cb72/output/analysis-results.tar > existence > org.apache.airavata.agents.api.AgentException: > net.schmizz.sshj.connection.ConnectionException: Request failed > at > org.apache.airavata.helix.adaptor.SSHJAgentAdaptor.doesFileExist(SSHJAgentAdaptor.java:340) > at > org.apache.airavata.helix.impl.task.staging.DataStagingTask.transferFileToStorage(DataStagingTask.java:320) > at > org.apache.airavata.helix.impl.task.staging.OutputDataStagingTask.onRun(OutputDataStagingTask.java:171) > at > org.apache.airavata.helix.impl.task.AiravataTask.onRun(AiravataTask.java:360) > at org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:92) > at org.apache.helix.task.TaskRunner.run(TaskRunner.java:71) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:748) > Caused by: net.schmizz.sshj.connection.ConnectionException: Request failed > at > net.schmizz.sshj.connection.channel.AbstractChannel.gotResponse(AbstractChannel.java:402) > at > net.schmizz.sshj.connection.channel.AbstractChannel.handle(AbstractChannel.java:191) > at net.schmizz.sshj.connection.ConnectionImpl.handle(ConnectionImpl.java:130) > at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:500) > at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:102) > at net.schmizz.sshj.transport.Decoder.received(Decoder.java:170) > at net.schmizz.sshj.transport.Reader.run(Reader.java:59) > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)