You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Justin Erenkrantz <je...@ebuilt.com> on 2001/09/16 22:34:38 UTC

Tag time?

Not that I volunteer to be RM or anything, but any reason why we
couldn't try to get a beta out this week?  -- justin


Re: Tag time?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
From: "Brian Pane" <bp...@pacbell.net>
Sent: Tuesday, September 18, 2001 6:19 PM


> Ryan Bloom wrote:
> 
> >On Sunday 16 September 2001 01:57 pm, Brian Pane wrote:
> >
> >>Ryan Bloom wrote:
> >>
> >>>On Sunday 16 September 2001 01:34 pm, Justin Erenkrantz wrote:
> >>>
> >>>Yes, the code isn't ready.  There is at least one seg fault that we
> >>>already know about.
> >>>
> >>Is that the dir-merge segv with mod_ssl, or something different?
> >>
> >
> >That's the one.
>
> Did the patch that Doug posted resolve this one?

I'm reviewing, but today provided several higher-priority issues (the whitepaper
will be published by tommorow morning.)

ITMT --- this patch just didn't look like the entire problem - in fact it may
just mask the real problem.  I promise to commit it or the correct solution by
lunchtime tommorow after final, careful review of the underlying issue.

Thanks esp to Justin for some very clear test cases.

Bill


Re: Tag time?

Posted by Brian Pane <bp...@pacbell.net>.
Ryan Bloom wrote:

>On Sunday 16 September 2001 01:57 pm, Brian Pane wrote:
>
>>Ryan Bloom wrote:
>>
>>>On Sunday 16 September 2001 01:34 pm, Justin Erenkrantz wrote:
>>>
>>>Yes, the code isn't ready.  There is at least one seg fault that we
>>>already know about.
>>>
>>Is that the dir-merge segv with mod_ssl, or something different?
>>
>
>That's the one.
>
Did the patch that Doug posted resolve this one?

--Brian



Re: Tag time?

Posted by Ryan Bloom <rb...@covalent.net>.
On Sunday 16 September 2001 01:57 pm, Brian Pane wrote:
> Ryan Bloom wrote:
> >On Sunday 16 September 2001 01:34 pm, Justin Erenkrantz wrote:
> >
> >Yes, the code isn't ready.  There is at least one seg fault that we
> >already know about.
>
> Is that the dir-merge segv with mod_ssl, or something different?

That's the one.

Ryan
______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: Tag time?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
This patch is broken.  The reason is pretty simple...

we are constructing a merge-product that consists of only the <loc>
blocks.  We cannot merge to the server root till the bitter end,
so that if a request 'switches' vhosts, we simply remerge this end
result with the 'other' vhost's per_dir_config.

Still looking :(  At least I have this afternoon to fight it.

Bill

----- Original Message ----- 
From: "Doug MacEachern" <do...@covalent.net>
To: <de...@httpd.apache.org>
Sent: Sunday, September 16, 2001 5:45 PM
Subject: RE: Tag time?


> On Sun, 16 Sep 2001, Sander Striker wrote:
>  
> > Well, there is at least the dir-merge segv which is more generic
> > than just mod_ssl.  Doug posted a minimal repro recipe a few days
> > back.
> 
> following patch cures.  all httpd-test and modperl-2.0 tests pass.
> not sure if this is the "right" fix however, would like to hear
> from somebody more familar with this area of the code..
> 
> Index: server/request.c
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/server/request.c,v
> retrieving revision 1.50
> diff -u -r1.50 request.c
> --- server/request.c 2001/09/06 17:58:28 1.50
> +++ server/request.c 2001/09/16 22:31:19
> @@ -1232,10 +1232,14 @@
>                  matches = 0;
>              }
>  
> -            if (now_merged)
> +            if (now_merged) {
> +                now_merged = ap_merge_per_dir_configs(r->pool,
> +                                                      r->per_dir_config,
> +                                                      now_merged);
>           now_merged = ap_merge_per_dir_configs(r->pool, 
>                                                        now_merged,
>                                                        locations[j]);
> +            }
>              else
>                  now_merged = locations[j];
>  
> 
> 


RE: Tag time?

Posted by Doug MacEachern <do...@covalent.net>.
On Sun, 16 Sep 2001, Sander Striker wrote:
 
> Well, there is at least the dir-merge segv which is more generic
> than just mod_ssl.  Doug posted a minimal repro recipe a few days
> back.

following patch cures.  all httpd-test and modperl-2.0 tests pass.
not sure if this is the "right" fix however, would like to hear
from somebody more familar with this area of the code..

Index: server/request.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/request.c,v
retrieving revision 1.50
diff -u -r1.50 request.c
--- server/request.c	2001/09/06 17:58:28	1.50
+++ server/request.c	2001/09/16 22:31:19
@@ -1232,10 +1232,14 @@
                 matches = 0;
             }
 
-            if (now_merged)
+            if (now_merged) {
+                now_merged = ap_merge_per_dir_configs(r->pool,
+                                                      r->per_dir_config,
+                                                      now_merged);
 	        now_merged = ap_merge_per_dir_configs(r->pool, 
                                                       now_merged,
                                                       locations[j]);
+            }
             else
                 now_merged = locations[j];
 


