Re: [PATCH] performance fix for mod_include

2001-11-09 Thread Aaron Bannert
On Fri, Nov 09, 2001 at 09:20:23PM -0800, Brian Pane wrote: > In mod_include, we use apr_pcalloc to create an include_ctx_t, > which consists of about 80 bytes of integer and pointer fields > and a pair of character buffers used to hold strings. Each > of the character buffers is 8KB... > > call

Re: Something I learned, today

2001-11-09 Thread Brian Pane
William A. Rowe, Jr. wrote: >If one adds a module multiple times, (in this case, the silly user just >commented out the ClearModuleList) there is no warning whatsoever, yet >it causes (obviously) no end of chaos and unpredictable failures. This >especially impacts upgraders who foolishly copy co

Something I learned, today

2001-11-09 Thread William A. Rowe, Jr.
If one adds a module multiple times, (in this case, the silly user just commented out the ClearModuleList) there is no warning whatsoever, yet it causes (obviously) no end of chaos and unpredictable failures. This especially impacts upgraders who foolishly copy configs from one install to another

Re: [PATCH] performance fix for mod_include

2001-11-09 Thread Ryan Bloom
On Friday 09 November 2001 09:56 pm, William A. Rowe, Jr. wrote: > From: "Brian Pane" <[EMAIL PROTECTED]> > Sent: Friday, November 09, 2001 11:20 PM > > > In mod_include, we use apr_pcalloc to create an include_ctx_t, > > which consists of about 80 bytes of integer and pointer fields > > and a pai

Re: [PATCH] performance fix for mod_include

2001-11-09 Thread William A. Rowe, Jr.
From: "Brian Pane" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 11:20 PM > In mod_include, we use apr_pcalloc to create an include_ctx_t, > which consists of about 80 bytes of integer and pointer fields > and a pair of character buffers used to hold strings. Each > of the character buffe

[PATCH] performance fix for mod_include

2001-11-09 Thread Brian Pane
In mod_include, we use apr_pcalloc to create an include_ctx_t, which consists of about 80 bytes of integer and pointer fields and a pair of character buffers used to hold strings. Each of the character buffers is 8KB... calloc'ing all this space accounts for about 9% of the total usr-mode CPU ti

RE: daedalus is on 2_0_28

