Re: FreeBSD 4.x and Apache2: worker MPM issue

2004-03-11 Thread Justin Erenkrantz
--On Sunday, March 7, 2004 6:28 PM -0400 "Marc G. Fournier" <[EMAIL PROTECTED]> wrote: 'k, then this is probably why I can't recreate it, since the ads.postgresql.org stuff itself keeps the hits pretty continous ... Yup. FWIW, I just tested against -STABLE as of Mar 11th (Brian just upgraded mi

Re: apache 1.3.29 & apache 2.0.X pool problems and analysis

2004-03-11 Thread Bojan Smojver
Quoting Mark Rowe <[EMAIL PROTECTED]>: > Check out this further pool test, > > > Using apache 2.0.48 > > I defined tenbyte_string as the > constant string "0123456789" > which is 10 bytes long. This would probably be 11 bytes, plus maybe a few extra for alignment. Not a big difference probably

apache 1.3.29 & apache 2.0.X pool problems and analysis

2004-03-11 Thread Mark Rowe
Check out this further pool test, Using apache 2.0.48 I defined tenbyte_string as the constant string "0123456789" which is 10 bytes long. Here is a test where I used apr_pstrcat( ... ) to in a loop 10,000 iterations so the resulting string should only take up 10 * 10,000 = 100,000 bytes. It took

apache 1.3.29 pool problem with clearing pools in a loop (allocates 100's of MB instead of 100KB)

2004-03-11 Thread Mark Rowe
Check out this pool test, Using apache 1.3.29 I defined tenbyte_string as the constant string "0123456789" which is 10 bytes long. Here is a test where I used ap_pstrcat( ... ) to in a loop 10,000 times so the resulting string should only take up 10 * 10,000 = 100,000 bytes. It took nearly 400 MB

[PATCH] htdigest.c - remove ugly dependance on external cp; use apr_temp_dir_get() for getting temp dir

2004-03-11 Thread Guenter Knauf
Hi, this patch makes htdigest use the apr_temp_dir_get() for getting the temp dir; and also removes the dependance on external cp/copy; changed printout to use apr function like htpasswd; replaced tabs with spaces. I've have tested this on NetWare and Win32. The OMIT_DELONCLOSE I left in for now ca

[PATCH] catch a bad vhost config

2004-03-11 Thread Joe Orton
By uncommenting just one line from the default config you can get to this misconfiguration: NameVirtualHost *:80 which is not handled properly by the vhost code - httpd serves requests with c->base_server == NULL, httpd -tS segfaults, etc. The check below in vhost.c:remove_unused_name_vhosts

[PATCH] htpasswd.c - use apr_temp_dir_get() for getting temp dir

2004-03-11 Thread Guenter Knauf
Hi, this patch makes htpasswd use the apr_temp_dir_get() instead of only asking the environment vars. If someone isnt fine with the move back into main() of this part, I can provide another patch which leaves the separate function in. In addition I removed some obsolete ifdefs; have tested this

functions in SSI

2004-03-11 Thread Andre Breiler
Hi, I wonder what your opinion is on having functions in addition to variables in SSIs. An example would be <--#set var="blah" value="random($min,$max)" --> . My idea is to make ap_ssi_parse_string aware of functions and call a function which does the SSI function parsing/calling. In addition I'd