RE: Tag time?

Posted by Sander Striker <st...@apache.org>.
> From: Brian Pane [mailto:bpane@pacbell.net]
> Sent: 16 September 2001 22:57
> Ryan Bloom wrote:
> 
> >On Sunday 16 September 2001 01:34 pm, Justin Erenkrantz wrote:
> >
> >Yes, the code isn't ready.  There is at least one seg fault that we 
> >already know about.
> >
> Is that the dir-merge segv with mod_ssl, or something different?

Well, there is at least the dir-merge segv which is more generic
than just mod_ssl.  Doug posted a minimal repro recipe a few days
back.

Sander


Re: Tag time?

Posted by Brian Pane <bp...@pacbell.net>.
Ryan Bloom wrote:

>On Sunday 16 September 2001 01:34 pm, Justin Erenkrantz wrote:
>
>Yes, the code isn't ready.  There is at least one seg fault that we 
>already know about.
>
Is that the dir-merge segv with mod_ssl, or something different?

--Brian




Re: Tag time?

Posted by Ryan Bloom <rb...@covalent.net>.
On Sunday 16 September 2001 01:34 pm, Justin Erenkrantz wrote:

Yes, the code isn't ready.  There is at least one seg fault that we 
already know about.

Ryan

> Not that I volunteer to be RM or anything, but any reason why we
> couldn't try to get a beta out this week?  -- justin

-- 

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: Tag time?

Posted by Aaron Bannert <aa...@clove.org>.
On Sun, Sep 16, 2001 at 01:49:12PM -0700, Ian Holsman wrote:
> On Sun, 2001-09-16 at 13:34, Justin Erenkrantz wrote:
> > Not that I volunteer to be RM or anything, but any reason why we
> > couldn't try to get a beta out this week?  -- justin
> 
> Aaron also has some worker MPM patches I'm benchmarking at the moment.

Although I'd like to get the best worker MPM implementation into CVS as
soon as possible, I don't consider this a beta showstopper (at least as
long as worker isn't the default MPM on UNIX).

-aaron

Re: Tag time?

Posted by Ian Holsman <Ia...@cnet.com>.
On Sun, 2001-09-16 at 13:34, Justin Erenkrantz wrote:
> Not that I volunteer to be RM or anything, but any reason why we
> couldn't try to get a beta out this week?  -- justin

The mod-include patch should be reviewed and/or committed.
(included here)
The jist of the pach.. 
we can't compute ETag/Last-Modified on the SSI file
as we don't have enough info at the start of the file.

I'd also log to see the mod_log_config patch  (caching time() calls)
and the removal of r->notes (both by brianp) in there. the second is
important, as it is a change of API, and should be done before a beta.

Aaron also has some worker MPM patches I'm benchmarking at the moment.


Index: mod_include.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/filters/mod_include.c,v
retrieving revision 1.146
diff -u -u -r1.146 mod_include.c
--- mod_include.c       2001/09/10 03:58:26     1.146
+++ mod_include.c       2001/09/14 19:34:17
@@ -3081,6 +3081,13 @@
      * the content-length should just be unset.
      */
     apr_table_unset(f->r->headers_out, "Content-Length");
+    /*
+     * Always unset the ETag/Last-Modified fields.
+     * We don't know if we are going to be modified after we have
+     * sent the headers out.
+     */
+    apr_table_unset(f->r->headers_out, "ETag");
+    apr_table_unset(f->r->headers_out, "Last-Modified");

     rv = send_parsed_content(&b, r, f);

-- 
Ian Holsman
Performance Measurement & Analysis
CNET Networks    -    415 364-8608

Re: Tag time?

Posted by Greg Stein <gs...@lyra.org>.
On Sun, Sep 16, 2001 at 04:46:08PM -0400, Cliff Woolley wrote:
> On Sun, 16 Sep 2001, Justin Erenkrantz wrote:
> 
> > Not that I volunteer to be RM or anything, but any reason why we
> > couldn't try to get a beta out this week?  -- justin
> 
> I was going to send out a message yesterday asking what the remaining
> showstoppers were.  Did we ever track down that segv that surfaced when
> using mod_php and then others?  I need to go back and find that email
> where an example of a troublesome config was given.  What other problems
> are out there?  It'd be nice to wrap up this buckets alloc thing before a
> new tag since it involves API changes, but I guess it's not a showstopper.

Apache's prefork MPM seems to be having problems with persistent
connections. They've been dogging some of my testing and SVN. I'm gonna dig
into it this evening.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Re: Tag time?

Posted by Cliff Woolley <cl...@yahoo.com>.
On Sun, 16 Sep 2001, Justin Erenkrantz wrote:

> Not that I volunteer to be RM or anything, but any reason why we
> couldn't try to get a beta out this week?  -- justin

I was going to send out a message yesterday asking what the remaining
showstoppers were.  Did we ever track down that segv that surfaced when
using mod_php and then others?  I need to go back and find that email
where an example of a troublesome config was given.  What other problems
are out there?  It'd be nice to wrap up this buckets alloc thing before a
new tag since it involves API changes, but I guess it's not a showstopper.

--Cliff

PS: I volunteered to RM 2.0.26 a while back and am still willing...

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA