Operating System - Linux
1752600 Members
4843 Online
108788 Solutions
New Discussion юеВ

Re: file limit size exceeded

 
SOLVED
Go to solution
Francisco J. Soler
Honored Contributor

file limit size exceeded

Hello all, i am trying to download a very large file with wget -c urlname
when the file size is 2.147.483.647 (2Gb aprox.) the wget exits with file limit size exceeded.

How can i increase the file limit size?

I have Fedora core1.

Frank.
Linux?. Yes, of course.
5 REPLIES 5
Abdul Rahiman
Esteemed Contributor

Re: file limit size exceeded

I think your current Kernel doesn't have the large file support > 2GB. If the FS is ext/2 FAT32, you wont' have large file support.
Based on my limited knowledge, to have LFS, You should upgrade to ext3 or xfs which can
handle files more than 2GB.
No unix, no fun
Vernon Brown_4
Trusted Contributor

Re: file limit size exceeded

The man pages suggest that .wgetrc is a config file for wget. You may find some file size entries there.
Stuart Browne
Honored Contributor
Solution

Re: file limit size exceeded

Unless you're using a 18-24 month old distribution, then the issue isn't your filesystem.

The issue is 'wget'. A thread has been raised regarding this previously ( http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=52809 ).

For the record, that number is 2GB, to the byte (1024^3 * 2 - 1).

This limit isn't a configurable one, it's a limit on the object-type used to store the data pointers I beleive, but I don't know enough C to confirm that.

If using such large file sizes, I'd suggest a different protocol to transfer it.
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: file limit size exceeded

fedora Core by default sets up filesystems that are bigger than 2 gb to accept large files.

If it was smaller and you expanded it, I don't know.

This is probably a wget problem which means you can't do anything about it, except change your transfer methodology.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Francisco J. Soler
Honored Contributor

Re: file limit size exceeded

Hi all,
thanks all for your responses:

Abdul, i have ext3 and have kernel support for more than 2Gb. This is not the problem, but thanks anyway.

Vernon: I have not .wgetrc, so i think wget is using their default values.

Stuart and Steven: I think you are right, i have tried with ncftp and get more than 2Gb without any problem.

Frank.
Linux?. Yes, of course.