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

Dimuthu Upeksha commented on AIRAVATA-2747:
-------------------------------------------

Moved to SSHJ based ssh adaptor

https://github.com/apache/airavata/commit/a2acaac097dfd24c85c1acbb4f041a4ee65a7d95

> OOM issue in Helix Participant
> ------------------------------
>
>                 Key: AIRAVATA-2747
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2747
>             Project: Airavata
>          Issue Type: Bug
>          Components: helix implementation
>            Reporter: Dimuthu Upeksha
>            Assignee: Dimuthu Upeksha
>            Priority: Major
>         Attachments: airavata.log, threaddump-oom.log
>
>
> There seems to be an memory leak in helix participant when creating the SSH 
> sessions.
> 2018-04-11 16:06:35,916 [TaskStateModelFactory-task_thread] INFO 
> o.a.a.h.i.t.s.DataStagingTask 
> process=PROCESS_ad3fd791-a165-4e1d-bf25-cf4fa86c1970, 
> task=TASK_049812b4-5462-45dd-95a1-9c1db3a5cf73, 
> experiment=SLM001-NEK5000-BR2_08789b1b-feff-46f9-9f4b-67ee9ded280d, 
> gateway=default - Downloading output file 
> /N/dc2/scratch/cgateway/gta-work-dirs/PROCESS_ad3fd791-a165-4e1d-bf25-cf4fa86c1970/NEK5000.stdout
>  to the local path 
> /tmp/PROCESS_ad3fd791-a165-4e1d-bf25-cf4fa86c1970/temp_inputs/NEK5000.stdout
> 2018-04-11 16:06:35,929 [TaskStateModelFactory-task_thread] ERROR 
> o.apache.helix.task.TaskRunner - Problem running the task, report task as 
> FAILED.
> java.lang.OutOfMemoryError: unable to create new native thread
>  at java.lang.Thread.start0(Native Method)
>  at java.lang.Thread.start(Thread.java:717)
>  at com.jcraft.jsch.Session.connect(Session.java:528)
>  at com.jcraft.jsch.Session.connect(Session.java:183)
>  at 
> org.apache.airavata.helix.agent.ssh.SshAgentAdaptor.init(SshAgentAdaptor.java:81)
>  at 
> org.apache.airavata.helix.agent.ssh.SshAgentAdaptor.init(SshAgentAdaptor.java:112)
>  at 
> org.apache.airavata.helix.core.support.AdaptorSupportImpl.fetchAdaptor(AdaptorSupportImpl.java:59)
>  at 
> org.apache.airavata.helix.impl.task.submission.DefaultJobSubmissionTask.onRun(DefaultJobSubmissionTask.java:58)
>  at 
> org.apache.airavata.helix.impl.task.AiravataTask.onRun(AiravataTask.java:268)
>  at org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:82)
>  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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to