You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Sutton <pa...@c2.net> on 1998/02/15 22:22:46 UTC

CGI hanges (was Re: The Bad News)

On Sat, 7 Feb 1998, Ben Laurie wrote:
> 1. Have a CGI that does a sleep(2).
> 2. Hit the CGI from 10+ DOS windows with a client that just goes round
> and round refetching.

Well, I still can't reproduce this. I've run 90 concurrent clients (from
Linux) against a CGI (on NT with 1.3b6-dev)) that sleeps for two seconds
and it doesn't hang. Well actually it does after a few 1000's of requests,
but that is more likely a resource issue (I also get a few "Connection
refused"  messages when multiple requests as initiated at the same time,
but Apache doesn't have much control over that).

Is there any significance in that fact that your test and the reporter
of the PR both used clients on the same machine as the server?

//pcs



Re: CGI hanges (was Re: The Bad News)

Posted by Michael Douglass <mi...@texas.net>.
> > Is there any significance in that fact that your test and the reporter
> > of the PR both used clients on the same machine as the server?
> 
> I dunno!

That could make sense if you are hitting upon some bug in Microsoft's
loopback code in the TCP/IP stack..  Gasp!  A bug in Microsoft's code?

:)

-- 
Michael Douglass
Texas Networking, Inc.

<anon> Who rebooted it?? (pause) <heh-heh-heh> I hit enter!

Re: CGI hanges (was Re: The Bad News)

Posted by Ben Laurie <be...@algroup.co.uk>.
Paul Sutton wrote:
> 
> On Sat, 7 Feb 1998, Ben Laurie wrote:
> > 1. Have a CGI that does a sleep(2).
> > 2. Hit the CGI from 10+ DOS windows with a client that just goes round
> > and round refetching.
> 
> Well, I still can't reproduce this. I've run 90 concurrent clients (from
> Linux) against a CGI (on NT with 1.3b6-dev)) that sleeps for two seconds
> and it doesn't hang. Well actually it does after a few 1000's of requests,
> but that is more likely a resource issue (I also get a few "Connection
> refused"  messages when multiple requests as initiated at the same time,
> but Apache doesn't have much control over that).

Errr ... why does the hang you do get not count?

> Is there any significance in that fact that your test and the reporter
> of the PR both used clients on the same machine as the server?

I dunno!

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache