NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apache22 is very slow on NetBSD 6.0_STABLE



On Sat, Feb 9, 2013 at 2:12 AM, Pongthep Kulkrisada 
<ptkrisada%gmail.com@localhost> wrote:
> * matthew sporleder (msporleder%gmail.com@localhost) wrote:
>> Can you show me ls -l on your index.html (or whatever) is serving 
>> pk1.hopto.org?
> Oops sorry, it is a soft link to the file kept in my home directory.
> I always keep frequently-changed files in my home directory.
> I don't think it does matter.
> Okay I have replaced the link with a normal file.
> But I tested it; it doesn't improve speed, anyway.
>
> 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%
>
>> See below for crazy content length.
> Please you check content length again.
>
>> If it's just a normal file, then please send me a copy of your config.
> ftp://pk1.hopto.org/pub/httpd.conf
>
> Note that the configuration and soft link are the same on FreeBSD and 5.1.2.
> But those systems don't have such speed problem.
>
> Thanks,
> --
> Pongthep Kulkrisada
>
> "UNIX is basically a simple operating system,
> but you have to be a genius to understand the simplicity."
> -- Dennis M. Ritchie

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?  Are you sure that /etc/rc.d/apache
is executing the same binary as when you did the ktruss from the
command line?


Home | Main Index | Thread Index | Old Index