IM Gateway use 100% of CPU

I’m using Openfire 3.5.1 and IM Gateway 1.2.3 plugin on Windows 2000 Server withc Java 1.5. When a client ( Spark or Pandion ) conect, the CPU usage on server go to 100%. Disactivating the plugin CPU works normally. Help?

huh. Anything in the logs? I’d ask you to get a thread dump but I have no idea how to do that under Windows. You could try enabling debug logs and seeing if anything bizarre looks like it’s occuring.

Now I instaled on Debian Etch, JRE 5.

This can help:

2008.05.23 08:37:10 JettyLog: EOF

2008.05.23 08:37:03 session 16 closed

00000030h: 44 61 74 61 3E ; Data>

00000020h: 2F 43 75 72 72 65 6E 74 4D 65 64 69 61 3E 3C 2F ; /CurrentMedia>

2008.05.23 08:37:03 Disconnecting session delton@debian from msn.debian

2008.05.23 08:37:03 MSN: IO error: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2008.05.23 08:37:03 MSN: Exception occurred for deltongiacomozzi@hotmail.com : javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2008.05.23 08:37:03 MSN: Session messageReceived for deltongiacomozzi@hotmail.com : USR 3 TWN S ct=1211542656,rver=5.0.3270.0,wp=FS_40SEC_0_COMPACT,lc=1033,id=507,ru=http:%2F% 2Fmessenger.msn.com,tw=0,kpp=1,kv=4,ver=2.1.6000.1,rn=1lgjBfIL,tpf=b0735e3a873df b5e75054465196398e0

2008.05.23 08:37:03 session 16 received message USR 3 TWN S ct=1211542656,rver=5.0.3270.0,wp=FS_40SEC_0_COMPACT,lc=1033,id=507,ru=http:%2F% 2Fmessenger.msn.com,tw=0,kpp=1,kv=4,ver=2.1.6000.1,rn=1lgjBfIL,tpf=b0735e3a873df b5e75054465196398e0

2008.05.23 08:37:03 MSN: Session messageReceived for deltongiacomozzi@hotmail.com : CVR 2 8.5.1302 8.5.1302 8.1.0178 http://msgr.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-4B08-AF00-4904F 7677B89/EN/Install_WLMessenger.exe http://get.live.com

2008.05.23 08:37:03 session 16 received message CVR 2 8.5.1302 8.5.1302 8.1.0178 http://msgr.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-4B08-AF00-4904F 7677B89/EN/Install_WLMessenger.exe http://get.live.com

2008.05.23 08:37:03 MSN: Session messageReceived for deltongiacomozzi@hotmail.com : VER 1 MSNP11 CVR0

2008.05.23 08:37:03 session 16 received message VER 1 MSNP11 CVR0

2008.05.23 08:37:03 MSN: Session messageSent for deltongiacomozzi@hotmail.com : USR 3 TWN I deltongiacomozzi@hotmail.com

2008.05.23 08:37:03 session 16 sent message USR 3 TWN I deltongiacomozzi@hotmail.com

2008.05.23 08:37:03 MSN: Session messageSent for deltongiacomozzi@hotmail.com : CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS deltongiacomozzi@hotmail.com

2008.05.23 08:37:03 session 16 sent message CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS deltongiacomozzi@hotmail.com

2008.05.23 08:37:03 MSN: Session messageSent for deltongiacomozzi@hotmail.com : VER 1 MSNP11 CVR0

2008.05.23 08:37:03 session 16 sent message VER 1 MSNP11 CVR0

2008.05.23 08:37:03 MSN: Session established for deltongiacomozzi@hotmail.com

2008.05.23 08:37:03 session 16 established

2008.05.23 08:37:02 MSN: Session messageReceived for deltongiacomozzi@hotmail.com : XFR 3 NS 207.46.111.112:1863 0 65.54.239.140:1863

2008.05.23 08:37:02 MSN: Session closed for deltongiacomozzi@hotmail.com

2008.05.23 08:37:02 session 15 closed

2008.05.23 08:37:03 MSN: IO error: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 2008.05.23 08:37:03 MSN: Exception occurred for deltongiacomozzi@hotmail.com : javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

^— what in the…?

I think that’s the root of your problem (though I don’t know why it would cause 100% CPU). Either way, that looks an aweful lot like something that would occur if something else is “screwing” with port 443 traffic to the outside world. Like a proxy requirement or … hell it almost looks like 443 is being redirected to port 80? I would hope that’s not the case!

I have a proxy ( Squid ) and the firewall redirects port 443 to Squid. I’m now testing…

Ok, now worked!

But is the server whom it needs set free door 443 or the clients?

Yup! Only the server will need it. =) Glad to hear it worked!

Ok!

Very, very thanks!