Guest User

Untitled

a guest
Jul 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. When we run our Java based server on Linux on certain bare-metal servers we're seeing what may be some sort of file handle
  2. leak. To give more detail to this question, what would cause additional handles to be consumed outside of file access and
  3. socket creation? To get a total count we use `lsof -i -n -p JAVA_APP_PID | wc -l` to see the entire listing, we use
  4. `lsof -i -n -p JAVA_APP_PID`. On the listing there are entries like these that we don't recognize:
  5. ```
  6. java 30464 mondain 0u CHR 136,18 0t0 21 /dev/pts/18
  7. java 30464 mondain 1u CHR 136,18 0t0 21 /dev/pts/18
  8. java 30464 mondain 2u CHR 136,18 0t0 21 /dev/pts/18
  9. java 30464 mondain 196u unix 0x0000000000000000 0t0 5488165 type=STREAM
  10. java 30464 mondain 200r FIFO 0,10 0t0 5491231 pipe
  11. java 30464 mondain 239u a_inode 0,11 0 9026 [eventpoll]
  12. java 30464 mondain 240r FIFO 0,10 0t0 5491912 pipe
  13. java 30464 mondain 241w FIFO 0,10 0t0 5491912 pipe
  14. ```
Add Comment
Please, Sign In to add comment