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
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 )
Actually, I don't believe it has ever been resolved. The python.org documentation is dismal on this subject, and there's just no place that ties this all together. The mailing lists are full of questions, noone seems to have done it, at least not that's written, e.g. a step-by-step howto. I've been tracking it for a while :( on 9/8/02 10:34 AM, Andreas Jung at andreas@andreas-jung.com scrivened:
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 )
_______________________________________________ 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 )
On Linux, at least, compiling and installing Python 2.X with large file support can be accomplished via: export CC="gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ./configure --prefix=/some/directory --with-thread; make; make install The Linux kernel and C libraries need to support large files for this to work. I have had success on both Debian Woody and Red Hat 7.2+ with this recipe. ----- Original Message ----- From: "Marc Lindahl" <marc@bowery.com> To: "Zope Org" <zope@zope.org> Sent: Sunday, September 08, 2002 6:54 PM Subject: Re: [Zope] LFS (large file support)
Actually, I don't believe it has ever been resolved. The python.org documentation is dismal on this subject, and there's just no place that ties this all together. The mailing lists are full of questions, noone seems to have done it, at least not that's written, e.g. a step-by-step howto. I've been tracking it for a while :(
on 9/8/02 10:34 AM, Andreas Jung at andreas@andreas-jung.com scrivened:
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 )
_______________________________________________ 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 )
_______________________________________________ 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 )
On Mon, Sep 09, 2002 at 12:13:35AM -0400, Chris McDonough wrote:
On Linux, at least, compiling and installing Python 2.X with large file support can be accomplished via:
export CC="gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ./configure --prefix=/some/directory --with-thread; make; make install
The Linux kernel and C libraries need to support large files for this to work. I have had success on both Debian Woody and Red Hat 7.2+ with this recipe.
Amen - that's how it is described in the Python Library docs. -aj
On Mon, Sep 09, 2002 at 12:13:35AM -0400, Chris McDonough wrote:
The Linux kernel and C libraries need to support large files for this to work. I have had success on both Debian Woody and Red Hat 7.2+ with this recipe.
Does the Debian-packaged Python 2.1.3 in Woody support large files already? The README.Debian in the package indicates that it does, but I've not yet put together a combination of Zope and ext3 to try it out myself. If so, at least it'd provide an extra answer to the recuring folks who want LFS in Python/Zope: "install Debian" (small joke there). -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
If so, at least it'd provide an extra answer to the recuring folks who want LFS in Python/Zope: "install Debian" (small joke there).
The python 2.1.3 source rpm from python.org states in the changelog section of the spec.... "* Wed Aug 20 2001 Sean Reifschneider <jafo-rpms@tummy.com> [Release 2.1.1-2] - Adding LFS support." So the other answer would be... rpmbuild --rebuild the python .src.rpm on RedHat :-) Adam
Adam Manock wrote:
So the other answer would be... rpmbuild --rebuild the python .src.rpm on RedHat :-)
this method (--rebuild src.rpm) works fine under mandrake too. -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007
Does the Debian-packaged Python 2.1.3 in Woody support large files already? The README.Debian in the package indicates that it does, but I've not yet put together a combination of Zope and ext3 to try it out myself.
I don't know. It's easy enough to test out, though... $ python
from test import test_largefile
Mike Renfro <renfro@tntech.edu> wrote:
On Mon, Sep 09, 2002 at 12:13:35AM -0400, Chris McDonough wrote:
The Linux kernel and C libraries need to support large files for this to work. I have had success on both Debian Woody and Red Hat 7.2+ with this recipe.
Does the Debian-packaged Python 2.1.3 in Woody support large files already? The README.Debian in the package indicates that it does, but I've not yet put together a combination of Zope and ext3 to try it out myself.
It does, and ext2 DOES support large files, no need to go ext3 (even if it's useful for other reasons). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
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 )
participants (9)
-
Adam Manock -
Andreas Jung -
Chris McDonough -
Florent Guillaume -
Luca Olivetti -
Marc Lindahl -
Mike Renfro -
Roel Van den Bergh -
zopyx@t-online.de