| To: | Jonathan Dill <dill@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: filesize limit "rolls over" to 0 kbytes at 4 GB |
| From: | Steve Lord <lord@xxxxxxx> |
| Date: | 31 Oct 2001 13:59:17 -0600 |
| Cc: | Todd Raeker <raeker@xxxxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx> |
| In-reply-to: | <3BE05612.5BD3FFA4@xxxxxxxxxxxx> |
| References: | <01102909435902.11332@chemraeker1> <3BDD8E31.9C817A5@xxxxxxxxxxxx> <01103113542200.01720@chemraeker1> <3BE05612.5BD3FFA4@xxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
On Wed, 2001-10-31 at 13:50, Jonathan Dill wrote: > > If you keep increasing the limit, you get a modulus of 4 GB eg. 5 GB > gives you a limit of 1 GB, 37 GB gives you a limit of 1 GB etc. > > Anybody have any ideas about this? > > -- > "Jonathan F. Dill" (dill@xxxxxxxxxxxx) I do know that if you use the limits interface then there is only 4 bytes of space in the kernel to store limits. Which means you cannot impose a limit of greater than 4G bytes. The rollover you are seeing is probably because of this. Setting a limit to RLIM_INFINITY which is 0xffffffff on i386 effectively disables the limit checking and this is the only way to get into higher order files. Steve -- Steve Lord voice: +1-651-683-3511 Principal Engineer, Filesystem Software email: lord@xxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | filesize limit "rolls over" to 0 kbytes at 4 GB, Jonathan Dill |
|---|---|
| Next by Date: | More testing RPMs, Eric Sandeen |
| Previous by Thread: | filesize limit "rolls over" to 0 kbytes at 4 GB, Jonathan Dill |
| Next by Thread: | Re: shell filesize limit of 4 GB, Jonathan Dill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |