OutOfMemoryError: unable to create new native thread

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
3 posts Page 1 of 1

Karen

Posts: 2
Joined: Tue Jul 23, 2013 3:21 pm

Post by Karen » Tue Sep 17, 2013 4:22 pm
I'm just connecting to a SFTP server to send a file and received an "OutOfMemoryError: unable to create new native thread"

This is the only thing running on my HP-UX server with 48 GB of memory. What would cause this?
I did notice that I have 2 jobs kicking off at the same time to the same place, and they both failed per the job log.

Here is part of the job log, the complete log is attached:
9/17/13 12:15:04 INFO Executing task 'sftp 1.0 (Connect to vendor)'
9/17/13 12:15:06 INFO Executing sub-task 'put'
9/17/13 12:15:08 ERROR [8098 - Connect to Vendor] java.lang.OutOfMemoryError: unable to create new native thread
9/17/13 12:15:08 INFO Finished project 'sendHCR_revmart'
9/17/13 12:15:08 ERROR [8098 - Connect to Vendor] java.lang.OutOfMemoryError: unable to create new native thread
com.linoma.dpa.runtime.JobFailedException: [8098 - Connect to Vendor] java.lang.OutOfMemoryError: unable to create new native

thread
at com.linoma.dpa.runtime.Job.run(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.linoma.dpa.ExecutionException: [8098 - Connect to Vendor] java.lang.OutOfMemoryError: unable to create new

native thread
Attachments
OutOfMemory.txt
(5.35 KiB) Downloaded 691 times

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Sep 18, 2013 8:25 am
Karen,

Increase the open file limit on your system and this should help this issue.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

Karen

Posts: 2
Joined: Tue Jul 23, 2013 3:21 pm

Post by Karen » Wed Oct 23, 2013 12:47 pm
Thank you Rick!

In HP-UX 11iv3, I changed the maxfiles and maxfiles_lim in Kernel Tunables and I haven't seen the error since I changed them and performed the required server reboot.
3 posts Page 1 of 1