2012年3月28日 星期三

emesene takes 100% cpu loading after upgrade openssl to v1.0.1

EMESENE just takes 100% cpu loading after upgrade openssl from v1.0.0h to v1.0.1. It looks like the other IM software(kmess and pidgin) have the similar problem too.

This problem doesn't fix yet, so I just downgrade the openssl to workaround.

20120328 update.....
There is a workaround solution(here) to fix this problem without downgrade openssl.
Apparently OpenSSL 1.0.1 has changed some portion of negotiation which causes timeouts and other problems on some servers. Could be non standard SSL implementations or something. Based on some things I found, I forced emesene to use SSL3 in OpenSSL by setting its context:
context = OpenSSL.Context(OpenSSL.SSLv3_METHOD)
on line 51 of emesene/e3/papylib/papyon/papyon/gnet/io/ssl_socket.py. Works much better now. CPU usage and application responsiveness are back to normal. My guess is that the MSN servers are some of those that aren't playing nice with the new SSL/TLS negotiation.

Emesene isn't working as expected anymore (upgrade related ?)
Using 100% CPU and Unresponsive on Arch - OpenSSL related