You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Greg Ames <gr...@apache.org> on 2002/06/28 20:12:59 UTC

new httpd build running on daedalus

...since Friday, 28-Jun-2002 10:43:24 PDT.  This build is basically 2.0.39 with
a patch to apr_sendfile to deal with a change to the FreeBSD sendfile() API.  We
had 88 sendfile_it_all asserts pop today, so I decided to put the new build into
production even though there was a fair amount of traffic.  My apologies if I
interrupted your download.

Please speak up if you notice anything weird about the new httpd.  Any new
coredumps need to be taken seriously.

Greg

Re: [PATCH] FreeBSD sendfile [was: new httpd build running on daedalus]

Posted by Cliff Woolley <jw...@virginia.edu>.
On Tue, 2 Jul 2002, Greg Ames wrote:

> This patch tries to maintain binary compatibility on FreeBSD 4.4 and
> above by doing a runtime kernel version test.  It works on daedalus.
> Jeff said he'd try it on a 3.x FreeBSD box, where the runtime test I'm
> using isn't available.

+1 (untested).

For anybody interested in the kernel patch that killed us on this one, the
full URL is:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_syscalls.c.diff?r1=1.65.2.9&r2=1.65.2.10

--Cliff


[PATCH] FreeBSD sendfile [was: new httpd build running on daedalus]

Posted by Greg Ames <gr...@apache.org>.
[moved to dev@apr]

Justin Erenkrantz wrote:
> 
> On Fri, Jun 28, 2002 at 04:40:11PM -0400, Jeff Trawick wrote:
> > > What is the change in the FreeBSD API?
> >
> > before the kernel we picked up Wednesday night: bytes to send includes headers
> > after the kernel we picked up Wednesday night: bytes to send doesn't
> >                                         include headers
> 
> Ouch.
> 
> Good-bye binary compatibility on FreeBSD.  -- justin

This patch tries to maintain binary compatibility on FreeBSD 4.4 and above by
doing a runtime kernel version test.  It works on daedalus.  Jeff said he'd try
it on a 3.x FreeBSD box, where the runtime test I'm using isn't available.

Greg

Re: new httpd build running on daedalus

Posted by Justin Erenkrantz <je...@apache.org>.
On Fri, Jun 28, 2002 at 04:40:11PM -0400, Jeff Trawick wrote:
> > What is the change in the FreeBSD API?
> 
> before the kernel we picked up Wednesday night: bytes to send includes headers
> after the kernel we picked up Wednesday night: bytes to send doesn't
>                                         include headers 

Ouch.

Good-bye binary compatibility on FreeBSD.  -- justin

Re: new httpd build running on daedalus

Posted by Jeff Trawick <tr...@attglobal.net>.
Justin Erenkrantz <je...@apache.org> writes:

> On Fri, Jun 28, 2002 at 02:12:59PM -0400, Greg Ames wrote:
> > ...since Friday, 28-Jun-2002 10:43:24 PDT.  This build is basically 2.0.39 with
> > a patch to apr_sendfile to deal with a change to the FreeBSD sendfile() API.  We
> > had 88 sendfile_it_all asserts pop today, so I decided to put the new build into
> > production even though there was a fair amount of traffic.  My apologies if I
> > interrupted your download.
> > 
> > Please speak up if you notice anything weird about the new httpd.  Any new
> > coredumps need to be taken seriously.
> 
> What is the change in the FreeBSD API?

before the kernel we picked up Wednesday night: bytes to send includes headers
after the kernel we picked up Wednesday night: bytes to send doesn't
                                        include headers 

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Re: new httpd build running on daedalus

Posted by Justin Erenkrantz <je...@apache.org>.
On Fri, Jun 28, 2002 at 02:12:59PM -0400, Greg Ames wrote:
> ...since Friday, 28-Jun-2002 10:43:24 PDT.  This build is basically 2.0.39 with
> a patch to apr_sendfile to deal with a change to the FreeBSD sendfile() API.  We
> had 88 sendfile_it_all asserts pop today, so I decided to put the new build into
> production even though there was a fair amount of traffic.  My apologies if I
> interrupted your download.
> 
> Please speak up if you notice anything weird about the new httpd.  Any new
> coredumps need to be taken seriously.

What is the change in the FreeBSD API?

BTW, is it possible to put out HEAD on daedalus?  There are some
fixes that need to go out and get tested.  -- justin