In article <[EMAIL PROTECTED]>,
Artur Hecker  <[EMAIL PROTECTED]> wrote:
>Alan DeKok wrote:
>> 
>> Peter Nixon <[EMAIL PROTECTED]> wrote:
>> > That was not the exact error message. I am sorry, I will post the correct
>> > one when I have a spare server built and I can regenerate the problem.
>> > One OS was SuSE 8.0 on ReiserFS (on LVM, on RAID) and the other was RedHat
>> > 7.2 on Ext2. (Both are running current recommended kernels from the
>> > vendors.)
>> 
>>   Hmm... they should be able to handle files larger than 2G.

Euhm, nope, since freeradius doesn't have support for it.
See below.

>well, that's wrong if you are talking about the filesystems. both the
>ext2 and the reiserfs can treat files bigger than 2G (64bit) since a
>long long time. the problem always has been the VFS (virtual file
>system) of the linux kernel which for as far as i know couldn't treat
>big files till to the version 2.4.0 without patches. so, check your

True, you need a 2.4 kernel and at least glibc 2.2 I think
(2.1.3 might work, I'm not sure).

>kernel version and verify from which version on it is definitely
>supported without bugs etc. it can be reiserfs or ext3 or whatever, it's
>not the point.

Also, most 32-bit systems do /not/ handle files > 2GB by default.
The application must be compiled with 'large file support'.

So for freeradius to handle > 2GB files on Linux (and Solaris, and
almost any other Unix on a 32 bits processor except FreeBSD which
has 64 bits file offsets by default) you need to compile with flags
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Mike.
-- 
Computers are useless, they only give answers. --Pablo Picasso


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to