[Zope3-dev] Re: Debugging a production server
Tres Seaver
tseaver at palladion.com
Thu Aug 11 12:43:41 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gary Poster wrote:
>
> On Aug 11, 2005, at 12:03 PM, Garrett Smith wrote:
>
>> Does anyone have some suggestions for debugging a production server?
>> In development mode, I'm quite accustomed to adding set_traces and
>> restarting the server, but this is no good in a production environment.
>
>
> Beyond what you already know (logging; copy the database and work on
> another software instance; temporarily enable the debugging skin; run
> ZEO and connect via zopectl debug to the database) there might be
> another trick available. In Zope 2 there is a handy Medusa-based trick
> similar to the basic capabilities of Twisted's manhole I used quite a
> while ago for this. I can't find any reference to it in
> zope.app.server though: anyone know if this made it to Zope 3? (Jim
> would know but is off-line still for another week and a half.) It is
> supposedly pretty easy to implement, because you are basically
> leveraging Medusa, but that's hearsay.
That would be the "monitor server". I would be very surprised if Jim
had not already enabled it for Z3, given his inclination to use it.
Trse.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC+4A9+gerLs4ltQ4RAkMxAKDOP4fqU/5OynlVK/wnYUs1oWX5AACfZE6T
lzzkLpxun/Se3DE2TlhmQQo=
=csyu
-----END PGP SIGNATURE-----
More information about the Zope3-dev
mailing list