Re: [PATCH] flood: install target

2002-09-12 Thread Aaron Bannert
On Thu, Sep 12, 2002 at 12:48:15AM +0200, Jacek Prucia wrote: Here's a snippet from 1.3 INSTALL file: Note: To reduce the pollution of shared installation locations (like /usr/local/ or /etc) with Apache files to a minimum the string ``/apache'' is

Re: [PATCH] flood: install target

2002-09-12 Thread Justin Erenkrantz
On Wed, Sep 11, 2002 at 07:16:26PM -0700, Aaron Bannert wrote: We shouldn't ever be installing apr or apr-util as part of flood. Ideally we will depend on an already-installed version of flood, be that in some standard location or not. Some work has been done lately to make apr and apr-util

Re: [PATCH] flood: install target

2002-09-12 Thread Aaron Bannert
On Wed, Sep 11, 2002 at 07:30:24PM -0700, Justin Erenkrantz wrote: On Wed, Sep 11, 2002 at 07:16:26PM -0700, Aaron Bannert wrote: We shouldn't ever be installing apr or apr-util as part of flood. Ideally we will depend on an already-installed version of flood, be that in some standard

[STATUS] (perl-framework) Wed Sep 11 23:45:37 EDT 2002

2002-09-12 Thread Rodent of Unusual Size
httpd-test/perl-framework STATUS: -*-text-*- Last modified at [$Date: 2002/03/09 05:22:48 $] Stuff to do: * finish the t/TEST exit code issue (ORed with 0x2C if framework failed) * change existing tests that frob the DocumentRoot (e.g.,

Re: [PATCH] flood: install target

2002-09-12 Thread Jacek Prucia
On Wed, 11 Sep 2002 20:29:09 -0700 Aaron Bannert [EMAIL PROTECTED] wrote: [...] I'm fine with bundling it for now, but as soon as apr and apr-util can be installed on their own we stop bundling it. So for now let us have /usr/local/flood as default prefix, but we will change that to

Re: [PATCH] flood: install target

2002-09-12 Thread Aaron Bannert
On Thu, Sep 12, 2002 at 12:08:00PM +0200, Jacek Prucia wrote: So for now let us have /usr/local/flood as default prefix, but we will change that to /usr/local as soon as we get rid of APR/APR-util. Makes sense? +1 :) To me having bundled apr and apr-util just makes everything way more

Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Brian Pane
I tried to recreate this problem, but no luck so far... is there any particular type of request that I need to use to trigger the memory leak? I just ran a few hundred thousand requests for the same 1KB file through 2.0.41-pre2 with the mod_mem_cache settings below, and I can't see any sign of

Re: E-Kabong resolution: Re: acceptance of El-Kabong into APR

2002-09-12 Thread Harrie Hazewinkel
Hi, Comment inline on 2 emails. --On Wednesday, September 11, 2002 1:55 PM -0700 Jon Travis [EMAIL PROTECTED] wrote: On Wed, Sep 11, 2002 at 07:45:21PM +, Jeff Trawick wrote: While we believe that the El-Kabong codebase is a valuable contribution that we would like to pick up, we also

Re: Cached response: 304 send as 200

2002-09-12 Thread Roy T. Fielding
On Wednesday, September 11, 2002, at 06:04 PM, Graham Leggett wrote: Kris Verbeeck wrote: The response: HTTP/1.0 200 Date: Tue, 10 Sep 2002 09:45:39 GMT Server: web server Connection: close etag: b9829-2269-3cd12aa1 Another bug - why is an HTTP/1.1 response

Re: [PATCH] caching and query strings

2002-09-12 Thread Paul J. Reder
Kris, I am in the process of adding virtual host info into the key generation too. I'll include your work with mine if that's okay. Paul J. Reder Kris Verbeeck wrote: Hi, Some of our QA people discovered a problem when performing request with a query string on a mod_cache enabled Apache

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Bill Stoddard
I tried to recreate this problem, but no luck so far... Same here. I was able to see an EOS bucket leak in 2.0.40 that is fixed in the latest tag. Bill

RE: E-Kabong resolution: Re: acceptance of El-Kabong into APR

2002-09-12 Thread Jenkins, David
--On Wednesday, September 11, 2002 1:55 PM -0700 Jon Travis [EMAIL PROTECTED] wrote: On Wed, Sep 11, 2002 at 07:45:21PM +, Jeff Trawick wrote: While we believe that the El-Kabong codebase is a valuable contribution that we would like to pick up, we also recognize the possibility that

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
Which values are youusing for MaxRequestsPerChild. If mine is different than 0, then nice, I don't see a leak because each of my Threads are kill once in a while. But if it is = 0, then it leaks when refreshing entries in the cache, could it be the fact in NetWare we have one process and

Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
I am using WebBench to run my test. Request are not using keep alive. There are a wide range of files (.ex, .html and .gif and 404s) It leaks, whatever if I am requesting only few files or the whole 6000+ set of files. The leak depend on the number of clients I am using, with 40 clients and a

