[Zope-dev] Fw: 2gb file size

Andy Dawkins andyd@nipltd.com
Tue, 7 Nov 2000 09:40:23 -0000


Shane

This would be very helpfull to share.

One of the reasons I tried the Berkeley Database was because I kept blowing
this 2Gb limit.

Prehaps if this was released I could finally finish the zope mail archives.
:-)

Cheers

-Andy

> -----Original Message-----
> From: shane@shane.digicool.com [mailto:shane@shane.digicool.com]On
> Behalf Of Shane Hathaway
> Sent: 06 November 2000 21:51
> To: Andy McKay; zope-dev@zope.org
> Subject: Re: [Zope-dev] Fw: 2gb file size
>
>
> Andy McKay wrote:
> >
> > I did do a How-to as well http://www.zope.org/Members/andym/2gig
>
> Not long ago I created a wrapper around File objects which automatically
> splits the file before it reached a predefined limit.  It could handle
> any number of partitioned file segements.  I tried it with FileStorage
> and even integrated it in.  That's how we were able to find and fix some
> arithmetic errors that occurred in FileStorage when reaching the 2GB
> barrier.  If there's interest in the community I can release the code
> (in fact, there is no dependency on Zope and it's pretty fast.)
>
> OTOH, I can verify there are production sites that have succesfully
> reached around 10 GB in Data.fs size.
>
> Shane
>
> > --
> >   Andy McKay, Developer.
> >   ActiveState.
> > ----- Original Message -----
> > From: "Andy McKay" <andym@ActiveState.com>
> > To: <zope-dev@zope.org>
> > Sent: Monday, November 06, 2000 9:26 AM
> > Subject: Re: [Zope-dev] Fw: 2gb file size
> >
> > > Thank you everyone for your help. I truncated the file and
> restarted Zope
> > > successfully. I had a brief period of problems when I forgot
> use binary
> > mode
> > > for truncating the file - duh. Anyway, I am running 2.2.1 and
> it doesnt
> > work
> > > with a 2gb file. I didnt analyse where the problem lies, however I do
> > > believe its a python issue.
> > >
> > > Thanks.
> > > --
> > >   Andy McKay, Developer.
> > >   ActiveState.
> > > ----- Original Message -----
> > > From: "Itamar Shtull-Trauring" <itamar@maxnm.com>
> > > To: <zope-dev@zope.org>
> > > Sent: Sunday, November 05, 2000 2:37 AM
> > > Subject: Re: [Zope-dev] Fw: 2gb file size
> > >
> > >
> > > > Shane Hathaway wrote:
> > > >
> > > > > 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.
> > > >
> > > > So on W2K, Zope can have >2GB databases? I'd really like to
> hear if you
> > > get
> > > > it to work Andy (or if anyone else did.)
> > > >
> > > > --
> > > > Itamar S.T.  itamar@maxnm.com
> > > > Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C
> > > >
> > > > _______________________________________________
> > > > 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 )
>
> _______________________________________________
> 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 )
>