On 06/23/11 13:56, Vladimir Kotal wrote: > > Hi all, > > Does anyone have a dtrace script for observing connection/socket leaks ? > I.e. when application does not do shutdown()/close() on a socket which > it previously accept()'ed ? Ideally with IP address/port pairs printed > in the output.
Not sure what you would be looking for. You could trace connections as they transition to CLOSE_WAIT, but that isn't what you want, is it? The problem is not when they transition into CLOSE_WAIT, but when they fail to transition out of CLOSE_WAIT. How could you trace that? -- blu Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding -----------------------------------------------------------------------| Brian Utterback - Solaris RPE, Oracle Corporation. Ph:603-262-3916, Em:brian.utterb...@oracle.com _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org