errors that cause proxy to move worker to error state

2010-08-31 Thread Jeff Trawick
It looks like this is just 500 and 503. Why not 400, for example? if (access_status == OK) break; else if (access_status == HTTP_INTERNAL_SERVER_ERROR) { /* Unrecoverable server error. * We can not failover to another worker. *

Re: errors that cause proxy to move worker to error state

2010-08-31 Thread Andrew Oliver
A 400 doesn't indicate a problem with the worker or the system behind the proxy, it indicates a problem with the client. Also marking a worker bad for say a 401 unauthorized would make all authentication impossible, a 403 or 404 would drain the pool every time someone asked for something they

Re: svn commit: r991180 - in /httpd/site/trunk: docs/download.html docs/index.html xdocs/download.xml xdocs/index.xml

2010-08-31 Thread Rainer Jung
Date typos noted inline. On 31.08.2010 15:03, j...@apache.org wrote: Author: jim Date: Tue Aug 31 13:03:58 2010 New Revision: 991180 URL: http://svn.apache.org/viewvc?rev=991180view=rev Log: Updates for 2.3.8-alpha Modified: httpd/site/trunk/docs/download.html

RE: errors that cause proxy to move worker to error state

2010-08-31 Thread Plüm, Rüdiger, VF-Group
A 400 does not mean that the backend is not available. It just means that a bad request was sent. In addition to what is directly delivered from the backend the proxy code itself uses 500 and 503 to signal the balancer code that the error it faced (in case there was no response code from the

Re: errors that cause proxy to move worker to error state

2010-08-31 Thread Jeff Trawick
On Tue, Aug 31, 2010 at 9:33 AM, Andrew Oliver acoli...@gmail.com wrote: A 400 doesn't indicate a problem with the worker or the system behind the proxy, it indicates a problem with the client. It could indicate that proxy is confused about what it sent though (in the presence of some

Re: errors that cause proxy to move worker to error state

2010-08-31 Thread Jeff Trawick
On Tue, Aug 31, 2010 at 9:40 AM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com wrote: A 400 does not mean that the backend is not available. agreed It just means that a bad request was sent. I don't like that part ;) Maybe mod_proxy mangled what got sent (sent too much body on

Re: svn commit: r991180 - in /httpd/site/trunk: docs/download.html docs/index.html xdocs/download.xml xdocs/index.xml

2010-08-31 Thread Rainer Jung
I fixed it. Sorry for the noise. On 31.08.2010 15:38, Rainer Jung wrote: Date typos noted inline. On 31.08.2010 15:03, j...@apache.org wrote: Author: jim Date: Tue Aug 31 13:03:58 2010 New Revision: 991180 URL: http://svn.apache.org/viewvc?rev=991180view=rev Log: Updates for 2.3.8-alpha

Re: errors that cause proxy to move worker to error state

2010-08-31 Thread Rainer Jung
On 31.08.2010 15:44, Jeff Trawick wrote: On Tue, Aug 31, 2010 at 9:40 AM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com mailto:ruediger.pl...@vodafone.com wrote: A 400 does not mean that the backend is not available. agreed It just means that a bad request was sent. I

[ANNOUNCEMENT] Apache HTTP Server 2.3.8-alpha Released

2010-08-31 Thread Jim Jagielski
Apache HTTP Server 2.3.8-alpha Released The Apache Software Foundation and the Apache HTTP Server Project are pleased to announce the release of version 2.3.8-alpha of the Apache HTTP Server (Apache). This version of Apache is principally an alpha release to test new

Re: errors that cause proxy to move worker to error state

2010-08-31 Thread Jeff Trawick
On Tue, Aug 31, 2010 at 9:58 AM, Rainer Jung rainer.j...@kippdata.dewrote: On 31.08.2010 15:44, Jeff Trawick wrote: On Tue, Aug 31, 2010 at 9:40 AM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com mailto:ruediger.pl...@vodafone.com wrote: A 400 does not mean that the backend is not

RE: errors that cause proxy to move worker to error state

2010-08-31 Thread Plüm, Rüdiger, VF-Group
From: Jeff Trawick [mailto:traw...@gmail.com] Sent: Dienstag, 31. August 2010 16:25 To: dev@httpd.apache.org Subject: Re: errors that cause proxy to move worker to error state On Tue, Aug 31, 2010 at

Re: errors that cause proxy to move worker to error state

2010-08-31 Thread Jim Jagielski
On Aug 31, 2010, at 10:24 AM, Jeff Trawick wrote: On Tue, Aug 31, 2010 at 9:58 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 31.08.2010 15:44, Jeff Trawick wrote: On Tue, Aug 31, 2010 at 9:40 AM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com mailto:ruediger.pl...@vodafone.com

Apache Input Filter

2010-08-31 Thread Varanasi, Sasikala
Hi, I have a need to capture the incoming request body each time a request comes into Apache Proxy server. I have mod_proxy and mod_filters setup and I have an input filter that I wrote that captures the payload from the request and logs it out. The input filter is able to do this, however, the

Apache-Benchmark: Non cumulative values

2010-08-31 Thread Samuel ROZE
Hello, I'm using Apache-Benchmark to stats my applications performances. I want to create a graph, using GNUPlot and Apache Benchmark. The -g option create a file that I can load in GNUPlot. It works very well but requests times are cumulative values: 3150 3168 3172 3194 3203 3215 3220 3225 3227

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread ricardo figueiredo
Hi, Would you like to use any SpreadSheet program for this ?? -- Muito Obrigado Ricardo On Tue, Aug 31, 2010 at 12:01 PM, Samuel ROZE samuel.r...@gmail.com wrote: Hello, I'm using Apache-Benchmark to stats my applications performances. I want to create a graph, using GNUPlot and Apache

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Samuel ROZE
No, I would like to just use bash commands. It'll made automatically on each important code modification. 2010/8/31 ricardo figueiredo ricardoogra...@gmail.com: Hi, Would you like to use any SpreadSheet program for this ?? -- Muito Obrigado Ricardo On Tue, Aug 31, 2010 at 12:01 PM,

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Rainer Jung
On 31.08.2010 17:01, Samuel ROZE wrote: Hello, I'm using Apache-Benchmark to stats my applications performances. I want to create a graph, using GNUPlot and Apache Benchmark. The -g option create a file that I can load in GNUPlot. It works very well but requests times are cumulative values:

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Dirk-Willem van Gulik
On 31 Aug 2010, at 16:01, Samuel ROZE wrote: I'm using Apache-Benchmark to stats my applications performances. I want to create a graph, using GNUPlot and Apache Benchmark. The -g option create a file that I can load in GNUPlot. It works very well but requests times are cumulative values:

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Stefan Ruppert
Hi Samuel, maybe you are interested in the mod_arm4 module (http://svn.apache.org/repos/asf/httpd/sandbox/mod_arm4/) which measures any HTTP request by using the Application Response Measurement (ARM) standard. All you need is an implementation of an ARM agent and you'll get the response time

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Samuel ROZE
Is it the ctime field ? I think that the dtime field is the downloaded time but I'm not sure... What's the ctime field? I use the wait field because I think that is the time while Apache-Benchmark is waiting the server response, but I'm not sure too... An other question is: is it really

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Samuel ROZE
That works very well! Thanks a lot! 2010/8/31 Rainer Jung rainer.j...@kippdata.de: On 31.08.2010 17:01, Samuel ROZE wrote: Hello, I'm using Apache-Benchmark to stats my applications performances. I want to create a graph, using GNUPlot and Apache Benchmark. The -g option create a file that

Re: Apache-Benchmark: Non cumulative values

2010-08-31 Thread Samuel ROZE
I just have a last question: what's the difference between theses results: Time per request: 3426.206 [ms] (mean) Time per request: 342.621 [ms] (mean, across all concurrent requests) Thanks in advance! Samuel ROZE. 2010/8/31 Samuel ROZE samuel.r...@gmail.com: Hello, I'm using

rational behind not checking the return value of apr_palloc and apr_pcalloc

2010-08-31 Thread dave b
What is the rational behind not checking the return value of apr_palloc and apr_pcalloc? code memory/unix/apr_pools.c from apr-1.4.2 APR_DECLARE(void *) apr_pcalloc(apr_pool_t *pool, apr_size_t size); APR_DECLARE(void *) apr_pcalloc(apr_pool_t *pool, apr_size_t size) { void *mem; if

Re: rational behind not checking the return value of apr_palloc and apr_pcalloc

2010-08-31 Thread Graham Dumpleton
On 1 September 2010 14:07, dave b db.pub.m...@gmail.com wrote: What is the rational behind not checking the return value of apr_palloc and apr_pcalloc? Specifically here talking about why HTTPD code doesn't check. Ie., core server code and modules supplied with HTTPD. I am clarifying this