In my example I set the fproxy port to 8889
For diagnostic purposes I deleted the busybox version of lsof and installed lsof from the package manager.
I can then type:
Code: Select all
# /usr/bin/lsof -i :8889
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 1443 spot 20u IPv4 9957491 0t0 TCP localhost:8889 (LISTEN)
java 1443 spot 23u IPv4 9962045 0t0 TCP localhost:8889->localhost:48948 (CLOSE_WAIT)
java 1443 spot 24u IPv4 9963979 0t0 TCP localhost:8889->localhost:48949 (CLOSE_WAIT)
java 1443 spot 25u IPv4 9965114 0t0 TCP localhost:8889->localhost:48952 (CLOSE_WAIT)
java 1443 spot 26u IPv4 9968846 0t0 TCP localhost:8889->localhost:48971 (CLOSE_WAIT)
java 1443 spot 27u IPv4 9974682 0t0 TCP localhost:8889->localhost:48978 (CLOSE_WAIT)
java 1443 spot 28u IPv4 9981105 0t0 TCP localhost:8889->localhost:48994 (CLOSE_WAIT)
java 1443 spot 29u IPv4 9984912 0t0 TCP localhost:8889->localhost:49009 (CLOSE_WAIT)
java 1443 spot 30u IPv4 9986211 0t0 TCP localhost:8889->localhost:49010 (CLOSE_WAIT)
java 1443 spot 31u IPv4 9991422 0t0 TCP localhost:8889->localhost:49053 (ESTABLISHED)
firefox-e 26692 root 72u IPv4 9990734 0t0 TCP localhost:49053->localhos
Code: Select all
# fuser -k 1443/tcp
Cannot stat file /proc/1443/fd/7: Stale file handle
Cannot stat file /proc/1443/fd/18: Stale file handle
Code: Select all
/proc/1443/fd/
Note that rebooting the computer solves the issue but I don't want to do that.