[Zope-dev] Fw: 2gb file size

Shane Hathaway shane@digicool.com
Sat, 04 Nov 2000 14:21:53 -0500


Andy,

Are you running Zope 2.2.1 or later?  There were pointer arithmetic
errors that occurred on earlier versions, even with operating systems
that support >2 GB files.

Shane

Chris McDonough wrote:
> 
> I didn't think this was a problem on Windows?  I wonder if Python needs to
> be compiled in a special way to support large files on Windows.
> 
> Have you tried Tranalyzer to see if will tell you where the transaction
> breaks are in the file?  There's a howto by Itamar on Zope.org about how to
> do this.
> 
> ----- Original Message -----
> From: "Andy McKay" <andym@activestate.com>
> To: "Andy McKay" <andym@activestate.com>; <zope-dev@zope.org>
> Sent: Friday, November 03, 2000 6:39 PM
> Subject: Re: [Zope-dev] Fw: 2gb file size
> 
> > Ive tried truncating the file and then running fsrecover.py, but get:
> >
> >   File "ZODB\FileStorage.py", line 1530, in read_index
> >     if read(4) != packed_version: raise FileStorageFormatError, name
> > FileStorage.FileStorageFormatError: q:\var\Data.fs
> >
> > As a desperation I commented out line 1530 and reran. It runs through the
> > entire file and reduces the data.fs to 1k. Am I totally hooped? I thought
> > ZODB could handle being truncated, ive never had an problems reading from
> a
> > data.fs even when my box has blown up. Anyway looks like Im talking to
> > myself here...
> >
> >
> > --
> >   Andy McKay, Developer.
> >   ActiveState.
> > ----- Original Message -----
> > From: "Andy McKay" <andym@ActiveState.com>
> > To: <zope-dev@zope.org>
> > Sent: Friday, November 03, 2000 1:28 PM
> > Subject: [Zope-dev] Fw: 2gb file size
> >
> >
> > > Hmmm ive looked at fsrecover.py and its not happy either. Anyone else
> > solved
> > > this problem? Im on Win2k BTW.
> > >
> > > --
> > >   Andy McKay, Developer.
> > >   ActiveState.
> > > ----- Original Message -----
> > > From: "Andy McKay" <andym@ActiveState.com>
> > > To: <zope-dev@zope.org>
> > > Sent: Friday, November 03, 2000 1:04 PM
> > > Subject: 2gb file size
> > >
> > >
> > > > My database has suddenly ballooned to 2 gig's stopping my Zope from
> > > running.
> > > > Are there any utils to delete the last transaction or so?
> > > >
> > > > This is kinda urgent... :(
> > > >
> > > > Thanks.
> > > >
> > > > --
> > > >   Andy McKay, Developer.
> > > >   ActiveState.
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Zope-Dev maillist  -  Zope-Dev@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope-dev
> > > **  No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope )
> > >
> >
> >
> > _______________________________________________
> > Zope-Dev maillist  -  Zope-Dev@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
> >
> >
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )