----------------------------------------------------
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>
----------------------------------------------------
Part of the configuration tells apache how many servers
are required. There is the MinSpareServers and MaxSpareServers.
I think the defaults are 5 and 10. So, say you have no requests,
you will have at least 5 servers running (httpd). If you have
5 requests, then you will have 10 servers running. This
guarantees that you have 5 *spare* servers at all times. This
sounds like what you are seeing.
-Tom
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
> number of calls to our servlet two ways: using a static variable in the
> servlet as a counter, and since the servlet inserts a row into the database
> on each call, we've seen it adding 55 rows.
>
> This seems to happen on any call to ab. So,...
>
> ab -n 1000 -c 20 "http://www.oursite.com/servlet/OurServlet"
>
> ...will call the servlet 1020 times! And...
>
> ab -n 148 -c 4 "http://www.oursite.com/servlet/OurServlet"
>
> ...152 times!
>
> Could it be that ab is making an extra request for each simulated user?
> It's important to note that (using the first example again) ab still reports
> 50 requests as happening and when the verbose is set high, we can see that
> it only displays 50 requests, but it's as though it's making 55 requests and
> only reporting 50.
>
> Kevin
--
+-------------------------------------------------------------------+
+ Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] +
+ MRJ Technology Solutions http://www.mrj.com +
+ 10461 White Granite Drive, Suite 102 (W)(703)277-1714 +
+ Oakton, VA 22124 (F)(703)277-1702 +
+-------------------------------------------------------------------+
--
--------------------------------------------------------------
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]