TCP connections never closed on LDAP
If you use LDAP for sessions storage with module "Apache::Session::LDAP", TCP connections are never closed.
You can reproduce the bug in three steps:
- make a connection on portal
- change lemonldap cookie value (now your session will never found on ldap)
- try refresh indefinitely portal page.
For control TCP connections open with portal. Go to LDAP machine and count: (here for ldaps) netstat -ant|grep ":636" |grep -c ESTABLISHED
When limit reach (default 1024) the portal cannot responds and after a timeout switch on demonstration mode.