[Zope] Zope slooooowww
Ron Arts
raarts@office.netland.nl
Thu, 14 Mar 2002 21:04:13 +0100
This is a cryptographically signed message in MIME format.
--------------ms060508050204050905080601
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Paul Erickson wrote:
> Just for kicks, why don't you see what system calls it is using. If
> it's not doing any, then the odds are that there's some sort of internal
> processing going on inside of zope. I've seen this occasionaly with
> zope 2.3 if a bunch of products have changed, but after it is running
> then performance is fine.
>
> Get the pid from top that is using up the cpu and run
>
> strace -p your_pid
>
> You will probably have to run it as either the user that started zope or
> root.
>
Done that. It's very interesting to do this while zope is starting up.
It seems the last 10 of my seconds zope is in a tight loop calling time()
and doing nothing else.
If I do strace -p on a thread that processes an HTTP request, strace
immediately exits without displaying anything (maybe because strace
does not support threads?)
I'll try upgrading strace in a moment.
Note: this is a RedHat 7.0 system.
Ron Arts
--------------ms060508050204050905080601
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJdjCC
AxkwggKCoAMCAQICAwbOTzANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNV
BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx
HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl
bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAyMDIyMDIxMDE1MFoXDTAzMDIyMDIxMDE1MFowXDEN
MAsGA1UEBBMEQXJ0czERMA8GA1UEKhMIUm9uIFIuQS4xFjAUBgNVBAMTDVJvbiBSLkEuIEFy
dHMxIDAeBgkqhkiG9w0BCQEWEXJhYXJ0c0BuZ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