[Zope] filesize limit

roel roel at essense.be
Wed May 12 09:58:34 EDT 2004


Hi,

I'm running a remote zope server. In time the Data.fs kept growing and
went above 2GB ... had to upgrade from kernel 2.2 and install python and
zope from source ( still running RH7.3 an zope2.5.1 behind Apache ) ...
so far so good ...

for maintenance I thought I'd gzip the Data.fs.old and download it ...
done that in an 8 hour dwn/l trough ssh ... so far so good 

tucked the Data.fs in zope/var directory on my local machine and fired
up zope

------
2004-05-12T12:53:02 INFO(0) Hotfixes Applying Hotfix_2002-04-15
------
2004-05-12T12:53:02 INFO(0) Hotfixes Applying Hotfix_2002-06-14
------
2004-05-12T12:53:02 INFO(0) NuxUserGroups.BasicUserWithGroups Patching
BasicUser
------
2004-05-12T12:53:02 INFO(0) NuxUserGroups.LocalRolesWithGroups Patching
RoleManager
------
2004-05-12T12:53:02 INFO(0) NuxUserGroups.CatalogToolWithGroups Patching
CatalogTool
------
2004-05-12T12:53:03 ERROR(200) TextIndexNG Import of Python extensions
failed
------
2004-05-12T12:53:03 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File Fortis\z2.py, line 564, in ?
  File <string>, line 1, in ?
  File C:\Fortis\lib\python\Zope\__init__.py, line 37, in ?
  File C:\Fortis\lib\python\ZODB\FileStorage.py, line 254, in __init__
    (Object: G:\Fortis\var\Data.fs)
  File C:\Fortis\lib\python\ZODB\FileStorage.py, line 1975, in
read_index
IOError: [Errno 22] Invalid argument

Did some googling and apparantly NTFS also has some file size limit
(4GB) :-( 

I've a local linux box, but not enough HD space left to do the job. Out
of experience I've noticed you need 2 times the amount of your Data.fs
in free space to pack the database. So if you have a 4.7 GB filesize,
you need about 9 GB of free space to pack. The HD itself is 10 GB, so
I'm out of luck I guess.

So I'm stuck running maintenance remotely.

To not endanger the running zope instance I was wondering if I just
could copy the entire folder, rename it to zopebis, change te start
script to use alternate portnumber(s) and do my thing this way?

I should probably shut down zope while copiing :-}

Anything I overlooked?

TIA, Roel


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM d- s+++:--- a C++++ UL++ P+ L++ E- W+++ N++ o K- w 
O? M+ V? PS+++ PE-- Y+ PGP+ t+ 5 X++ R+ tv b++ DI++ D++ 
G e++ h---- r+++ y++++ 
------END GEEK CODE BLOCK------
 





More information about the Zope mailing list