Data.fs 2GB problem ...
Hello out there, Now the day has come. Our installation of Zope 2.3.2 has reached it's 2GB limit (actually the size of the ZODB is 2048 MB) ... What happens is that everytime we try to access the ZODB, Zope restarts ... I can understand that ... It truncated the Data.fs and creates some files named Data.fs.tr(n) ... Now I was wondering if moving the Data.fs file to a Zope2.4 installation would help or if our problem is bigger than that ... -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org Quote of the day: Linux renders ships (_Titanic_, the movie) NT renders ships.. Useless (U.S. Navy 'Smartship')
I believe you have to recompile Python for large file support, and make sure you're on a FS that can handle >2GB files. Other than that I think 2.3.2 should handle it.
From: Gitte Wange <gitte@mmmanager.org> Date: 11 Oct 2001 18:06:09 +0200 To: Zope mailinglist <zope@zope.org> Subject: [Zope] Data.fs 2GB problem ...
Hello out there,
Now the day has come. Our installation of Zope 2.3.2 has reached it's 2GB limit (actually the size of the ZODB is 2048 MB) ...
What happens is that everytime we try to access the ZODB, Zope restarts ...
I can understand that ...
It truncated the Data.fs and creates some files named Data.fs.tr(n) ...
Now I was wondering if moving the Data.fs file to a Zope2.4 installation would help or if our problem is bigger than that ...
-- Gitte Wange Jensen
Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark
Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org
Quote of the day: Linux renders ships (_Titanic_, the movie) NT renders ships.. Useless (U.S. Navy 'Smartship')
_______________________________________________ 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 )
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: "Zope mailinglist" <zope@zope.org> Sent: Thursday, October 11, 2001 12:06 Subject: [Zope] Data.fs 2GB problem ...
Hello out there,
Now the day has come. Our installation of Zope 2.3.2 has reached it's 2GB limit (actually the size of the ZODB is 2048 MB) ...
What happens is that everytime we try to access the ZODB, Zope restarts ...
I can understand that ...
It truncated the Data.fs and creates some files named Data.fs.tr(n) ...
Now I was wondering if moving the Data.fs file to a Zope2.4 installation would help or if our problem is bigger than that ...
Your ZODB can be larger than 2GB but it requires that your Python interpreter is compiled with enabled largefile support. There is a section the library reference of Python about how to enable LF support. Hope this helps, Andreas --------------------------------------------------------------------- - Andreas Jung Zope Corporation - - EMail: andreas@zope.com http://www.zope.com - - "Python Powered" http://www.python.org - - "Makers of Zope" http://www.zope.org - - "Endings are just Beginnings" - ---------------------------------------------------------------------
tor, 2001-10-11 kl. 18:14 skrev Andreas Jung:
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: "Zope mailinglist" <zope@zope.org> Sent: Thursday, October 11, 2001 12:06 Subject: [Zope] Data.fs 2GB problem ...
Hello out there,
Now the day has come. Our installation of Zope 2.3.2 has reached it's 2GB limit (actually the size of the ZODB is 2048 MB) ...
What happens is that everytime we try to access the ZODB, Zope restarts ...
I can understand that ...
It truncated the Data.fs and creates some files named Data.fs.tr(n) ...
Now I was wondering if moving the Data.fs file to a Zope2.4 installation would help or if our problem is bigger than that ...
Your ZODB can be larger than 2GB but it requires that your Python interpreter is compiled with enabled largefile support. There is a section the library reference of Python about how to enable LF support.
Hope this helps, Andreas
This is in a running enviroment :-((( I have updated our python to 2.2.1 but installed from an rpm package ... Would that one be compiled with LFS ? Gitte -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org Quote of the day: [unrestricted Python scripts] cannot be created or edited unless a special environment variable is set. In order to create or edit XXX Python Scripts, you have to set "ALL_YOUR_BASE_ARE_BELONG_TO" equal to "US". - Evan, http://www.zope.org/Members/4am/XXXPythonScripts
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org>
This is in a running enviroment :-(((
Well :-)
I have updated our python to 2.2.1 but installed from an rpm package ...
Would that one be compiled with LFS ?
If the RPM makes enabled LF then yes. Otherwise re-install Python from the sources. Andreas
tor, 2001-10-11 kl. 18:19 skrev Andreas Jung:
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org>
This is in a running enviroment :-(((
Well :-)
I have updated our python to 2.2.1 but installed from an rpm package ...
Would that one be compiled with LFS ?
If the RPM makes enabled LF then yes. Otherwise re-install Python from the sources.
Hmmm .. sounds ressionable enough :-) How would I find out whether python is compiled with LFS ? Gitte -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org Quote of the day: Chris McDonough: "We should kill two birds with one stone with this..." Ethan Fremen: "Oh, believe me, we've got LOTS of birds lined up to die..." - Ethan Fremen, f2f conversation with chrism
there is test_largefile.py script in the tests directory. I think this checks your interpreter. Andreas ----- Original Message ----- From: "Andreas Jung" <andreas@zope.com> To: "Gitte Wange" <gitte@mmmanager.org> Cc: "Zope mailinglist" <zope@zope.org> Sent: Thursday, October 11, 2001 12:19 Subject: Re: [Zope] Data.fs 2GB problem ...
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org>
This is in a running enviroment :-(((
Well :-)
I have updated our python to 2.2.1 but installed from an rpm package ...
Would that one be compiled with LFS ?
If the RPM makes enabled LF then yes. Otherwise re-install Python from the sources.
Andreas
_______________________________________________ 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 (3)
-
Andreas Jung -
Gitte Wange -
marc lindahl