[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] 20 sekunders forsinkelse til Apache2



In <sslug@sslug> Peter Makholm <sslug@sslug> writes:

[klient]
>31814 09:52:27.125025 write(3, "HTTP request sent, awaiting resp"..., 40) = 40
>31814 09:52:27.125225 select(5, [4], NULL, NULL, {900, 0}) = 1 (in [4], left {885, 391000})
>31814 09:52:41.733292 read(4, "HTTP/1.1 404 Not Found\r\nDate: We"..., 4096) = 4096

[server]
>28070 08:52:41.643173 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}], 2, -1) = 1
>28070 08:52:41.643221 accept(3, {sa_family=AF_INET, sin_port=htons(55825), sin_addr=inet_addr("10.0.0.2")}, [17179869200]) = 12

>Som det kan ses går der 15 sekunder fra klienten skriver 'GET /xyzzy/'
>til at servern læser det. Hvad pokker sker der?

Faktisk går der 14 sekunder fra klienten har sendt en request til 
serveren laver en accept() på forbindelsen.

Hvilket peger i retning af at du har DNS opslag enabled på webserveren,
og det er dem der tager lang tid. Står der

   HostnameLookups Off

i din apache2.conf ?


Henrik



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-03-01, 02:02 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *