FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-17-2007, 04:21 AM
Daniel Burrows
 
Default Filesize limit exceeded on ext3

On Fri, Nov 16, 2007 at 10:01:04AM -0800, David Brodbeck <brodbd@u.washington.edu> was heard to say:
>
> On Nov 16, 2007, at 8:12 AM, Jeff D wrote:
>> What testing suite are you using for this? Have you tried to use dd to
>> create a file larger than this? I'm going to guess what you are seeing
>> here is file size limit of the application you are using rather than ext3.
>
> I think so too. I bet this is an old bit of code, or maybe an old binary
> statically compiled against old libraries.

In particular, you want to look at calls to:

lseek
stat
truncate/ftruncate
tmpfile, fopen, freopen (they create a FILE* that doesn't support
64-bit sizes)
... FILE* versions of these.

I may have missed some, this is just from trawling the libc
documentation. In general, anything dealing with file sizes and offsets
is a possible culprit.

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-17-2007, 02:41 PM
André Wendt
 
Default Filesize limit exceeded on ext3

Ron Johnson wrote:
> On 11/16/07 10:36, André Wendt wrote:
>> Ron Johnson wrote:
>>> On 11/16/07 09:04, André Wendt wrote:
>>>> Hi,
>>>> I'm running a benchmark program on Lenny that writes into a file and
>>>> repeatedly exits once the filesize reaches 2,099,204 bytes. This is on ext3.
>>>> $ ulimit -f
>>>> unlimited
>>>> $ uname -a
>>>> Linux think 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686 GNU/Linux
>>>> This doesn't seem to be a problem for other programs. I have a
>>>> VirtualBox snapshot as large as 2,587,808 bytes.
>>>> Any hints as to what's going on? Please CC me, I'm not on the list.
>>> 2 megabytes? Computers have been able to create 2MB files for 40 years.
>> Ah, thanks for mentioning that. Of course it's 2 *GB*, the sizes are in
>> *kilobytes*. I didn't realize 'til I read 'man du'.
>
>>> So, why are you blaming ext3 when there is *obviously* some other
>>> explanation?
>>>
>>> Like running out of room on the device.
>> I don't think so:
>
>> $ df -h | grep home
>> /dev/hda7 27G 21G 5,0G 81% /home
>
>> The message in the subject is what I get before the program exists. It
>> would be different if there's no space.
>
> What benchmark? Can we run it?
>

I doubt it -- it's a benchmark for the Squeak VM [1], and I modified the
VM myself.

David Brodbeck mentioned the code might be compiled against old
libraries: If there's anything I can look for in the code, please let me
know. Don't know if it's important: the program uses fprintf() to write
to the file.

Thanks,
André

[1] http://www.squeakvm.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-17-2007, 11:28 PM
Sam Leon
 
Default Filesize limit exceeded on ext3

André Wendt wrote:

Hi,

I'm running a benchmark program on Lenny that writes into a file and
repeatedly exits once the filesize reaches 2,099,204 bytes. This is on ext3.

$ ulimit -f
unlimited

$ uname -a
Linux think 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686 GNU/Linux

This doesn't seem to be a problem for other programs. I have a
VirtualBox snapshot as large as 2,587,808 bytes.

Any hints as to what's going on? Please CC me, I'm not on the list.

Thanks,
André




http://www.google.com/search?hl=en&q=+site:ubuntuforums.org+ubuntu+defra g
http://www.satlug.org/pipermail/satlug/2007-November/052627.html
It is a windows thing.
The fact is that the fragments in ext3 really don't hurt it much.

Sam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-18-2007, 02:55 AM
Ron Johnson
 
Default Filesize limit exceeded on ext3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/18/07 00:28, Sam Leon wrote:
> André Wendt wrote:
>> Hi,
>>
>> I'm running a benchmark program on Lenny that writes into a file and
>> repeatedly exits once the filesize reaches 2,099,204 bytes. This is on
>> ext3.
>>
>> $ ulimit -f
>> unlimited
>>
>> $ uname -a
>> Linux think 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
>> GNU/Linux
>>
>> This doesn't seem to be a problem for other programs. I have a
>> VirtualBox snapshot as large as 2,587,808 bytes.
>>
>> Any hints as to what's going on? Please CC me, I'm not on the list.
>>
>> Thanks,
>> André
>>
>>
>
> http://www.google.com/search?hl=en&q=+site:ubuntuforums.org+ubuntu+defra g
> http://www.satlug.org/pipermail/satlug/2007-November/052627.html
> It is a windows thing.
> The fact is that the fragments in ext3 really don't hurt it much.

Not just DOS/Windows, but any 70s-era filesystem. (Files on
OpenVMS' ODS-2 can get highly fragmented.)

- --
Ron Johnson, Jr.
Jefferson LA USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHP7elS9HxQb37XmcRAlQ4AKC6fPfQnMK/QK6L5ZFgTaoRorl1QACgzBFT
dQYYV8jInWC0zZvnzMt/FzE=
=NA02
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-22-2007, 11:45 PM
Michelle Konzack
 
Default Filesize limit exceeded on ext3

Am 2007-11-16 16:04:46, schrieb André Wendt:
> Hi,
>
> I'm running a benchmark program on Lenny that writes into a file and
> repeatedly exits once the filesize reaches 2,099,204 bytes. This is on ext3.

Blame the Autor of the program, since it seems not to have LFS.

> $ ulimit -f
> unlimited
>
> $ uname -a
> Linux think 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686 GNU/Linux
>
> This doesn't seem to be a problem for other programs. I have a
> VirtualBox snapshot as large as 2,587,808 bytes.

The biggest file I ever had in my ${HOME} was the ~/.xsession-errors
with arround 86 GByte aver 5 weeks holidays...

> Any hints as to what's going on? Please CC me, I'm not on the list.

No LFS?

Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
 
Old 11-22-2007, 11:47 PM
Michelle Konzack
 
Default Filesize limit exceeded on ext3

Am 2007-11-16 12:05:01, schrieb Douglas A. Tutty:
> So that makes the file 2.5 GB or so. Is this an issue for ext2/3?
> Isn't a DVD about 7 GB? Can't you hold the .iso for a DVD on an ext2
> filesystem?

18 GByte :-)

> What is the real issue here?

LFS

Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
 

Thread Tools




All times are GMT. The time now is 03:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org