* odd socket behavior
@ 2005-08-30 6:53 Phy Prabab
2005-08-30 7:01 ` Chase Venters
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Phy Prabab @ 2005-08-30 6:53 UTC (permalink / raw)
To: linux-kernel
Hello all,
I am seeing something odd w/sockets. I have an app
that opens and closes network sockets. When the app
terminates it releases all fd (sockets) and exists,
yet running netstat after the app terminates still
shows the sockets as open! Am I doing something wrong
or is this something that is normal?
TIA!
Phy
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: odd socket behavior
2005-08-30 6:53 odd socket behavior Phy Prabab
@ 2005-08-30 7:01 ` Chase Venters
2005-08-31 12:45 ` Bill Davidsen
2005-09-02 17:52 ` Alex Riesen
2 siblings, 0 replies; 4+ messages in thread
From: Chase Venters @ 2005-08-30 7:01 UTC (permalink / raw)
To: Phy Prabab; +Cc: linux-kernel
The socket is probably just lingering. Check the socket manual page in section
7 (man 7 socket) for more information.
On Tuesday 30 August 2005 01:53 am, you wrote:
> Hello all,
>
> I am seeing something odd w/sockets. I have an app
> that opens and closes network sockets. When the app
> terminates it releases all fd (sockets) and exists,
> yet running netstat after the app terminates still
> shows the sockets as open! Am I doing something wrong
> or is this something that is normal?
>
> TIA!
> Phy
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: odd socket behavior
2005-08-30 6:53 odd socket behavior Phy Prabab
2005-08-30 7:01 ` Chase Venters
@ 2005-08-31 12:45 ` Bill Davidsen
2005-09-02 17:52 ` Alex Riesen
2 siblings, 0 replies; 4+ messages in thread
From: Bill Davidsen @ 2005-08-31 12:45 UTC (permalink / raw)
To: Phy Prabab, Linux Kernel Mailing List
Phy Prabab wrote:
> Hello all,
>
> I am seeing something odd w/sockets. I have an app
> that opens and closes network sockets. When the app
> terminates it releases all fd (sockets) and exists,
> yet running netstat after the app terminates still
> shows the sockets as open! Am I doing something wrong
> or is this something that is normal?
What do you see with lsof? Is there a process associated?
I'm seeing something related with 2.6.13...
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: odd socket behavior
2005-08-30 6:53 odd socket behavior Phy Prabab
2005-08-30 7:01 ` Chase Venters
2005-08-31 12:45 ` Bill Davidsen
@ 2005-09-02 17:52 ` Alex Riesen
2 siblings, 0 replies; 4+ messages in thread
From: Alex Riesen @ 2005-09-02 17:52 UTC (permalink / raw)
To: Phy Prabab; +Cc: linux-kernel
On 8/30/05, Phy Prabab <phyprabab@yahoo.com> wrote:
> Hello all,
>
> I am seeing something odd w/sockets. I have an app
> that opens and closes network sockets. When the app
> terminates it releases all fd (sockets) and exists,
> yet running netstat after the app terminates still
> shows the sockets as open! Am I doing something wrong
> or is this something that is normal?
Do you shutdown(2) them? Are these listening sockets?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-02 17:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 6:53 odd socket behavior Phy Prabab
2005-08-30 7:01 ` Chase Venters
2005-08-31 12:45 ` Bill Davidsen
2005-09-02 17:52 ` Alex Riesen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox