Path: csiph.com!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.063 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; '(so': 0.07; 'socket': 0.07; 'cc:addr:python-list': 0.09; '"real"': 0.16; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'linux,': 0.18; '(not': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'separate': 0.27; 'message- id:@mail.gmail.com': 0.27; 'away.': 0.29; 'restart': 0.29; "can't": 0.32; 'problem': 0.33; 'open': 0.33; 'server': 0.34; 'received:google.com': 0.35; 'subject:time': 0.35; 'problem.': 0.35; 'but': 0.36; 'there': 0.36; 'depends': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'being': 0.37; 'there,': 0.37; 'client': 0.37; 'rather': 0.39; 'your': 0.60; 'times': 0.63; 'wish': 0.71; 'connection,': 0.72; 'bottle': 0.84; 'cecil': 0.84; 'chrisa': 0.84; 'westerhof': 0.84; 'to:none': 0.91; 'luck': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Yqw0lGfKIBPbcEAvmY/m7k9QZeHexkHN+twjwrLNWGE=; b=qlYol0ICxZHFn+MAmlYhBI4LVpDUTVtTMoCwaGPfC4vybRLShK4Tf7tRBf2t+oweHG 3ZOCkVzWHThpPq4NUiQJpoZ1iyNPb7xc5BUWSJjKUXcS9hlv5y4XccWRQK/1H9S/Zglj GERFdcQW8ESokCKs7sqHdiRyO4NHbQ5Ks8S6vtwneNFG5vsuzK4IKE8+IvxU5ZpZNZ58 8SlbLjij4Y/hediqYeksNn5rydObg0MIp3h/qw3wJFwPa+UKkshDSflawKLdHpkPD71k 6BOwMVueRamwRWLXXUa0IqC+wP2ghAs883AlvnpFCMOHCcufvZpLdJVbiduLKStwZ096 ToXg== MIME-Version: 1.0 X-Received: by 10.107.32.4 with SMTP id g4mr12217664iog.31.1440291902425; Sat, 22 Aug 2015 18:05:02 -0700 (PDT) In-Reply-To: <87a8tin7x0.fsf@Equus.decebal.nl> References: <87si7cnxq6.fsf@Equus.decebal.nl> <87a8tjo8oz.fsf@Equus.decebal.nl> <87pp2fmc9z.fsf@Equus.decebal.nl> <87lhd3m3t0.fsf@Equus.decebal.nl> <87a8tin7x0.fsf@Equus.decebal.nl> Date: Sun, 23 Aug 2015 11:05:02 +1000 Subject: Re: Sometimes bottle takes a lot of time From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1440291912 news.xs4all.nl 23731 [2001:888:2000:d::a6]:51250 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95574 On Sun, Aug 23, 2015 at 10:51 AM, Cecil Westerhof wrote: > How do I see if there is an open socket? Depends on your OS. On Linux, I can poke around in /proc or with commands like netstat and/or lsof. It may be easier to separate client and server across two computers, which would force the socket to be a "real" network connection, rather than being optimized away. > But in principal I have found the problem. (Not the reason.) The > problem is Firefox. (So it is not bottle and also not AngularJS.) When > using Chrome there is no problem. Not even when I do 15 times a > refresh. With Firefox there is this problem. Even when I restart it. Huh, interesting. I can't help there, but I wish you the very best of luck in finding it. ChrisA