[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: apache22 is very slow on NetBSD 6.0_STABLE
Pongthep Kulkrisada <ptkrisada%gmail.com@localhost> wrote ..
> * matthew sporleder (msporleder%gmail.com@localhost) wrote:
> > > pongthep@netbsd:~% cd /usr/pkg/share/httpd/htdocs/
> > > pongthep@netbsd:/usr/pkg/share/httpd/htdocs% ll index.*
> > > -rw-r--r-- 1 root wheel 49 Feb 5 14:50 index.html
> > > pongthep@netbsd:/usr/pkg/share/httpd/htdocs% cat index.html
> > > <html><body><h1>Hello, world!</h1></body></html>
> > > pongthep@netbsd:/usr/pkg/share/httpd/htdocs%
> > Okay, I'm pretty much at a loss. I continue to get overflowed
> > content-length:
> > < HTTP/1.1 200 OK
> > < Date: Sat, 09 Feb 2013 14:39:49 GMT
> > < Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.1c DAV/2
> > < Last-Modified: Sat, 09 Feb 2013 14:39:49 GMT
> > < ETag: W/"384d2-80000000000-1a5047c00004d4f5"
> > < Accept-Ranges: bytes
> > < Content-Length: 8796093022208
> > < Content-Type: text/html
> > <
> > * transfer closed with 8796093022208 bytes remaining to read
> > have you tried recompiling apache?
> Many times.
> > Are you sure that /etc/rc.d/apache
> > is executing the same binary as when you did the ktruss from the
> > command line?
> Yes I do; they run exactly the same binary.
> I would repeat that all configurations work pretty well on 5.1.2 and FreeBSD.
> Furthermore, my running 6.0_STABLE was updated from that 5.1.2.
> I did not change any configuration.
> ``build.sh'' is simple and very straight forward.
> So I suspect that I did something wrong during etcupdate.
> It's tedious and prone to have human errors.
> Else there must be something wrong during pkg_chk of pkgsrc-2012Q4.
> (But not likely, pkg_chk is also simple.)
> But I'm not serious because I'm now using 6.0_STABLE for testing only.
> I plan to reinstall everything from 6.0.1 image and make STABLE from that.
> Thanks you very much.
> Pongthep Kulkrisada
> "UNIX is basically a simple operating system,
> but you have to be a genius to understand the simplicity."
> -- Dennis M. Ritchie
That is strange.. I'd say it's defaulting to some MAX Content-Length b/c it's
not reading the size of the file. OR a filter/module is messing it up... Where
are you getting the 'DAV 2' in the server info? Sry, I haven't installed httpd
from pkgsrc before. I'd generally think mod_ssl is *not to blame.
It looks like Content-Length is set/managed using APR library. (but i'm looking
at a 2.4 src distribution on this machine, might be different in 2.2 series)
San Jose California USA
Main Index |
Thread Index |