[Zope-dev] How to automatically poke Zope2 on slow requests

Tres Seaver tseaver at palladion.com
Fri Dec 18 17:30:10 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Helge Tesdal wrote:
> I'm trying to debug slow requests/writes, and I'm wondering if there  
> are any suitable tools for this. It's not on every request or write,  
> we're not able to detect manually and start checking from the shell,  
> and we would prefer to not affect performance too much for all the  
> regular requests.
> 
> What I've been thinking of is a proxy that can start poking with  
> signalstack and perhaps check system IO once a request has taken more  
> than a set number of seconds (or trigger by some other rule), or a  
> component that starts a monitor thread for each request that can do  
> something similar. I'm open to completely different approaches.

You probably want to enable the trace log, along with maybe another
something which logs additional data so that you can correlate with the
traced requests.


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.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkssAnIACgkQ+gerLs4ltQ5o+ACgtmu/9v1MwhMw2cUzuKrrVpah
dgIAoIKJfVotqfRbeQLkDqaWOM/EXjAc
=/LF8
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list