Re: table inefficiencies Re: Observations on fragmentation in SMS pools

2001-07-10 Thread Brian Pane
Cliff Woolley wrote (on apr-dev): [Is it just me or is it nearly impossible to have a conversation about Apache or APR that doesn't in some way belong on BOTH lists? sigh] On Mon, 9 Jul 2001, Brian Pane wrote: It's worth noting that half of the apr_table_get calls in Apache are from mod_mime.

BSD Accept filters

2001-07-10 Thread Dirk-Willem van Gulik
I am getting more than a bit anoyed by the BSD accept filters; when you have them in a binary; they are always on. And if the setsockopt() fails things bomb wiht an exit(1). Which is a bit of a pain if you move them between machines and/or have kernels which (sometimes) do not have them plugged

Re: multithreaded pools?

2001-07-10 Thread dean gaudet
On Sun, 8 Jul 2001, Roy T. Fielding wrote: [clean_child_exit] It is only called when the child exits and not per-thread. I think the threads are already dead by that point, or locked-up due to some fatal error that is the reason why clean_child_exit is being called. when you say the

Re: Extraneous socket read?

2001-07-10 Thread dean gaudet
On Sun, 8 Jul 2001, Brian Pane wrote: So I guess the ideal algorithm for retrieving the initial request from a client is: OS with working TCP_DEFER_ACCEPT or equivalent: select first, then read OS without working TCP_DEFER_ACCEPT or equivalent: read first isn't it the other way

Re: BSD Accept filters

2001-07-10 Thread dean gaudet
On Tue, 10 Jul 2001, Dirk-Willem van Gulik wrote: 0 Change the 'exit' when the sockopt fails for SO_ACCEPTFILTER to a warning;. 1 Leave as is; but provide an AcceptFilter on/off directive to switch it off - if SO_ACCPETFILTER is defined. 2.Have AcceptFitler on/off

Re: Extraneous socket read?

2001-07-10 Thread Brian Pane
dean gaudet wrote: On Sun, 8 Jul 2001, Brian Pane wrote: So I guess the ideal algorithm for retrieving the initial request from a client is: OS with working TCP_DEFER_ACCEPT or equivalent: select first, then read OS without working TCP_DEFER_ACCEPT or equivalent: read first isn't it the

Re: Apache 2.0.20

2001-07-10 Thread Daniel Stone
On Sun, Jul 08, 2001 at 07:53:13PM -0700, [EMAIL PROTECTED] wrote: I have just tagged Apache 2.0.20, and I am rolling it now. It will be available at http://dev.apache.org/dist/ within the next 30 minutes. Please feel free test and report back the results. -1 on making this a beta, until

Re: Apache 2.0.20

2001-07-10 Thread Cliff Woolley
On Tue, 10 Jul 2001, Daniel Stone wrote: -1 on making this a beta, until either mod_ssl is a) fixed, b) tagged experimental/broken/whatever, or c) ripped out. I though we decided that we WOULD NOT hold up a beta for mod_ssl. (b) is essentially already done, though perhaps not advertised

Re: POP3 code committed.

2001-07-10 Thread rbb
On Tue, 10 Jul 2001, Hiroyuki Hanai wrote: There is [EMAIL PROTECTED] in the CC list of Ryan's mail. Is this the ML about httpd-pop3? I've just tried sending subscribing email to [EMAIL PROTECTED] but failed. This was my fault, sorry. It should be [EMAIL PROTECTED] Ryan

Re: BSD Accept filters

2001-07-10 Thread rbb
On Tue, 10 Jul 2001, Dirk-Willem van Gulik wrote: I am getting more than a bit anoyed by the BSD accept filters; when you have them in a binary; they are always on. And if the setsockopt() fails things bomb wiht an exit(1). Which is a bit of a pain if you move them between machines and/or

Re: multithreaded pools?

2001-07-10 Thread rbb
On Tue, 10 Jul 2001, dean gaudet wrote: On Sun, 8 Jul 2001, Roy T. Fielding wrote: [clean_child_exit] It is only called when the child exits and not per-thread. I think the threads are already dead by that point, or locked-up due to some fatal error that is the reason why

RE: Apache 2.0.20

2001-07-10 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
I suggest the mod_ssl patch not go into the source tree for the following reasons : (1) the patch is still not complete and doesn't enable anything - as most of the hooks are in the #if 0 ... #endif block (2) is not fully tested (at all) (3) it's pretty risky to apply such a patch on to the cvs

RE: Apache 2.0.20

2001-07-10 Thread Gonyou, Austin
Not to start a flame war, but isn't MOD_TLS, while not perfect, is there and useable from what I understand. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -Original Message- From: Cliff Woolley [mailto:[EMAIL PROTECTED]]

Re: Fixes to 2.0.20

2001-07-10 Thread Greg Ames
On Tuesday 10 July 2001 00:59, Cliff Woolley wrote: Then do a graceful restart. You can see the server shifting itself around as the new processes come up and the old ones go down... but for some reason three workers with generations 3, 4,

RE: Apache 2.0.20

