|
List Info
Thread: Problem with web server over cable modem
|
|
| Problem with web server over cable modem |

|
2006-03-21 15:15:45 |
I am testing and comparing a couple different Python web
servers
(CherryPy and Karrigell)
and I am having the same problem with both.
I have everything up and running and both work great on my
LAN.
However,
when I try to access either via my Comcast cable modem, I
get strange,
but
predicitable delays.
It seems as though after exactly 10 files it pauses for no
apparent
reason. Here is a log:
[20/Mar/2006 22:57:41] "GET /pics.html HTTP/1.1"
200 -
[20/Mar/2006 22:57:41] "GET /demolayout.css
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/brightness.jpg
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/blank.gif
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/dotted_white.gif
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/huesaturation.jpg
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/icons/users16.png
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/icons/trend16.png
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET /images/icons/setup16.png
HTTP/1.1" 304 -
[20/Mar/2006 22:57:41] "GET
/images/icons/schedule16.png HTTP/1.1" 304
-
It delays here for 3 seconds (see time stamp)...
[20/Mar/2006 22:57:44] "GET /images/icons/menu16.png
HTTP/1.1" 304 -
[20/Mar/2006 22:57:44] "GET /images/icons/home16.png
HTTP/1.1" 304 -
[20/Mar/2006 22:57:44] "GET /images/amor.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/antivirus.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/applixware.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/ark2.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/ark.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/artsbuilder.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/arts.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:44] "GET /images/artscontrol.png
HTTP/1.1" 200 -
3 second delay...
[20/Mar/2006 22:57:47] "GET /images/atlantik.png
HTTP/1.1" 200 -
[20/Mar/2006 22:57:47] "GET /images/babelfish.png
HTTP/1.1" 200 -
etc...
All of these files are less than 1k each. When I access it
via LAN it
blasts all files out in 1 second or less. Running without
logging to
the
screen does not change anything. Changing the number of
threads
also does not affect it. I have not changed the code. The
example
that comes with the download is what I am testing with.
Apache does not appear to do it, which leads me to believe
it may
be something in the Python library. I'm new to Python (but
not
programming)
so I am just guessing on that.
Anyone else more experienced in Python have any ideas?
I am running SUSE Linux 10.0 (2.6.13-15.8-smp) on an AMD 64
X2 3800, in
32-bit mode.
Thanks for any help you can give.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
| Problem with web server over cable modem |

|
2006-03-21 16:22:45 |
"Wiff" <wiff comcast.net> writes:
> I am testing and comparing a couple different Python
web servers
> (CherryPy and Karrigell)
> and I am having the same problem with both.
>
> I have everything up and running and both work great on
my LAN.
> However,
> when I try to access either via my Comcast cable modem,
I get strange,
> but
> predicitable delays.
>
> It seems as though after exactly 10 files it pauses for
no apparent
> reason. Here is a log:
>
> [20/Mar/2006 22:57:41] "GET /pics.html
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:41] "GET /demolayout.css
HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/brightness.jpg HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET /images/blank.gif
HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/dotted_white.gif HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/huesaturation.jpg HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/icons/users16.png HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/icons/trend16.png HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/icons/setup16.png HTTP/1.1" 304 -
> [20/Mar/2006 22:57:41] "GET
/images/icons/schedule16.png HTTP/1.1" 304
> -
>
> It delays here for 3 seconds (see time stamp)...
>
> [20/Mar/2006 22:57:44] "GET
/images/icons/menu16.png HTTP/1.1" 304 -
> [20/Mar/2006 22:57:44] "GET
/images/icons/home16.png HTTP/1.1" 304 -
> [20/Mar/2006 22:57:44] "GET /images/amor.png
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET /images/antivirus.png
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET
/images/applixware.png HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET /images/ark2.png
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET /images/ark.png
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET
/images/artsbuilder.png HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET /images/arts.png
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:44] "GET
/images/artscontrol.png HTTP/1.1" 200 -
>
> 3 second delay...
>
> [20/Mar/2006 22:57:47] "GET /images/atlantik.png
HTTP/1.1" 200 -
> [20/Mar/2006 22:57:47] "GET /images/babelfish.png
HTTP/1.1" 200 -
> etc...
>
> All of these files are less than 1k each. When I access
it via LAN it
> blasts all files out in 1 second or less. Running
without logging to
> the
> screen does not change anything. Changing the number of
threads
> also does not affect it. I have not changed the code.
The example
> that comes with the download is what I am testing with.
>
> Apache does not appear to do it, which leads me to
believe it may
> be something in the Python library. I'm new to Python
(but not
> programming)
> so I am just guessing on that.
>
> Anyone else more experienced in Python have any ideas?
>
> I am running SUSE Linux 10.0 (2.6.13-15.8-smp) on an
AMD 64 X2 3800, in
> 32-bit mode.
>
> Thanks for any help you can give.
It's probably as simple as your ISP limiting inbounds
connections on
port 80. Cable providers are notorious for that sort of
thing.
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
| Problem with web server over cable modem |

