- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp file size limit?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 03:50 PM
тАО11-30-2001 03:50 PM
If I try a 'put' command from the source server, it eventually dies with a message about "sendfile: broken pipe - 452 Error writing file: Invalid argument."
If I try a 'get' command from the target server it eventually dies with a message saying "File too large
421 Service not available, remote server has closed connection".
Does anyone know what's going on here? I'm not aware of any inherit limits on file sizes in ftp?
Thanks in advance!
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 05:10 PM
тАО11-30-2001 05:10 PM
Re: ftp file size limit?
What is your system's ulimit setting? You should increase the ulimit if it is too small.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 07:53 PM
тАО11-30-2001 07:53 PM
SolutionSince you get to within 30MB of a 2.5GB file I can assume the filesystem on the destination server has largefiles enabled, right?
Are you by chance filling the remote filesystem?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 08:13 PM
тАО11-30-2001 08:13 PM
Re: ftp file size limit?
To see if largefiles are enabled on the destination (assuming another HP-UX box), use the command:
fsadm /dev/vgXX/rlvolY
where XX = the volume group and rlvolY is the raw logical volume.
If largefiles are enabled, then check for ulimit values and also use bdf to see if there is enough space.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 09:36 PM
тАО11-30-2001 09:36 PM
Re: ftp file size limit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 10:10 PM
тАО11-30-2001 10:10 PM
Re: ftp file size limit?
Take a look at the threads below,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=b8f8ab39095fc75108/screen=ckiDisplayDocument?docId=200000015247956
If you are coping files larger than 2GB make sure you have largefiles option enabled for the filesystem.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 10:18 PM
тАО11-30-2001 10:18 PM
Re: ftp file size limit?
Here is a thread on how to enable largefiles support for the filesystem.
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=31909677025c2f665f/screen=ckiDisplayDocument?docId=200000047669207
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2001 04:18 AM
тАО12-01-2001 04:18 AM
Re: ftp file size limit?
Also, consider splitting the large file into smaller packets say 1Gig or 0.5Gig (see man split) before ftp'ing. At the destination, you can simply 'cat' the files together to recreate your file.
I like doing this because, if the connection breaks midway, I only have to ftp the remaining file fragments across, not restart from scratch.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2001 01:19 PM
тАО12-01-2001 01:19 PM
Re: ftp file size limit?
FTP has no filesize limit for its transfers.
You would need to make sure the destination filesystem supports LARGEFILES (which is files above 2gb). On the destination system , on the filesystem where the file is being copied do:
fsadm /dev/vg*/lv* |grep largefiles
If largefiles is not set, you can set it by
fsadm -o largefiles /dev/vgXX/lvxx
Regarding ftp, i like to use the hash command to track its progess, especially for large files.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2003 07:18 AM
тАО07-25-2003 07:18 AM
Re: ftp file size limit?
The problem that I see is not that FTP fails, but the fact that it doesn't transfer all the bytes and doesn't fail. I check the byte size on all files greater than 2GB before and after transfer.
Anybody have any thoughts as to why FTP doesn't transfer all the bytes and then doesn't fail?