Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FTP limit

745 views
Skip to first unread message

Stu

unread,
Jul 15, 2010, 3:48:33 PM7/15/10
to
I am running AIX 6.1 and trying to FTP a 8G file, is there a limit on
the size of the file I can FTP. In addition, is there anyway to change
that limit.

Thanks in advance to all who answer

Stu

unread,
Jul 15, 2010, 4:14:21 PM7/15/10
to
i am running AIX 6.1 and would like to know if there is a limit on the
size of a file that can be ftp'ed. In addition, how would I go about
changing that limit.

Thanks to all who answer.

iggster

unread,
Jul 15, 2010, 5:49:49 PM7/15/10
to


1. The FTP user's ulimit (on the target system) has to allow the file of
this size. Type ulimit -a to verify. Only root can change that, using
chuser command.
chuser fsize_hard=NUMBER-OF-512byte-BLOCKS username
chuser fsize=NUMBER-OF-512byte-BLOCKS username
Use "-1" for unlimited.
2. Verify that the ftp daemon is configured to allow output file of the
size.
3. Check if there's a disk quota.
4. If the receiving file system is JFS it has to be LARGE FILE ENABLED.
You cannot change that. Either chose another fs or re-create it with the
parameter. JFS2 has no such feature and will allow to go over 2GB.

Hope this is of help.
Igor

--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

Stu

unread,
Jul 19, 2010, 4:09:15 PM7/19/10
to
> --- news://freenews.netfront.net/ - complaints: n...@netfront.net ---

I still can't get this work.

here is my ulimit -a for root
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user) unlimited


Here is my message when I try to pull a file from my PC to my AIX 6.1
machine.


ftp> put aix.ppc64_11gR2_database_1of2.zip
200 PORT command successful.
150 Opening data connection for aix.ppc64_11gR2_database_1of2.zip.
452 Error writing file: A file cannot be larger than the value set by
ulimit.
ftp: 1073741824 bytes sent in 92.18Seconds 11648.32Kbytes/sec

My File system is jfs and the file I am tranfering is 1.5GB.

Anybody have any ideas?

BTW, I edited the /etc/security/limits file to change the data and
fsize to -1 (unlimited)

iggster

unread,
Jul 19, 2010, 6:03:55 PM7/19/10
to
I see that root has "unlimited". Are you logging in as root with your
FTP client? I do not see that from your reply. The number 1073741824 of
bytes you can "put" is exactly the default limit of a user on AIX.

Another thing, just in case, check you have enough pace on the target jfs.


--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

Uwe Auer

unread,
Jul 30, 2010, 2:03:09 PM7/30/10
to


Hi,

on a "jfs" filesystem "unlimited" doesn't help unless you define the filesystem
"large file enabled". Use a "jfs2" filesystem and everything will be ok.

Regards,
Uwe Auer

0 new messages