Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

LDAP Connection pooling not working

$
0
0

Hi, when running openfire with LDAP for the groups and users I noticed it would take quite a bit of time to load the users and groups. In searching for the bottleneck I found that connection pooling would appear to be broken in 3.8.1

 

 

I have ldap.connectionPoolEnabled = true

 

 

For example here are the connections when navigating to the users tab in the management console right after starting the server (not much cached). I would expect to see a bunch of established connections and maybe a few closed ones, but instead there's a massive amount of closed connections and the connections don't last for the 10 second default when doing pooling in Java.

 

 

Am I missing something or is this indeed a bug?

 

 

[lambda@xmppserver ~]$ date && netstat| grep ldap
Thu May 23 14:52:03 EDT 2013
[lambda@xmppserver ~]$ date && netstat| grep ldap
Thu May 23 14:52:08 EDT 2013
tcp        0      0 xmppserver.domain:32780 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32781 ldap.uc:ms-wbt-server ESTABLISHED 
[lambda@xmppserver ~]$ date && netstat| grep ldap
Thu May 23 14:52:12 EDT 2013
tcp        0      0 xmppserver.domain:32802 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32808 ldap.uc:ms-wbt-server ESTABLISHED 
tcp        0      0 xmppserver.domain:32801 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32783 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32790 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32794 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32806 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32796 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32788 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32780 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32789 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32792 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32791 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32793 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32786 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0    206 xmppserver.domain:32809 ldap.uc:ms-wbt-server ESTABLISHED 
tcp        0      0 xmppserver.domain:32795 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32798 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32799 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32803 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32807 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32784 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32804 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32781 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32785 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32797 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32787 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32782 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32800 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32805 ldap.uc:ms-wbt-server TIME_WAIT   
[lambda@xmppserver ~]$ date && netstat| grep ldap
Thu May 23 14:52:15 EDT 2013
tcp        0      0 xmppserver.domain:32802 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32808 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32832 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32827 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32801 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32824 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32843 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32783 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32790 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32817 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32831 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32794 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32806 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32815 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32796 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32819 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32829 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32837 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32788 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32825 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32836 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32844 ldap.uc:ms-wbt-server ESTABLISHED 
tcp        0      0 xmppserver.domain:32780 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32811 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32789 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32792 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32842 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32816 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32822 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32791 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32830 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32813 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32820 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32835 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32793 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32839 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32786 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32812 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32809 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32795 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32798 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32821 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32818 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32799 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32803 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32823 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32810 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32807 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32784 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32814 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32804 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32840 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32834 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32781 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32785 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32797 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32828 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32787 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32782 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32826 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32841 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32838 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32800 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32833 ldap.uc:ms-wbt-server TIME_WAIT   
tcp        0      0 xmppserver.domain:32805 ldap.uc:ms-wbt-server TIME_WAIT 

Viewing all articles
Browse latest Browse all 10742

Trending Articles