qacafe - ip test solutions
Knowledge Base > Test Execution > I received the following error running the scaling tests - 'linux socket: Too many open files'

I received the following error running the scaling tests - 'linux socket: Too many open files'

CDRouter uses a file handle for each new DHCP client. The default number of files that a root process can open is set to 256 on some Linux kernels. Check the maximum number of files that a root process can open on your system. Verify this using the following command:

   % cat /proc/sys/fs/super-max
   256

You can increase the number of open files using the following command:

   # -- as root
   # echo "8192" > /proc/sys/fs/super-max

You may also want to add a script under /etc/init.d to have this limitation increased each time the system is rebooted.