You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/07/16 06:27:30 UTC

SVN ppl may want to backdate apr and httpd to 2002-07-10

There have been a lot of changes to APR's poll code lately; it looks
like some of them cause httpd-2.0 to freeze up while processing a
request.  Using the latest httpd-2.0, I was unable to check out a tree
from a repository -- after my client sent the request, no response
came back.  The server was caught in some polling function (apologies,
I must have unthinkingly killed the buffer that held the backtrace,
and don't have time to recreate it right now.  This was a Debian
GNU/Linux kernel 2.5.7 x86 system, if anyone wants to try).

So, Subversion developers, if you are testing stuff over DAV, you
should backdate your httpd-2.0, apr, and apr-util trees to 2002-07-10,
which was right before a slew of poll changes went in.  This example
assumes you're using separate, in-tree copies of apr and apr-util:

   $ cd httpd-2.0
   $ cvs update -D"2002-07-10"
   $ cd srclib/apr
   $ cvs update -D"2002-07-10"
   $ cd ../apr-util
   $ cvs update -D"2002-07-10"
   $ cd .../wherever/subversion_wc/apr
   $ cvs update -D"2002-07-10"
   $ cd ../apr_util
   $ cvs update -D"2002-07-10"

You don't have to backdate Subversion itself.

(Yeah, technically you probably don't need to do apr-util either, but
I did and it works, so that's what I'm recommending :-). )

With this, ra_dav operations should work.

Mucho thanks to Greg Stein for the recommendation to backdate past the
poll changes.

-K

Re: HEAD is borked

Posted by Martin Kraemer <Ma...@Fujitsu-Siemens.com>.
On Mon, Jul 15, 2002 at 10:16:59PM -0700, Justin Erenkrantz wrote:
> 
> Any HTTP/1.1 request is hanging for me (incl. static pages).

For me, any HTTP/0.9 request is hanging.....
 GET /<CRLF>
hangs, even if folowed by more <CRLF>s.

  Martin
-- 
<Ma...@Fujitsu-Siemens.com>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

Re: HEAD is borked

Posted by Justin Erenkrantz <je...@apache.org>.
On Mon, Jul 15, 2002 at 10:50:39PM -0700, Ian Holsman wrote:
> we belive we have found the problem
> in the mean time you can use the tag IANH_PRETAG1_2040
> as it appears not to have the problem

I just reverted Brad's patches and HEAD should now work again.
An explanation is being sent to dev@apr.

Note that IANH_PRETAG1_2040 will be susceptable in mod_cgi or
wherever pipe buckets are used.  So, you might want to update to
HEAD on apr-util/buckets/apr_buckets_pipe.c.  -- justin

RE: HEAD is borked

Posted by Sander Striker <st...@apache.org>.
> From: Rodent of Unusual Size [mailto:Ken.Coar@Golux.Com]
> Sent: 24 July 2002 20:58

> David Reid wrote:
> > 
> > Who's "we"?????
> > 
> > Oh, was this more IRC related conversations?
> 
> IRC is cool for some things, but it can inadvertently
> conceal technical discussions which belong on the
> mailing lists and in the archives thereof -- for the
> benefit of both posterity and those who weren't on the
> channel.

The subject this was referring to wasn't discussed on
irc at all.  The 'we' part came from an external poster.

Sander


Re: HEAD is borked

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
David Reid wrote:
> 
> Who's "we"?????
> 
> Oh, was this more IRC related conversations?

IRC is cool for some things, but it can inadvertently
conceal technical discussions which belong on the
mailing lists and in the archives thereof -- for the
benefit of both posterity and those who weren't on the
channel.
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

Re: HEAD is borked

Posted by David Reid <dr...@jetnet.co.uk>.
> David Shane Holden wrote:
> > I've noticed this aswell.  I have Apache running on a machine using an 
> > internal
> > IP and if I connect to it with another machine using an internal IP it 
> > sits there
> > for exactly 5 minutes before sending back the respone.  But if someone
> > connects with a real IP from the Internet everything works fine.
> > 
> > I've tested this on both Win2k and Linux.
> > 
> we belive we have found the problem
> in the mean time you can use the tag IANH_PRETAG1_2040
> as it appears not to have the problem

Who's "we"?????

Oh, was this more IRC related conversations?

david





Re: HEAD is borked

Posted by Ian Holsman <ia...@apache.org>.
David Shane Holden wrote:
> I've noticed this aswell.  I have Apache running on a machine using an 
> internal
> IP and if I connect to it with another machine using an internal IP it 
> sits there
> for exactly 5 minutes before sending back the respone.  But if someone
> connects with a real IP from the Internet everything works fine.
> 
> I've tested this on both Win2k and Linux.
> 
we belive we have found the problem
in the mean time you can use the tag IANH_PRETAG1_2040
as it appears not to have the problem


> Justin Erenkrantz wrote:
> 
>> On Mon, Jul 15, 2002 at 11:27:30PM -0500, Karl Fogel wrote:
>>  
>>
>>> There have been a lot of changes to APR's poll code lately; it looks
>>> like some of them cause httpd-2.0 to freeze up while processing a
>>> request.  Using the latest httpd-2.0, I was unable to check out a tree
>>>   
>>
>>
>> Any HTTP/1.1 request is hanging for me (incl. static pages).
>>
>> Investigating.  -- justin
>>
>>  
>>
> 
> 




Re: HEAD is borked

Posted by David Shane Holden <dp...@yahoo.com>.
I've noticed this aswell.  I have Apache running on a machine using an 
internal
IP and if I connect to it with another machine using an internal IP it 
sits there
for exactly 5 minutes before sending back the respone.  But if someone
connects with a real IP from the Internet everything works fine.

I've tested this on both Win2k and Linux.

Justin Erenkrantz wrote:

>On Mon, Jul 15, 2002 at 11:27:30PM -0500, Karl Fogel wrote:
>  
>
>>There have been a lot of changes to APR's poll code lately; it looks
>>like some of them cause httpd-2.0 to freeze up while processing a
>>request.  Using the latest httpd-2.0, I was unable to check out a tree
>>    
>>
>
>Any HTTP/1.1 request is hanging for me (incl. static pages).
>
>Investigating.  -- justin
>
>  
>



HEAD is borked

Posted by Justin Erenkrantz <je...@apache.org>.
On Mon, Jul 15, 2002 at 11:27:30PM -0500, Karl Fogel wrote:
> There have been a lot of changes to APR's poll code lately; it looks
> like some of them cause httpd-2.0 to freeze up while processing a
> request.  Using the latest httpd-2.0, I was unable to check out a tree

Any HTTP/1.1 request is hanging for me (incl. static pages).

Investigating.  -- justin

Re: SVN ppl may want to backdate apr and httpd to 2002-07-10

Posted by Justin Erenkrantz <je...@apache.org>.
On Mon, Jul 15, 2002 at 11:27:30PM -0500, Karl Fogel wrote:
> There have been a lot of changes to APR's poll code lately; it looks
> like some of them cause httpd-2.0 to freeze up while processing a
> request.  Using the latest httpd-2.0, I was unable to check out a tree

FWIW, a fix has been committed to apr-util that fixes the problem
in httpd-2.0.

Feel free to update to HEAD once again.  -- justin

P.S. The poll code had nothing to do with it.  It was just an
unsuspecting co-conspirator.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org