[Zope] Re: Frequent Zope crashes (Zope 2.9.8)
Tres Seaver
tseaver at palladion.com
Mon Feb 11 12:17:31 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Brettschneider wrote:
> Hello,
>
> my Zope 2.9.8 instance crashes up to 6 times per hour.
> This is very unfortunate since the constant restarting
> brings performance to its knees.
>
> It runs under Linux in 64 bit mode on an AMD64 .
> I managed to catch two backtraces with gdb
> (see end of the mail). Both backtraces show a crash
> in cc_oid_unreferenced(ccobject *self, PyObject *oid)
> in persistent/cPickleCache.c:
> Either in line 576: v = PyDict_GetItem(self->data,
> oid);
> or in line 607: Py_DECREF((ccobject
> *)((cPersistentObject *)v)->cache);
>
> v and v->cache seem to point to heap:
> (gdb) print v
> $1 = (PyObject *) 0x5f8920
> (gdb) print ((cPersistentObject *)v)->cache
> $2 = (PerCache *) 0x613620
>
> Always called from Per_dealloc(cPersistentObject
> *self) in persistent/cPersistence.c
> in line 578:
> cPersistenceCAPI->percachedel(self->cache, self->oid);
>
> Is this a known issue?
>
> Thank you for any help,
Can you reproduce using the following from-scratch build?
$ cd /tmp
$ wget http://www.zope.org/Products/Zope/2.9.8/Zope-2.9.8-final.tgz
$ tar xzf Zope-2.9.8-final.tgz
$ cd Zope-2.9.8-final
$ ./configure --with-python=/path/to/64-bin-python \
--prefix=/tmp/z298 && make && make install
$ /tmp/z298/bin/mkzopeinstance.py -d /tmp/instance -u admin:123
$ /tmp/instance/bin/zopectl fg
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHsIMr+gerLs4ltQ4RAlPbAJ95lNWC8M0qBkN9zS3zfdqRTtvSRACfSQj+
KzySBx/+qsJnYTmMX3UPEAM=
=b509
-----END PGP SIGNATURE-----
More information about the Zope
mailing list