I have a server relatively with a high number of sockets in CLOSE_WAIT

I want to know the age of each socket, to know if it's a real problem (sockets not getting closed) or that the sockets are getting closed, but new sockets are getting into CLOSE_WAIT

  • ss -o state close_wait might be helpful. – wurtel Nov 26 '14 at 14:24
  • This is similar to the -o in netstat. but it doesn't give time for CLOSE_WAIT sockets – Ophir Yoktan Nov 26 '14 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.