Oddbean new post about | logout
 Linux - if you've run out of file descriptors but can manage to get to a shell without needing to open more, bash can handle the rest using built in features.

  builtin read -r NFM < /proc/sys/fs/file-max
  NFM=$(($NFM+1000))
  builtin echo $NFM > /proc/sys/fs/file-max

#linux #bash #opensource