Too Many Sockets or Files Open

Only on Linux systems: if too many sockets or files are open by the process this can cause problems.

How to detect

Check the file descriptor limit:

Copy

Check the used file descriptor count on a running process:

Copy

If the count is close to the limit this will cause problems.

Rule of thumb: 1 scan workflow requires 2-3 file descriptors.

Solution

Increasing the number of file descriptors

The command ulimit -n displays the current set number of maximum file descriptors. In order to increase this number follow the next steps:

Append this line to /etc/sysctl.conf

Copy

Add the following lines to /etc/security/limits.conf

Copy

Restart the system to apply the new configuration. After restart you can check the changed limit by issuing ulimit -n

Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard