[ZODB-Dev] pack database increases its size by 5Mb

Fabiano Weimar dos Santos fabiano@x3ng.com.br
31 Jul 2002 13:51:30 -0300


--=-s5LrW2Xftt3qtFNOIBNZ
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

you have a permission problem. Check the permission of the var directory
where Data.fs is stored and the problem will be solved.

On my opnion, you should upgrade your version of python to 2.1.3. The
2.1.1 version there are some problem of stability.

Ass. Xiru

Em Qua, 2002-07-31 =E0s 13:16, Courtland Idstrom escreveu:
> Hi -
>=20
> I'm having trouble packing my zope database from the web interface. I hav=
e
> a script that runs and updates a bunch of files, and thus it creates a lo=
t
> of undo information.  So I want to pack it in order to remove this.
> Unfortunately, my pack db doesn't seem to work, it instead increases the
> size of my database by about 5Mb each time. With about 300 html files in
> Zope, I'm up to >250Mb database size. Here is my version information:
>=20
> Zope Version
> (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.1, linux2)
>=20
> Python Version
> 2.1.1 (#1, Jun 10 2002, 11:11:21) [GCC 3.1]
>=20
> System Platform
> linux2
>=20
> Additionally, when I press the pack button, it gives me the following
> message
>=20
>  Error Type: IOError
> Error Value: [Errno 13] Permission denied:
> '/pixar/d2/sets/www/share/zope/var/Data.fs'
>=20
> Traceback (innermost last):
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, lin=
e
> 150, in publish_module
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, lin=
e
> 114, in publish
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/Zope/__init__.py, line 159=
,
> in zpublisher_exception_hook
>     (Object: DatabaseManagement)
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, lin=
e
> 98, in publish
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py, line
> 88, in mapply
>     (Object: manage_pack)
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, lin=
e
> 39, in call_object
>     (Object: manage_pack)
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/App/ApplicationManager.py,
> line 350, in manage_pack
>     (Object: Control_Panel)
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZODB/DB.py, line 479, in
> pack
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZODB/FileStorage.py, line
> 1396, in pack
>     (Object: /pixar/d2/sets/www/share/zope/var/Data.fs)
> IOError: (see above)
>=20
> The file system console shows the following:
>=20
> 2002-07-31T16:15:01 ERROR(200) ZODB packing
> Traceback (innermost last):
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZODB/DB.py, line 479, in
> pack
>   File /tmp/d2-build/Zope-2.5.1-src/lib/python/ZODB/FileStorage.py, line
> 1396, in pack
>     (Object: /pixar/d2/sets/www/share/zope/var/Data.fs)
> IOError: [Errno 13] Permission denied:
> '/pixar/d2/sets/www/share/zope/var/Data.fs'
>=20
> And says in the console that it is unable to access the Data.fs file. If =
I
> hit reload, though, it will sometimes spend about 20 seconds 'packing' th=
e
> database (keep in mind i have an extremely fast machine). Zope was run
> under the root user, and it appears that all but 1 of its python processe=
s
> are running as 'nobody'.
>=20
>  Any help would be extremely appreciated.
> Thanks
> -Court
>=20
>=20
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>=20
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zodb-dev
>=20
--=20
Fabiano Weimar dos Santos (Xiru) <fabiano@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>

--=-s5LrW2Xftt3qtFNOIBNZ
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Para mais informações veja http://www.gnupg.org

iD8DBQA9SBWSTqbDpNXhEbERArdtAJ4gemar2o7R+OSfGfG9DNTClsNImACgmW2t
VflUTSV3Pbi0lKS/LTA7z4A=
=6d+n
-----END PGP SIGNATURE-----

--=-s5LrW2Xftt3qtFNOIBNZ--