2001-07-10 Thread rbb
On Tue, 10 Jul 2001, Gonyou, Austin wrote: Not to start a flame war, but isn't MOD_TLS, while not perfect, is there and useable from what I understand. mod_tls implements the SSL filtering logic, but it doesn't try to implement the surrounding logic that a true SSL module requires. The idea

Trying to start portal / help with modules

2001-07-10 Thread Carlos Costa Portela
Hello all! I have a good experience designing portals and big websites, but I want start now a good site, and I've thunk that perhaps Apache modules can be the best aproach to this problem. My idea: designers write templates using specific tags, like shop, advert code=1 or

Re: Fixes to 2.0.20

2001-07-10 Thread Cliff Woolley
On Tue, 10 Jul 2001, Greg Ames wrote: Then do a graceful restart. You can see the server shifting itself around as the new processes come up and the old ones go down... but for some reason three workers with generations 3, 4, and 5

RE: Apache 2.0.20

2001-07-10 Thread Gonyou, Austin
Aaahh..so that means they really are dependant pieces. mod_tls doesn't depend on anything, but it's filters will not be used unless mod_ssl is there, and vice versa. Gotcha. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -Original

Re: Trying to start portal / help with modules

2001-07-10 Thread Cliff Woolley
On Tue, 10 Jul 2001, Carlos Costa Portela wrote: My idea: designers write templates using specific tags, like shop, advert code=1 or similar. a program parses the template and call to another programs to process tags. You could write a custom extension to mod_include to do this. With 2.0

Re: Trying to start portal / help with modules

2001-07-10 Thread Ian Holsman
On 10 Jul 2001 16:56:07 -0400, Cliff Woolley wrote: On Tue, 10 Jul 2001, Carlos Costa Portela wrote: My idea: designers write templates using specific tags, like shop, advert code=1 or similar. a program parses the template and call to another programs to process tags. You could

Problems, 2.0.20, and HP-UX

2001-07-10 Thread GUMMALAM,MOHAN (HP-Cupertino,ex2)
Hi Apache2.0 devs: On HP-UX, we are facing a problem whose symptoms are similar to the one seen with 2.0.19 release. Upon starting Apache, the number of processes running reduces to 2. Upon further investigation, it looked like the main process (watchdog process) went on a rampage and killed

apache crash

2001-07-10 Thread Jack Gostl
We am running apache 1.3.17 with mod_ssl under AIX 4.2.1. We have a fast CGI app, written in C, that has been running well for app 2 months. Now, twice in the last two days, one of the apache tasks suddenly started using huge amounts of memory. Eventually all of the paging space is used the

Re: apache crash

2001-07-10 Thread Cliff Woolley
On Tue, 10 Jul 2001, Jack Gostl wrote: We am running apache 1.3.17 with mod_ssl under AIX 4.2.1. We have a fast CGI app, written in C, that has been running well for app 2 months. Now, twice in the last two days, one of the apache tasks suddenly started using huge amounts of memory.

Re: apache crash

2001-07-10 Thread Jack Gostl
On Tue, 10 Jul 2001, Cliff Woolley wrote: On Tue, 10 Jul 2001, Jack Gostl wrote: We am running apache 1.3.17 with mod_ssl under AIX 4.2.1. We have a fast CGI app, written in C, that has been running well for app 2 months. Now, twice in the last two days, one of the apache tasks suddenly

Hash tables and request headers Re: observations on fragmentation inSMS pools

2001-07-10 Thread Brian Pane
Roy T. Fielding wrote: Another reason why apr_hash_t isn't a good match for HTTP headers is that the same field name may appear multiple times in the request or response headers (section 4.2 of RFC 2616), but the hash table implementation is designed around unique keys. HTTP headers were

Re: [PATCH] Re: performance of mod_mime

2001-07-10 Thread Bill Stoddard
Brian, Committed your most recent revision of this patch. Please review it as I had to hand merge about half of the chunks. You should consider Dean's suggestions as well. Bill Here's my proposed patch that replaces the tables with a hash table. --Brian Roy T. Fielding wrote: On Thu, Jun

RE: Filters : mod_ssl (fwd)

2001-07-10 Thread Cliff Woolley
-- Forwarded message -- Date: Wed, 11 Jul 2001 00:11:37 -0400 From: MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) [EMAIL PROTECTED] To: 'Cliff Woolley' [EMAIL PROTECTED], MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) [EMAIL PROTECTED] Cc: Ryan Bloom [EMAIL PROTECTED] Subject: RE:

RE: Filters : mod_ssl (fwd)

2001-07-10 Thread Cliff Woolley
On Wed, 11 Jul 2001, Cliff Woolley wrote: Yes. That is the expected behaviour if a timeout is set. But, I haven't set any timeout currently - so the read blocks till it receives some data OR the connection is dropped. I verified that the chunk_filter (http_core.c) also uses a APR_BLOCK_READ

Re: Hash tables and request headers Re: observations on fragmentationin SMS pools

2001-07-10 Thread dean gaudet
On Tue, 10 Jul 2001, Brian Pane wrote: 1. Add a 2nd create function for apr_hash_t that lets the caller supply three callback functions: - a hash function - an equality-check function - a concatenation function (if non-NULL, setting x=y followed by x=y results