[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] gofer hogging CPU





On 03/14/2011 10:46 AM, Jay Dobies wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/14/2011 11:45 AM, Jeff Ortel wrote:
All,

Looks like gofer is pegging the CPU after it's been running for while.
I'm profiling now but in the meantime, restart the goferd service as a
workaround.

-jeff

Not sure if it's related, but I just ran into the WSGI process crashing
after the server was running for about an hour. I typed before I thought
and I restarted httpd before dumping the threads. But my pulp.log was
spammed with the following, so keep an eye out for that as well:

       2011-03-14 10:09:08,062 [INFO][MainThread] connect() @
broker.py:74 - connecting:
       {localhost:5672}:
       transport=TCP
       host=localhost
       port=5672
       cacert=/etc/pki/qpid/ca/ca.crt
       clientcert=/etc/pki/qpid/client/client.pem

I've seen this on one of the QE machines. The Broker.connect() is called on demand so something on the pulp server is constantly creating and destroying a gofer message consumer or producer. Something strange though. This message is only printed when a connection is created the first time. The created connection is cached and reused across all sessions, so we should only see this message once for the life of the processing (interpreter) running the pulp application in wsgi. So, it's unclear whether this is something bad happening in wsgi whereby the pulp application processing is dying and being re-spawned. Or, this is part of the cause. fwiw, the reconnect logic is handled in python-qpid so this isn't an auto-reconnect gone crazy thing.. I don't think. A stack trace would really help.




- --
Jay Dobies
RHCE# 805008743336126
Freenode: jdob
http://pulpproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNfjhZAAoJEOMmcTqOSQHCtLoIAKPdJVJUxaQZ/HKaTp9p43Ww
IgIpikRs58p5g0v8LWUNa+GFk95aJWz2tDEAlflFnTjlcGODvJvr7GhSR/x260PW
ooJ0amWIt8tGtzs5TWPEgjOQn5QxnGwFxK6dpXVZB+g5vJ6UsN87oL07gpTjzKow
bIlSJtve9PAQPHRISyl9wacJFaFhatYzJ4j4tKletCMi4ATaC2DxPUwDHUCLJKnP
4zkV/cYVcxecLr8fGlaoVQDjtQA0hzgzASKkgx0jUHs/HhAS3BRFCpQ2crNF5Z80
7Jto1qvS7SrPfxG72Bw+VW1hx5KKZZng0oA/AjGbyahyIWIqZ3Igvjb6Dv67t7s=
=8T0e
-----END PGP SIGNATURE-----

_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]