head	1.8;
access;
symbols;
locks
	nobody:1.8; strict;
comment	@# @;


1.8
date	99.10.08.18.13.22;	author nobody;	state Exp;
branches;
next	1.7;

1.7
date	99.10.08.18.12.57;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.10.08.18.12.33;	author nobody;	state Exp;
branches;
next	1.5;

1.5
date	99.09.30.08.15.32;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.09.26.06.39.30;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.09.26.06.38.32;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.09.26.06.36.17;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.09.26.06.36.08;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.8
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 119
IDependOn-Set: 2
IDependOn-Set: 306
IDependOn-Set: 312
IDependOn-Set: 315
LastModifiedSecs: 939406401
Parent: 119
SequenceNumber: 5
Title: ab seems to be making extra requests while testing servlets
Part: 0
Author-Set: john_muir@@t-online.de
Author-Set: jon@@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 939406376
Type: monospaced
Lines: 29
----------
From: Marc Slemko <marcs@@znep.com>
To: Java Apache Users <java-apache-users@@list.working-dogs.com>
Subject: Re: ab seems to be making extra requests while testing servlets
Date: Fri, Oct 8, 1999, 9:25 AM

On Fri, 8 Oct 1999, Kevin Macclay wrote:

> We're using ApacheBenchmark 1.3a and encountering a rather strange
> occurance.  We understand that the following call to ab means that ab will
> simulate 5 concurrent users each making 10 requests for a total of 50
> requests.
> 
> ab -n 50 -c 5 "http://www.oursite.com/servlet/OurServlet"
> 
> The strange thing is that our servlet gets called 55 times -- five extra
> times more than it should.  Is this an ab bug?  We're able to measure the

In this case, ab will make a maximum of 5 simultaneous connections,
and will keep making requests until it gets 50 responses.

That could possibly mean that, at the time it gets the last response,
there are c-1 other outstanding requests that it had made that it
will not handle/process the responses from.  

That accounts for 4 of the 5.  The other one is due to the code starting
a new request immediately after it finishes one, without checking to 
make sure that it hasn't already hit the request limit.  This one is not
counted either in the stats.
EndPart: 0
@


1.7
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 939406376
d9 2
a10 2
SequenceNumber: 4
Title: Why is the Form ACTION="/servlets/.." and not ACTION="/servlet/.."
@


1.6
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 939406352
d9 1
a9 1
SequenceNumber: 3
d15 2
a16 1
LastModifiedSecs: 939406352
@


1.5
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 938327970
d9 1
a9 1
SequenceNumber: 2
d13 33
a45 20
LastModifiedSecs: 938327970
Type: 
Lines: 17
Having just successfully installed Apache and Jserv I found that my existing HTML is broken as servlets must be specified in the HTML as:

    <FORM ACTION="/servlets/ShowProps" METHOD="POST" ENCTYPE="x-www-form-coded">

but all the other web servers I have used (Sun's JavaWebServer and
WebSphere) use

    ACTION="/servlet/ShowProps...
not
    ACTION="/servlets/ShowProps...

Why 'servlets' instead of 'servlet'? Can anyone explain this or tell me what
FAQ have I not read yet?

Thanks,
John Muir

@


1.4
log
@null
@
text
@d6 1
d14 1
@


1.3
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938327912
d8 1
a8 1
SequenceNumber: 1
d10 22
@


1.2
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938327767
d8 2
a9 2
SequenceNumber: 0
Title: New Item
@


1.1
log
@null
@
text
@d4 1
@
