Thread: lsof
View Single Post

   
  #9 (permalink)  
Old 01-17-2008, 06:03 AM
Rick Jones
 
Posts: n/a
Default Re: lsof

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> wrote:
> Ht <hungtru@gmail.com> writes:
> > Any idea how long these idle ports stick around? ...I would have
> > thought they would not be in the idle state but wait_close or
> > something terminal.


If one just calls socket(AF_INET,SOCK_STREAM,...), then a socket could
look like that. If one goes all the way through ESTABLISHED and then
does shutdown() I'm not sure if it ends-up showing unbound as well,
but I would think it would go to IDLE.

> > I'm trying to track down issues where the system runs out of file
> > descriptors.
> >
> > java_q3p 29846 root 88u IPv4 0x626ac640 0t0 TCP *:*
> > (IDLE)


> Java is always a good source for useless syscalls (and a waste of
> performance). See "tusc" for details...


Indeed.

ftp://ftp.cup.hp.com/dist/networking/tools/ among other places.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Reply With Quote