Users are experiencing repeated authentication prompts when accessing the internet through IWSVA as a proxy. When they enter their credentials in the prompt, they are still unable to browse afterwards. At the same time, the number of concurrent connection in IWSVA is high.
When the issue occurs, the log of the authentication daemon, /var/iwss/log/AuthDaemon.log.YYYYMMDD, will record the following type of error:
17:13:47.867 <ERR><3:5141:5155> fail to accept tcp connetion (Too many open files) @<tcp_listen_socket_handler> @@<EventHandler.cpp:1366>
The issue occurs because the authentication daemon cannot accept any new connections with the LDAP server, as the file descriptor limit (the maximum amount of open files or sockets allowed for a process) has been reached.
To resolve the issue, increase the file descriptor limit from the default of 4096 to 40960:
- Log on to IWSVA with SSH as "root".
Stop all IWSVA services with the following command:This operation will cause network interruption, make sure to schedule appropriately.
Increase the file descriptor limit to 40960 by editing the configuration file /etc/security/limits.conf. For instructions on modifying configuration files, refer to this KB article: Editing configuration files of Linux-based products.
- Change the line "* soft nofile 4096" to "* soft nofile 40960".
- Change the line "* hard nofile 16384" to "* hard nofile 40960".
- Save and quit.
Log out from the SSH session and log on to IWSVA again with SSH as "root".This step is neccesary so the changes are applied.
Start all IWSVA services with the following command: