You get a socket error while running the eDirectory LDAP performance tool on a Linux client.
1. Log in to the Linux client machine as a root user.
2. Edit /etc/sysctl.conf with following parameters:
net.ipv4.tcp_tw_recycle = 15
net.ipv4.tcp_tw_reuse = 1
net.ipv4.ip_local_port_range = 1024 65536
net.ipv4.tcp_fin_timeout = 3
3. Log out and log in again to Linux client machine.
The socket error problem should now be solved.
This solution is generic to all Linux client-server applications.