Differences between revisions 1 and 2
Revision 1 as of 2019-02-11 02:22:10
Size: 285
Editor: PieterSmit
Comment:
Revision 2 as of 2019-02-11 02:49:02
Size: 381
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:

 * Check what is open with
   1. ps ax | grep "app name"
   2. sudo ls /proc/<pid>/fd/ -l

Linux Ulimit OpenFiles

  • example error

       Feb 11 01:55:05 server service[26075]: INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://10.55.55.5:41111: Too many open files
  • Check ulimit

       $ ulimit -n
    1024
  • Check what is open with
    1. ps ax | grep "app name"
    2. sudo ls /proc/<pid>/fd/ -l

linux/UlimitOpenFiles (last edited 2019-02-11 02:49:02 by PieterSmit)