RE: [PATCH] caching and query strings

2002-09-12 Thread Bill Stoddard
Kris, Thank you for your contribution. I committed the patch to mod_cache.c. Paul Reder is doing some work in the code to generate the search key and will incorporate your patch when he is complete. Bill Hi, Some of our QA people discovered a problem when performing request with a query

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Bill Stoddard
Do you see the leak when repeatedly requesting one file with one client? Bill I am using WebBench to run my test. Request are not using keep alive. There are a wide range of files (.ex, .html and .gif and 404s) It leaks, whatever if I am requesting only few files or the whole 6000+ set of

Re: [PATCH] caching and query strings

2002-09-12 Thread Pier Fumagalli
Kris Verbeeck [EMAIL PROTECTED] wrote: apr_status_t cache_generate_key_default( request_rec *r, apr_pool_t*p, char**key ) { - *key = apr_pstrdup(p,r-uri); + *key = apr_pstrcat(p,r-uri, ?, r-args, NULL); return APR_SUCCESS; } Hm... This should be something like: If (r-args) {

Re: [PATCH] caching and query strings

2002-09-12 Thread Paul J. Reder
Yes, I believe it should check r-args. I don't think you are stupid, severely or otherwise... ;) Pier Fumagalli wrote: Kris Verbeeck [EMAIL PROTECTED] wrote: apr_status_t cache_generate_key_default( request_rec *r, apr_pool_t*p, char**key ) { - *key = apr_pstrdup(p,r-uri); + *key =

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Bill Stoddard
There is a nasty bit of cruft still left in mod_mem_cache regarding use of the apr_atomic functions. There is a magic macro called USE_ATOMICS defined in mod_cache.h that should be turned into an APR feature macro. If the apr_atomic operators are not implemented properly on Netware, then all

ASF policy statements (was: E-K thread)

2002-09-12 Thread Dale Ghent
On Wed, 11 Sep 2002, Greg Stein wrote: | Your points about Jon's contributions are all absolutely true. I agree. But | commit access is not a simple, wow. great code. give him commit privs. | | Suffice it to say that this issue is quite a bit more complex than that, | thus the reason it took a

Re: [PATCH] caching and query strings

2002-09-12 Thread Pier Fumagalli
Paul J. Reder [EMAIL PROTECTED] wrote: Yes, I believe it should check r-args. I don't think you are stupid, severely or otherwise... ;) That's what _you_ think... Others (like me) tend to disagree! :) After thinking about it, it wouldn't really matter, because apr_pstrcat will already stop

Re: [PATCH] caching and query strings

2002-09-12 Thread Ian Holsman
On Thu, 12 Sep 2002 03:47:58 -0700, Paul J. Reder wrote: Yes, I believe it should check r-args. I don't think you are stupid, severely or otherwise... ;) it should not make a difference really if r-args is null than the strcat should terminate there anyway ;-) on another note.. Paul.. I'm

Re: [PATCH] caching and query strings

