[Zope] LFS (large file support)
Roel Van den Bergh
roel@planetinterior.com
Mon, 9 Sep 2002 10:50:30 +0200
we didn't start unprepared, I've been reading and collecting stuff the past
seven days ...
and still haven't found the right answers
We have build Python using
CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2 $CFLAGS" \
./configure
but after exceeding the 2GB limit we get
Error Type: Overflow Error
Error Value: long int too large to convert
Traceback
...
File /home/zope/2-5-1/lib/python/ZODB/Filestorage.ppy, line 558, in _load
(Object: home/zope/2-5-1/var/Data.fs)
OverflowError: (see above)
Only the CMF site containing the extra data is corrupted.
Other sites are manageble
> -----Oorspronkelijk bericht-----
> Van: Andreas Jung [mailto:andreas@andreas-jung.com]
> Verzonden: zondag 8 september 2002 16:35
> Aan: roel@planetinterior.com; Zope Org
> Onderwerp: Re: [Zope] LFS (large file support)
>
>
> Compiling Python with LFS support requires some configuration
> magic when running 'configure'. Please check the Python documentation
> (Python Library -> posixmodule I think) or the mailing list archives
> since this is an FAQ and has been resolved multiple times.
>
> -aj
> ----- Original Message -----
> From: "Roel Van den Bergh" <roel@planetinterior.com>
> To: "Zope Org" <zope@zope.org>
> Sent: Sunday, September 08, 2002 16:32
> Subject: [Zope] LFS (large file support)
>
>
> > We're running out of luck
> >
> > We need LFS (large file support) for the Data.fs file
> > Upgraded to RH 7.3, ext3 filesystem, compiled our own python 2.1.3 and
> build
> > zope 2.5.1 from source
> >
> > Exported all sites from previous zope and imported in new zope to avoid
> > conflict with existing Data.fs
> > but no luck Everytime we want to go over the 2GB limit zope
> truncates the
> > Data.fs
> >
> > Did we mis some configuration settings?
> >
> > TIA, R.
> >
> > - - -
> >
> > Roel Van den Bergh
> >
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>