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 Fri, Feb 8, 2013 at 4:16 AM, Pongthep Kulkrisada 
<ptkrisada%gmail.com@localhost> wrote:
> I'm sorry for late reply. I have just been back.
>
> * Greg Troxel (gdt%ir.bbn.com@localhost) wrote:
>> (no apache running)
>> ktrace [with descendants] start apache
>> wait a few seconds
>> make request, wait until it completes
>>   [no other apache traffic]
>> wait a few seconds
>> send apache a signal to exit
>> wait until exit
> I followed the procedure given above.
> This time, loading is very FAST and IMMEDIATE through ktrace spawning httpd.
> I tried 5-6 times the results were still the same, very fast.
> (I deleted cache of the browser every time I tested.)
>
> So I tried starting apache as usual again.
> Now it is very slow stalling right before loading start.
> IMHO, there are no problems with httpd.
> Should there be something wrong in /etc/rc.d/apache script?
>
> My tested web page (simply ``Hello, world!'')...
> http://pk1.hopto.org/
>
> The output for ktruss.out, if it is still useful...
> ftp://pk1.hopto.org/pub/ktruss.out
> (anonymous ftp)
>
> Thanks,
> --
> Pongthep Kulkrisada
>
> "UNIX is basically a simple operating system,
> but you have to be a genius to understand the simplicity."
> -- Dennis M. Ritchie



Can you show me ls -l on your index.html (or whatever) is serving pk1.hopto.org?

See below for crazy content length.
If it's just a normal file, then please send me a copy of your config.



log $ curl -vvv 'http://pk1.hopto.org/'
* About to connect() to pk1.hopto.org port 80 (#0)
*   Trying 125.27.107.53...
* connected
* Connected to pk1.hopto.org (125.27.107.53) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.28.1
> Host: pk1.hopto.org
> Accept: */*
>

< HTTP/1.1 200 OK
< Date: Fri, 08 Feb 2013 17:54:49 GMT
< Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.1c DAV/2
< Last-Modified: Fri, 08 Feb 2013 17:54:49 GMT
< ETag: W/"384d2-80000000000-759227f20004d4f5"
< Accept-Ranges: bytes
< Content-Length: 8796093022208
< Content-Type: text/html
<
<html><body><h1>Hello, world!</h1></body></html>
* transfer closed with 8796093022159 bytes remaining to read
* Closing connection #0
curl: (18) transfer closed with 8796093022159 bytes remaining to read


Home | Main Index | Thread Index | Old Index