Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95574

Re: Sometimes bottle takes a lot of time

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 <rosuav@gmail.com>
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> <mailman.11.1440229764.17298.python-list@python.org> <87a8tjo8oz.fsf@Equus.decebal.nl> <mailman.14.1440257612.17298.python-list@python.org> <87pp2fmc9z.fsf@Equus.decebal.nl> <87lhd3m3t0.fsf@Equus.decebal.nl> <mailman.18.1440285202.17298.python-list@python.org> <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 <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.23.1440291911.17298.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sun, Aug 23, 2015 at 10:51 AM, Cecil Westerhof <Cecil@decebal.nl> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-21 23:22 +0200
  Sometimes bottle takes a lot of time gst <g.starck@gmail.com> - 2015-08-21 14:55 -0700
    Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:34 +0200
  Re: Sometimes bottle takes a lot of time Peter Otten <__peter__@web.de> - 2015-08-22 09:49 +0200
    Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:37 +0200
      Re: Sometimes bottle takes a lot of time Michael Torrie <torriem@gmail.com> - 2015-08-22 09:33 -0600
        Re: Sometimes bottle takes a lot of time Rustom Mody <rustompmody@gmail.com> - 2015-08-22 09:13 -0700
        Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 20:03 +0200
          Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 23:06 +0200
            Re: Sometimes bottle takes a lot of time Chris Angelico <rosuav@gmail.com> - 2015-08-23 09:13 +1000
              Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 02:51 +0200
                Re: Sometimes bottle takes a lot of time Chris Angelico <rosuav@gmail.com> - 2015-08-23 11:05 +1000
                Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 14:45 +0200
  Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 11:41 +0200
    Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:28 +0200
      Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 14:09 +0200
        Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 15:09 +0200
          Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 15:51 +0200
            Re: Sometimes bottle takes a lot of time Christian Gollwitzer <auriocus@gmx.de> - 2015-08-22 16:15 +0200
              Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-23 16:05 +0200
                Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 17:20 +0200
                Re: Sometimes bottle takes a lot of time MRAB <python@mrabarnett.plus.com> - 2015-08-23 16:44 +0100
                Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 18:15 +0200
                Re: Sometimes bottle takes a lot of time Michael Torrie <torriem@gmail.com> - 2015-08-23 10:47 -0600
                Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-23 22:55 +0200
                Re: Sometimes bottle takes a lot of time Ben Finney <ben+python@benfinney.id.au> - 2015-08-24 10:01 +1000

csiph-web