Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.4k views
in Java FTP by
A third party application that we use, uses your ftp jar file to send files.

We are receiving the following error and want to know how to resolve the problem

"Failed in FTP transfer to xx.yy.zz.aa reason: java.io.IOException: Not enough space"

We do not know what kind of resource error can cause this error.

7 Answers

0 votes
by
Additional Information:

O/S is a SUN

java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
0 votes
by (162k points)
This error is often received when Java has failed to exec a process - is it possible this is occurring?

In that case ulimit could be used to increase the number of processes that can be created.

Additional Information:

O/S is a SUN

java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
0 votes
by
Checked ulimit on the server.

It is the same as on other servers running the same application, without the problem.

ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 256
vmemory(kbytes) unlimited

The application provided by a third party vendor runs 7x24.

The FTP error occurrs randomly, the application not cycled or restarted after the error. It will process several requests and have an error again, n files later.
0 votes
by (162k points)
You may need to get a log file or stack trace from the vendor's application to get any further
0 votes
by
Vendor has told us to increase the nofiles based on the ulimit.
Do not see where they are coming from.


If the vendors product did not properly close the ftp sessions, would they receive the out of memory error message after awhile.

Could the number of light weight processes being cycled using ftp grow to the point to where another light weight process could not be created until a previous one destroyed, thus one fails and the next 1 to n could function until the next failure.
0 votes
by
Does the FTP jar file perform a heavy weight fork (UNIX) ?
0 votes
by (51.6k points)
No, it doesn't. If you'd like to browse the code yourself, you can download it from http://www.enterprisedt.com/products/edtftpj/download/edtftpj-1.5.2.zip

- Hans (EDT)

Categories

...