[Zope] Strange errors preventing our Zope instance from starting

Paul Winkler pw_lists at slinkp.com
Tue Jan 6 15:42:56 EST 2004


On Tue, Jan 06, 2004 at 08:38:59PM +0100, Dieter Maurer wrote:
> >2004-01-06T06:05:06 PROBLEM(100) ZODB FS FS21  warn: 
> >/var/Zope/instances/cc251/var/Data.fs truncated, possib
> >ly due to damaged records at 2137747449
> 
> This is dangerously near the 2 GB limit.
> 
> Are you sure you are using a Python with large file support?

Good catch, I didn't spot the number.
2137747449 is only about 9 MB below the 2 GB mark.

Bruno, you should definitely look into that.
To test for largefile support, use the test provided with
python. Your path may vary, but I do this:

$ python2.1 /usr/local/lib/python2.1/test/test_largefile.py

The output should look something like the following, with no
reported errors:

create large file via seek (may be sparse file) ...
2500000001L =?= 2500000001L ... yes
check file size with os.fstat
check file size with os.stat
2500000001L =?= 2500000001L ... yes
play around with seek() and read() with the built largefile
0L =?= 0 ... yes
'\x00' =?= '\x00' ... yes
1L =?= 1 ... yes
0L =?= 0 ... yes
0L =?= 0 ... yes
42L =?= 42 ... yes
42L =?= 42 ... yes
84L =?= 84 ... yes
84L =?= 84 ... yes
2500000001L =?= 2500000001L ... yes
2499999991L =?= 2499999991L ... yes
0L =?= 0 ... yes
2500000000L =?= 2500000000L ... yes
'a' =?= 'a' ... yes
play around with os.lseek() with the built largefile
0L =?= 0 ... yes
42L =?= 42 ... yes
84L =?= 84 ... yes
84L =?= 84 ... yes
2500000001L =?= 2500000001L ... yes
2499999991L =?= 2499999991L ... yes
0L =?= 0 ... yes
2500000000L =?= 2500000000L ... yes
'a' =?= 'a' ... yes
@test exists: 0


-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's GAMMA NINJA FINGER!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list