2001-11-09 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
I just finished a build and installed it (on HP-UX) - and it seems to be just fine !!!.. Thanks, -Madhu -Original Message- From: Greg Ames [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 5:41 PM To: httpd Cc: [EMAIL PROTECTED] Subject: daedalus is on 2_0_28 ...since Friday,

module docs in xml

2001-11-09 Thread Joshua Slive
Here goes nothing... Attached are some examples for a proposed format for an xml version of the module docs along with an Anakia vsl file to transform it to html and an example of the resulting html. I am mostly interested in feedback on the xml format. Some things I don't care about right now:

daedalus is on 2_0_28

2001-11-09 Thread Greg Ames
...since Friday, 09-Nov-2001 17:24:40 PST . This is from the tag, which now includes OtherBill's patches to request.c to cut down on stats. I sent Madhu a matching tarball, rolled on daedalus due to the HP-UX build problem. We don't have a solution yet for the Mac OS X build problem as far as I

[PATCH] Change Build to allow BSD/OS to work

2001-11-09 Thread David Reid
This patch is only a very small proof as I didn't bother amending all the Makefiles Basically we decide on the settings of INCLUDE and INCLUDE_QUOT so that on a "standard" system we have what we always had, namely include $(top_builddir)/... but on BSD/OS we have .include "$(top_builddir)/..."

Re: stuck in keepalive (apache 1.3)

2001-11-09 Thread dean gaudet
On Fri, 9 Nov 2001, Bill Stoddard wrote: > Curious what insite Dean had into suggesting a change from SIGALRM to > SIGUSR2. the two places the children were hanging (in PR#3906) were in places that the parent was supposed to deliver SIGALRM. they weren't hard hangs because the SIGHUP was workin

Re: [PATCH] ReadRequestTimeout directive, against 2.0 this time

2001-11-09 Thread Roy T. Fielding
> > Rewritten for 2.0, even smaller patch this time, but for me and several > > others this directive would be really, really useful. > > > > CVS diff attached as of Thu Nov 8 22:51:21 GMT 2001. > > > > Tom. > > can anyone see any problems with this? > I want to do something similiar to this on

Re: [PATCH] ReadRequestTimeout directive, against 2.0 this time

2001-11-09 Thread Ian Holsman
On Thu, 08 Nov 2001 14:55:58 -0800, Tom Gilbert wrote: > --OXfL5xGRrasGEqWY > Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > > Rewritten for 2.0, even smaller patch this time, but for me and several > others this directive would be really, really useful. > > CVS diff

Re: [2.0] lstat's in spite of AllowOverride None

2001-11-09 Thread William A. Rowe, Jr.
Dirk, would you run this benchmark again against cvs HEAD so we can see the impact of the 'one stat dir_walk' patch introduced today? - Original Message - From: "Dirk-Willem van Gulik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 08, 2001 1:31 PM Subject: Re: [2.

Re: [2.0] lstat's in spite of AllowOverride None

2001-11-09 Thread Ryan Bloom
On Friday 09 November 2001 12:11 pm, Michael Douglass wrote: > > > As FirstBill suggests, there are other means for caching the (l)stat > > > results, at least for the request duration, which need to be deployed. > > > But dropping the path_info walk-backwards logic was step one. Any > > > optim

RE: stuck in keepalive (apache 1.3)

2001-11-09 Thread Joshua Slive
> From: Bill Stoddard [mailto:[EMAIL PROTECTED]] > The only way that I can see Apache 1.3 getting stuck on keepalive > reads is: > 1. storage overlay that whacked the timeout value to some BIG > NUMBER (unlikely I think) > 2. signals are not being delivered either because of a bug in the > OS or

Re: [2.0] lstat's in spite of AllowOverride None

2001-11-09 Thread Michael Douglass
> > As FirstBill suggests, there are other means for caching the (l)stat > > results, at least for the request duration, which need to be deployed. But > > dropping the path_info walk-backwards logic was step one. Any optimization > > patches are entertianed to speed up the server, if we don't

Re: UTF-8 support

2001-11-09 Thread Greg Ames
Rohan Nandode wrote: > > Hi All, > > Does apache(APR library) support UTF-8 character > set? Could anybody give me any hints to support > UTF-8 charset. Take a look at modules/experimental/mod_charset_lite.c It does all sorts of charset translation. Greg

Re: new tarballs

2001-11-09 Thread Greg Ames
"William A. Rowe, Jr." wrote: > Greg, please note that a second patch was just committed to assure that our > final r->finfo is never an APR_LNK result, but resolves the symlink target. yep, saw it. Greg

Re: stuck in keepalive (apache 1.3)

2001-11-09 Thread Bill Stoddard
Curious what insite Dean had into suggesting a change from SIGALRM to SIGUSR2. Seemed to work in the Solaris case. Not clear if the fellow who made the change on Linux got any relief. The only way that I can see Apache 1.3 getting stuck on keepalive reads is: 1. storage overlay that whacked the

stuck in keepalive (apache 1.3)

2001-11-09 Thread Joshua Slive
I'm curious if anyone knows the cause/solution of this one. I've never seen it personally, but I've seen at least half a dozen reports in the bug database and newsgroups. Basically, people report that processes get "stuck" in keepalive and eventually fill up all the process slots, bringing the

Re: cvs commit: httpd-2.0/server request.c

2001-11-09 Thread William A. Rowe, Jr.
From: "Bill Stoddard" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 10:42 AM > FWIW, I see two stats rather than three to fetch c:/website/file500.html (an >improvement). > > The first is: > core_translate() > apr_filepath_merge() > apr_stat() > > The second is: > core_map_to_storage()

RE: new tarballs

2001-11-09 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
That would be great !!.. In the meanwhile, I'm trying to follow up with our command folks here to see what may be the problem with mktemp.. If I can get that stuff working, then we should be able to move to a more recent version of libtool.. Thx -Madhu -Original Message- From: Greg Ames

[PATCH] Re: Trouble with accept serialization

2001-11-09 Thread dean gaudet
On Fri, 9 Nov 2001, [koi8-r] áÌÅËÓÁÎÄÒ wrote: > Hello Dean Gaudet, > > Could you help me in one question? Nobody can said me whats metter... > So, if i try to start my apache 1.3.22 on UnixWare 7, it is not run > and in then "error.log" writes message "No default accept serialization > known!!".

Re: 2.0.28 and mod_jk

2001-11-09 Thread William A. Rowe, Jr.
From: "Ryan Bloom" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 11:22 AM > On Friday 09 November 2001 05:24 am, Bill Stoddard wrote: > > Nope. I did that will OtherBill the day after the map_to_storage hook > was added. This looks like we've died in mod_mime or mod_mime_magic, since th

RE: 2.0.28 and mod_jk

2001-11-09 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Hi, Thanks for the feedback.. I have some progress here : With worker-mpm (everything else remain the same), I don't see any core-dumps.. Infact, I get the foll. error in my error_log : "[Fri Nov 09 00:32:40 2001] [info] [client 15.13.190.67] Module bug? Request fil ename path is missing

Re: new tarballs

2001-11-09 Thread William A. Rowe, Jr.
From: "Greg Ames" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 10:57 AM > > I'm in the middle of testing OtherBill's patch to reduce the number of > stats. If it passes and he blesses it, I'd like to include this in > 2_0_28. Let's see how that goes before I create new tarballs. Greg, p

Re: BSD/OS

2001-11-09 Thread David Reid
I have a solution that I'll post in a while. Just getting the final kinks worked out. david - Original Message - From: "Cliff Woolley" <[EMAIL PROTECTED]> To: "David Reid" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 4:49 PM Subject: Re: BSD/OS > On Fri,

Re: 2.0.28 and mod_jk

2001-11-09 Thread Ryan Bloom
On Friday 09 November 2001 05:24 am, Bill Stoddard wrote: Nope. I did that will OtherBill the day after the map_to_storage hook was added. Ryan > My guess (and it is just a guess) is that mod_jk has not been modified to > accomodate the new map_to_storage hook. If jk is still using the transl

Re: new tarballs

2001-11-09 Thread Greg Ames
"MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" wrote: > > The libtool problem was not because of the version (atleast on HPUX).. > mktemp was failing on HPUX and hence all those errors :-(.. > > > mkdir: cannot create directory `/libtool-26424': Permission denied > libtool: inst

Re: 2.0.28

2001-11-09 Thread Cliff Woolley
On Thu, 8 Nov 2001, Justin Erenkrantz wrote: > > modules/cgi.t36 33 91.67% 1-4, 6, 8-27, 29-36 > > ssl/env.t22 16 72.73% 1-5, 12-22 > > Do these look normal? They've been failing for quite a while > > now and nobody else t

Re: BSD/OS

2001-11-09 Thread Cliff Woolley
On Fri, 9 Nov 2001, David Reid wrote: > This is what I get... > > www:~/httpd-2.0 $ make > "/usr/home1/dreid/httpd-2.0/build/rules.mk", line 57: Need an operator > "/usr/home1/dreid/httpd-2.0/build/rules.mk", line 255: Need an operator > Fatal errors encountered -- cannot continue > > > This afte

Re: BSD Makefiles (was Re: httpd 2.0.27 tarballs are available)

2001-11-09 Thread David Reid
Seems doable... I'm looking at it at the moment as BSDi's build seems broken right now. Slightly different solution though. david - Original Message - From: "Cliff Woolley" <[EMAIL PROTECTED]> To: "Roy T. Fielding" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 07

UTF-8 support

2001-11-09 Thread Rohan Nandode
Hi All, Does apache(APR library) support UTF-8 character set? Could anybody give me any hints to support UTF-8 charset. Thanks in advance, Rohan. __ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com

Re: cvs commit: httpd-2.0/server request.c

2001-11-09 Thread Bill Stoddard
FWIW, I see two stats rather than three to fetch c:/website/file500.html (an improvement). The first is: core_translate() apr_filepath_merge() apr_stat() The second is: core_map_to_storage() apr_lstat() apr_stat() Haven't dug into the code but is there a safe way to eliminate the filepath_merg

re: test 2.0.28

2001-11-09 Thread hiten pandya
hi, i will check'em as well > > From Cliff Woolley > > Date 09/11/2001 05:28:34 > > > > On Thu, 8 Nov 2001, Justin Erenkrantz wrote: > > > > > > modules/cgi.t 36 33 91.67, 6, > 8-27, 29-36 > > > > ssl/env.t 22 16 72.73, > 12-22 > > > > Do these look normal? They've been failing > for quite a whil

Re: cvs commit: httpd-2.0/server request.c

2001-11-09 Thread William A. Rowe, Jr.
From: "Greg Ames" <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 10:15 AM > [EMAIL PROTECTED] wrote: > > > > wrowe 01/11/09 00:08:43 > > > > Modified:server request.c > > Log: > > Reintroduce the 'one stat dir_walk' > > Bill, > > How confident are you that this is ro

Re: cvs commit: httpd-2.0/server request.c

2001-11-09 Thread Greg Ames
[EMAIL PROTECTED] wrote: > > wrowe 01/11/09 00:08:43 > > Modified:server request.c > Log: > Reintroduce the 'one stat dir_walk' Bill, How confident are you that this is rock solid? i.e., should I consider bumping it into 2.0.28? It would be great if we could have the perf

Re: [PATCH] apr_table WAS: What to do about tables?

2001-11-09 Thread Brian Pane
Mladen Turk wrote: [...] >>Based on my really quick reading of your new version of apr_tables.c, >>the code looks reasonable. My main worry is that the overhead of >>the hash table maintenance, including the function call overhead and >>the need to reindex every time the table is expanded, may o

Re: 2.0.28

2001-11-09 Thread Greg Ames
Cliff Woolley wrote: > > I did some testing on 2.0.28: > > Can you bump the tag on httpd.conf to get the revert of that BeOS IfModule > thing of David's (very important)? done. > Can you also bump the tag on > mod_headers.c to include the fix for the (new

Re: 2.0.28 and mod_jk

2001-11-09 Thread Bill Stoddard
My guess (and it is just a guess) is that mod_jk has not been modified to accomodate the new map_to_storage hook. If jk is still using the translate phase trick of nulling out r->filename to circumvent the directory_walk, you will almost certainly get a segfault. If this is the case, then mod_j

[Fwd: Apache and Tomcat 4.0.1 on MacOSX 10.1]

2001-11-09 Thread Pier Fumagalli
It seems that whoever builds HTTPD 1.3 for OS/X is doing so without a "standard" OS/X distribution... OTOOL reports a requirement for a /usr/local/lib/libld.dylib, and I have _no_ whatsoever clue about what that is... If you guys want, I can do the OS/X builds on a regular system... (BTW, ign

Re: 2.0.28

2001-11-09 Thread Rodent of Unusual Size
Cliff Woolley wrote: > > tested with httpd-test HEAD, failed some tests: > Failed Test Status Wstat Total Fail Failed List of failed > - > apache/limits.t 102 20.00% 7, 9 >I don't consider this

RE: 2.0.28 and mod_jk

2001-11-09 Thread Gomez Henri
>This may not be the appropriate list for this topic - but I was >wondering if anybody has been trying to bring up mod_jk (with Tomcat 3.3b2) >with Apache ?.. I get the following SEGV - any clues into what may be >happening ?.. mod_jk for Apache 2.0 is fully supported but no more live on tomcat-3

RE: [PATCH] apr_table WAS: What to do about tables?

2001-11-09 Thread Mladen Turk
> -Original Message- > From: Brian Pane [mailto:[EMAIL PROTECTED]] > Sent: 8. studeni 2001 21:38 > To: [EMAIL PROTECTED] > Subject: Re: [PATCH] apr_table WAS: What to do about tables? > > Mladen Turk wrote: > > [...] > > >I've treated the apr_table as database table, having columns an