tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: NIO Connector: "Possible key leak"
Date Tue, 26 May 2009 16:33:01 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

(I have no idea why my messages are getting messed-up... apologies for
the empty messages... I swear I'm sending whole messages!)

During performance testing, I got the following warnings in
catalina.out. I'm using the NIO connector (along with the NIO connector
with sendFile disabled) from Apache 6.0.20 along with tcnative 1.1.16 on
a 32-bit JVM on Linux:

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

These are the warnings I received:

May 23, 2009 5:03:20 AM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:23:40 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:23:50 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:23:58 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:24:03 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:24:38 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:32:55 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.
May 23, 2009 12:32:55 PM
org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize
WARNING: Possible key leak, cancelling key in the finalizer.

Should I be concerned about this? Unfortunately, I stopped Tomcat before
I saw this error, so I can't inspect the heap or anything like that.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkocGb0ACgkQ9CaO5/Lv0PDX4ACfWlNwxxLMcnntRNN31lnOyfxZ
u8MAnA2AMphKa/fWg93etCIjdUr5i7Hw
=XvNQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message