Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'linux,': 0.05; 'socket': 0.05; 'closed.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:threads': 0.16; 'wed,': 0.16; 'allows': 0.25; 'least': 0.25; 'header:X-Complaints-To:1': 0.28; 'seconds': 0.30; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'close': 0.63; 'subject:,': 0.81; 'dennis': 0.91; 'received:108': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: sockets,threads and interupts Date: Wed, 05 Sep 2012 13:15:05 -0400 Organization: > Bestiaria Support Staff < References: <4d1ffb61-38b6-42fb-9426-c1c7cb7038a0@googlegroups.com> <4baa457c-3408-46dd-a98b-ae7e097ac5e5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-223-184.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346865314 news.xs4all.nl 6974 [2001:888:2000:d::a6]:59041 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28527 On Wed, 5 Sep 2012 05:54:41 -0700 (PDT), Ramchandra Apte declaimed the following in gmane.comp.python.general: > > At least on Linux, if you kill a process using sockets, it takes about 10 seconds for socket to be closed. A program should try to close all resources. OS'es may take a long time to close a unclosed socket automatically. Are you measuring the time for the socket to close, or the time before the OS allows the socket (IP/Port) to be reused? -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/