[ 
https://issues.apache.org/jira/browse/AIRAVATA-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151939#comment-14151939
 ] 

Raminderjeet Singh commented on AIRAVATA-1456:
----------------------------------------------

I have seen big improvement by closing the ssh/gsissh connection at the end of 
each job. Lahiru and I had a discussion this morning to use one ssh connection 
per user for multiple job and create a new connection when the old ssh 
connection closes or timeout. Lahiru is making changes to make it happen. 

> SSH session not closed for input/output handers
> -----------------------------------------------
>
>                 Key: AIRAVATA-1456
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1456
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac
>    Affects Versions: 0.14
>            Reporter: Raminderjeet Singh
>
> Following need to be added to ssh and gsissh handlers
> finally {
>                 if (cluster != null) {
>                     try {
>                         cluster.disconnect();
>                     } catch (SSHApiException e) {
>                         throw new GFac<>Exception(e.getMessage(), e);
>                     }
>                 }
>             }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to