|
2006-03-23 19:36:49 |
On Tuesday 21 March 2006 11:22 am, Jason Earl wrote:
> It's probably as simple as your ISP limiting inbounds
connections on
> port 80. Cable providers are notorious for that sort
of thing.
That thought had occurred to me, but then Apache seems to
work fine on the
same system, or at least it doesn't have as long of a pause
between each set
of 10 files.
I have tried it on many different ports. If Comcast is
blocking it, it must be
on all ports.
> > I am testing and comparing a couple different
Python web servers
> > (CherryPy and Karrigell)
> > and I am having the same problem with both.
> >
> > I have everything up and running and both work
great on my LAN.
> > However,
> > when I try to access either via my Comcast cable
modem, I get strange,
> > but
> > predicitable delays.
> >
> > It seems as though after exactly 10 files it
pauses for no apparent
> > reason. Here is a log:
> >
> > [20/Mar/2006 22:57:41] "GET /pics.html
HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:41] "GET /demolayout.css
HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/brightness.jpg HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/blank.gif HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/dotted_white.gif HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/huesaturation.jpg HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/icons/users16.png HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/icons/trend16.png HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/icons/setup16.png HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:41] "GET
/images/icons/schedule16.png HTTP/1.1" 304
> > -
> >
> > It delays here for 3 seconds (see time stamp)...
> >
> > [20/Mar/2006 22:57:44] "GET
/images/icons/menu16.png HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:44] "GET
/images/icons/home16.png HTTP/1.1" 304 -
> > [20/Mar/2006 22:57:44] "GET /images/amor.png
HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET
/images/antivirus.png HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET
/images/applixware.png HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET /images/ark2.png
HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET /images/ark.png
HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET
/images/artsbuilder.png HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET /images/arts.png
HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:44] "GET
/images/artscontrol.png HTTP/1.1" 200 -
> >
> > 3 second delay...
> >
> > [20/Mar/2006 22:57:47] "GET
/images/atlantik.png HTTP/1.1" 200 -
> > [20/Mar/2006 22:57:47] "GET
/images/babelfish.png HTTP/1.1" 200 -
> > etc...
> >
> > All of these files are less than 1k each. When I
access it via LAN it
> > blasts all files out in 1 second or less. Running
without logging to
> > the
> > screen does not change anything. Changing the
number of threads
> > also does not affect it. I have not changed the
code. The example
> > that comes with the download is what I am testing
with.
> >
> > Apache does not appear to do it, which leads me to
believe it may
> > be something in the Python library. I'm new to
Python (but not
> > programming)
> > so I am just guessing on that.
> >
> > Anyone else more experienced in Python have any
ideas?
> >
> > I am running SUSE Linux 10.0 (2.6.13-15.8-smp) on
an AMD 64 X2 3800, in
> > 32-bit mode.
> >
> > Thanks for any help you can give.
>
> It's probably as simple as your ISP limiting inbounds
connections on
> port 80. Cable providers are notorious for that sort
of thing.
>
> Jason
>
--
Ron Davis
Custom Software Engineering
--
Ron Davis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
| Problem with web server over cable modem |

|
2006-03-23 21:54:44 |
Ron Davis <wiff comcast.net> writes:
> On Tuesday 21 March 2006 11:22 am, Jason Earl wrote:
>
>> It's probably as simple as your ISP limiting
inbounds connections
>> on port 80. Cable providers are notorious for that
sort of thing.
>
> That thought had occurred to me, but then Apache seems
to work fine
> on the same system, or at least it doesn't have as
long of a pause
> between each set of 10 files.
>
> I have tried it on many different ports. If Comcast is
blocking it,
> it must be on all ports.
I still would tend to blame the carrier, but that's
probably just
because I suffered through a pile of poor ISPs before coming
across
xmission.com . It's
possible that they allow a limited number of
inbound connections and Apache is simply better at Keepalive
than
cherrypy.
If there is no funny business when using the loopback
address then at
some point you start to have to start suspecting the ISP.
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
| Problem with web server over cable modem |

|
2006-03-27 14:17:16 |
On Thursday 23 March 2006 4:54 pm, Jason Earl wrote:
> It's possible that they allow a limited number of
> inbound connections and Apache is simply better at
Keepalive than
> cherrypy.
This turned out to be exactly the problem. Apparently,
Comcast is limiting my
inbound connections. Apache keeps the connections alive so
it works fine. The
Python servers don't support keep-alive and are using up
the available
connections too quickly.
I'm now using Apache as a proxy to the Python server and it
works well.
Thanks for the help.
> Ron Davis <wiff comcast.net> writes:
> > On Tuesday 21 March 2006 11:22 am, Jason Earl
wrote:
> >> It's probably as simple as your ISP limiting
inbounds connections
> >> on port 80. Cable providers are notorious for
that sort of thing.
> >
> > That thought had occurred to me, but then Apache
seems to work fine
> > on the same system, or at least it doesn't have
as long of a pause
> > between each set of 10 files.
> >
> > I have tried it on many different ports. If
Comcast is blocking it,
> > it must be on all ports.
>
> I still would tend to blame the carrier, but that's
probably just
> because I suffered through a pile of poor ISPs before
coming across
> xmission.com . It's
possible that they allow a limited number of
> inbound connections and Apache is simply better at
Keepalive than
> cherrypy.
>
> If there is no funny business when using the loopback
address then at
> some point you start to have to start suspecting the
ISP.
>
> Jason
>
--
Ron Davis
Custom Software Engineering
--
Ron Davis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|