2002-09-12 Thread Paul J. Reder
But I'm also factoring the hostname into key creation, which also might be NULL. So even if the args issue could be ignored, the hostname can't (or at least the possibility of 1 out of 2 NULL can't be ignored). Pier Fumagalli wrote: Paul J. Reder [EMAIL PROTECTED] wrote: Yes, I believe it

Re: [PATCH] caching and query strings

2002-09-12 Thread Paul J. Reder
Ian Holsman wrote: On Thu, 12 Sep 2002 03:47:58 -0700, Paul J. Reder wrote: Yes, I believe it should check r-args. I don't think you are stupid, severely or otherwise... ;) it should not make a difference really if r-args is null than the strcat should terminate there anyway ;-) on

Re: E-Kabong resolution: Re: acceptance of El-Kabong into APR

2002-09-12 Thread Aaron Bannert
On Thu, Sep 12, 2002 at 08:50:40AM -0500, Jenkins, David wrote: [snip] my 2.5 cents David J Sorry to post out of the blue on this but the last few messages really struck a chord. No reason to apologize, all comments are welcome. -aaron

Re: [PATCH] caching and query strings

2002-09-12 Thread Kris Verbeeck
Ian Holsman wrote: On Thu, 12 Sep 2002 03:47:58 -0700, Paul J. Reder wrote: Yes, I believe it should check r-args. I don't think you are stupid, severely or otherwise... ;) it should not make a difference really if r-args is null than the strcat should terminate there anyway ;-)

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
Yes, and No: Test #1- 1 client, 1 small file (GIF 223 b.), the rate is around 60 req/sec tested for about half an hour and APR memory stay stable. Test #2- 1 client, 1 big file (EX, 541Kb), the rate is around 20 req/sec tested for about 20 min and APR increase by around 8 MB/min. I think I

RE: E-Kabong resolution: Re: acceptance of El-Kabong into APR

2002-09-12 Thread Scott Hess
On Thu, 12 Sep 2002, Harrie Hazewinkel wrote: --On Thursday, September 12, 2002 8:50 AM -0500 Jenkins, David I disagree almost completely. If you are truly dedicated to the ASF community, you will understand the cautiousness necessary in deciding who has commit privs. I was mainly

RE: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
Using the atomic test, we do past all of them. Is it enough or there are other actions that should be taken? I ran another test requesting the same single small file (GIF, 223 bytes) from 5 clients instead of 1. rate is at 275 req/sec. It looks like it is leaking at a 1 MB/5 min rate. JJ

Apache module developer needed.

2002-09-12 Thread Greg Wilkins
Apologies if this is the wrong forum for this I have a client that needs a simple custom apache module developed. Rather than trying to remember C, I thought it best to offer the apache developers a few days paid work. The module needed is simply to take the remote and local IP address and

RE: Apache module developer needed.

2002-09-12 Thread Bill Stoddard
Apologies if this is the wrong forum for this I don't think anyone on this list will object to hearing about real opportunities to do on-topic work for hire. Head hunter fishing expeditions would be another matter entirely. Bill (who has enough work in my day job)

Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Paul J. Reder
What are you using to determine the amount of leaked memory? Jean-Jacques Clar wrote: Using the atomic test, we do past all of them. Is it enough or there are other actions that should be taken? I ran another test requesting the same single small file (GIF, 223 bytes) from 5 clients

Re: memory leak in apr_buck_alloc...

2002-09-12 Thread Jean-Jacques Clar
In NetWare we have an application called Monitor where we could tract the allocated memory for each loaded module: APRLIB is always climbing, APACHE2, MOD_CACHE and MEM_CACHE are stable. I am just using a clock and Monitor. JJ [EMAIL PROTECTED] 09/12/02 12:36PM What are you using to

RE: E-Kabong resolution: Re: acceptance of El-Kabong into APR

2002-09-12 Thread Leonardo Javier Belén
Hi all there, I was reading all the stuff related to the E-K parser and may be I have something to say. I've been using Apache for quite a long time, developing my own modules mostly, and althought I think the quality of the program is superb (I have to choose a http server to work with

[PATCH] 1.3.X Re: Include conf.d/*.conf

2002-09-12 Thread Sander van Zoest
On Wed, Sep 11, 2002 at 06:56:12AM +0100, Joe Orton wrote: On Tue, Sep 10, 2002 at 09:21:17PM -0700, Justin Erenkrantz wrote: On Tue, Sep 10, 2002 at 04:04:31PM -0700, Ian Holsman wrote: does anyone recall if there was a good reason not to include this patch in the main distribution ?

Re: Apache module developer needed.

2002-09-12 Thread Jason Kissinger
Doesn't mod_headers give you what you need, at least for Apache 2? Doesn't look like request headers are handled by Apache 1.3 mod_headers though. http://httpd.apache.org/docs-2.0/mod/mod_headers.html Greg Wilkins wrote: Apologies if this is the wrong forum for this I have a client

Re: Include conf.d/*.conf patch from redhat

2002-09-12 Thread Ian Holsman
On Tue, 10 Sep 2002 22:56:12 -0700, Joe Orton wrote: On Tue, Sep 10, 2002 at 09:21:17PM -0700, Justin Erenkrantz wrote: On Tue, Sep 10, 2002 at 04:04:31PM -0700, Ian Holsman wrote: does anyone recall if there was a good reason not to include this patch in the main distribution ? What

stupid question?

2002-09-12 Thread Günter Knauf
Hi, probably a stupid question, but I'm too lazy to look through the source; and I'm sure many of you here can answere this question at once: are the server-side vars generated by the server or only echoed vars which where provided by the browser?? specially REQUEST_URI is of interest for me

Re: stupid question?

2002-09-12 Thread Thomas Eibner
On Thu, Sep 12, 2002 at 10:31:50PM +0200, Günter Knauf wrote: Hi, probably a stupid question, but I'm too lazy to look through the source; and I'm sure many of you here can answere this question at once: are the server-side vars generated by the server or only echoed vars which where

Re: docs for auth rewrite

2002-09-12 Thread Justin Erenkrantz
On Thu, Sep 12, 2002 at 02:08:47PM -0700, Joshua Slive wrote: If we are staying with the auth rewrite, I think we need to get some docs for it right away. There was already a posting on the users@httpd list from someone who needed to run bleeding-edge cvs (for subversion) but couldn't get

Re: docs for auth rewrite

2002-09-12 Thread Aaron Bannert
On Thu, Sep 12, 2002 at 02:08:47PM -0700, Joshua Slive wrote: If we are staying with the auth rewrite, I think we need to get some docs for it right away. There was already a posting on the users@httpd list from someone who needed to run bleeding-edge cvs (for subversion) but couldn't get

Re: leak in APR

2002-09-12 Thread Jean-Jacques Clar
Why will I wouldn't see my allocated memory decrease if it has been freed? JJ [EMAIL PROTECTED] 09/12/02 04:19PM On Thu, Sep 12, 2002 at 04:16:35PM -0600, Jean-Jacques Clar wrote: Memory in Apache never shrinks. Is this a true statement? When reaching a cruising state (stable load, same

Re: leak in APR

2002-09-12 Thread Aaron Bannert
On Thu, Sep 12, 2002 at 04:26:02PM -0600, Jean-Jacques Clar wrote: Why will I wouldn't see my allocated memory decrease if it has been freed? That's just how unix works. When malloc() needs more memory it calls brk or sbrk to move the heap marker up and to map a new page. There's no way to

Re: leak in APR

2002-09-12 Thread Dirk-Willem van Gulik
On Thu, 12 Sep 2002, Aaron Bannert wrote: On Thu, Sep 12, 2002 at 04:26:02PM -0600, Jean-Jacques Clar wrote: Why will I wouldn't see my allocated memory decrease if it has been freed? That's just how unix works. When malloc() needs more memory it calls brk or sbrk to move the heap

ANNOUNCE: Mod_Python donated to ASF

2002-09-12 Thread Gregory (Grisha) Trubetskoy
It is my pleasure to announce that Mod_Python has been donated to the Apache Software Foundation, and is now a subproject of the httpd server project (see http://httpd.apache.org/). I am grateful to ASF for accepting this donation and committing resources to further the support of Mod_Python. I

RE: [mod_python] ANNOUNCE: Mod_Python donated to ASF

2002-09-12 Thread Michael C. Neel
Let me be the first to say, in the fashion that the Internet has taught us to celebrate a great victory or other action Woot. Mike -- Michael C. Neel There are only 10 types of people in the world; those who understand binary and those who don't. -Original Message- From: Gregory

Re: leak in APR

2002-09-12 Thread Aaron Bannert
On Fri, Sep 13, 2002 at 12:35:19AM +0200, Sascha Schumann wrote: Incorrect, you can pass negative values to sbrk (malloc implementations use this seldomly) or allocators call munmap to give pages back to the operating system. Either way, it is possible that memory usage

Re: ASF policy statements

2002-09-12 Thread Greg Stein
On Thu, Sep 12, 2002 at 10:54:10AM -0400, Dale Ghent wrote: ... It would be nice if the ASF policies regarding code donations (be it a 2-line patch or a whole suite such as E-K) were posted publicly. The policy page can cover the process for accepting, privelages (if any) that may result, as

Re: [PATCH]: mod_logio.c: Feedback sought

2002-09-12 Thread Justin Erenkrantz
On Fri, Sep 13, 2002 at 10:23:02AM +1000, Bojan Smojver wrote: This is what I came up so far, but I've hit a problem along the way. No matter what I do (or should I say, whatever I tried to do so far :-), the number of input bytes is zero (HTTP/1.1) or not even calculated (HTTP/1.0). The

El-Kabong HTML Parser -- has m0v3d

2002-09-12 Thread Jon Travis
Aight, so since this has moved elsewhere, I thought I'd tell the people who may have initially been interested in the code. You can now grab it here: http://ekhtml.sf.net Should be handy for creating Apache filters that want to mangle content before shipping it to the browser. -- Jon

Re: [mod_python] ANNOUNCE: Mod_Python donated to ASF

2002-09-12 Thread Daniel Lorch
hi, There are only 10 types of people in the world; those who understand binary and those who don't. There's also a T-Shirt for this http://www.thinkgeek.com/stuff/apparel/5aa9.shtml -daniel