You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the cryptography+pyOpenSSL version of the message verification leaks memory in conjunction with the consumer model of subscribing to messages. To reproduce:
from fedmsg.consumers import FedmsgConsumer
class Consumer(FedmsgConsumer):
validate_signatures = True
config_key = 'demo_consumer'
def consume(self, message):
print(message)
And then make a setup.py and package for the entry point:
This ended up being two separate memory leaks in pyOpenSSL. I've submitted pyca/pyopenssl#690 and pyca/pyopenssl#691 and once issues are fixed upstream I'll see about getting them into F25+ packages.
It appears that the cryptography+pyOpenSSL version of the message verification leaks memory in conjunction with the consumer model of subscribing to messages. To reproduce:
And then make a setup.py and package for the entry point:
Start fedmsg-hub (configured to start that consumer) and watch the memory slowly grow. You'll also need to install cryptography and pyOpenSSL.
The text was updated successfully, but these errors were encountered: