Sometimes bottle takes a lot of time

Chris Angelico rosuav at gmail.com
Sat Aug 22 21:05:02 EDT 2015


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



More information about the Python-list mailing list