----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It does have a search feature!

We cannot guess what you are trying to do:
#1. Include version numbers for all software.
#2. Include relevant configuration settings.
#3. Include full descriptions of the problem.

Got Linux? Seeing lots of java processes?
<http://java.apache.org/faq/?file=274>
----------------------------------------------------

On Fri, 8 Oct 1999, Kevin Macclay wrote:

> Also, I have a question about failed requests.  In the output there are what
> looks like three types of failures: "connect", "length", and "exceptions".
> We couldn't find any documentation on what all of these meant.  We have
> gotten "length" errors, do you know in detail what type of error that is?
> Although we've gotten those failures at times, the servlets still must be
> executing because we do get the correct number of servlet executions and
> database inserts and nothing in the error logs.

First, you have to accept the principle that ab is dumb and simple.

A connect error is if it doesn't connect to the server successfully.

A length error is if the document doesn't have the same length as the
first document retrieved from that URL.  ab assumes that it is getting the
same thing over and over.  Obviously, "the same thing" can differ in
length if it is anything more than static content.  On top of this,
situations where the server just closes the connection would be included
in length errors.  The length error is there to attempt to detect
situations where the server is truncating the response.

An exception is if select() returns the socket in its exceptfds which
should never (unless you have out of bad data, and you don't) happen and
is meaningless; you should never get any.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to