[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



Peter Makholm <sslug@sslug> writes:

> Jeg kan ikke se at der er tilsvarende forsinkelse på de andre services
> som serveren tilbyder. Den ssh jeg har kørende og den Apache1.3 der
> kører på port 82 svare umidelbart øjeblikkeligt.

Til sammenligning en forspørgsel på Apache1.3 på port 82:

32078 10:12:56.216900 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
32078 10:12:56.217062 connect(4, {sa_family=AF_INET, sin_port=htons(82), sin_addr=inet_addr("10.0.1.20")}, 16) = 0
32078 10:12:56.217594 write(3, "connected.\n", 11) = 11
32078 10:12:56.291542 stat64("/home/brother/.netrc", 0xbfffdebc) = -1 ENOENT (No such file or directory)
32078 10:12:56.291858 select(5, NULL, [4], NULL, {900, 0}) = 1 (out [4], left {900, 0})
32078 10:12:56.292164 write(4, "GET /plugh/ HTTP/1.0\r\nUser-Agent"..., 108) = 108
32078 10:12:56.292377 write(3, "HTTP request sent, awaiting resp"..., 40) = 40
32078 10:12:56.292597 select(5, [4], NULL, NULL, {900, 0}) = 1 (in [4], left {899, 890000})
32078 10:12:56.403635 read(4, "HTTP/1.1 404 Not Found\r\nDate: We"..., 4096) = 4096
32078 10:12:56.403953 write(3, "404 Not Found", 13) = 13

og på serveren:

15957 09:12:56.217754 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x418350, [], SA_RESTORER|SA_INTERRUPT, 0x2aaaaad547a0}, 8) = 0
15957 09:12:56.217826 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
15957 09:12:56.217860 getsockname(3, {sa_family=AF_INET, sin_port=htons(82), sin_addr=inet_addr("10.0.1.20")}, [16]) = 0
15957 09:12:56.217909 setsockopt(3, SOL_TCP, TCP_NODELAY, [-24910397999939583], 4) = 0
15957 09:12:56.217976 read(3, "GET /plugh/ HTTP/1.0\r\nUser-Agent"..., 4096) = 108
15957 09:12:56.292510 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
15957 09:12:56.292571 time(NULL)        = 1138785176

[... generer siden ...]

15957 09:12:56.403046 writev(3, [{"HTTP/1.1 404 Not Found\r\nDate: We"..., 265}, {"<!DOCTYPE html\n     PUBLIC \"-//W"..., 774 0}], 2) = 8005
15957 09:12:56.403139 chdir("/")        = 0
15957 09:12:56.410353 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
15957 09:12:56.410398 umask(022)        = 022
15957 09:12:56.410452 time(NULL)        = 1138785176
15957 09:12:56.410502 write(18, "10.0.0.2 - - [01/Feb/2006:09:12:"..., 93) = 93
15957 09:12:56.410578 gettimeofday({1138785176, 410595}, NULL) = 0
15957 09:12:56.410618 times({tms_utime=338, tms_stime=17, tms_cutime=0, tms_cstime=0}) = 1778650625
15957 09:12:56.410677 shutdown(3, 1 /* send */) = -1 ENOTCONN (Transport endpoint is not connected)
15957 09:12:56.410720 close(3)          = 0
15957 09:12:56.410777 rt_sigaction(SIGUSR1, {0x418350, [], SA_RESTORER|SA_INTERRUPT, 0x2aaaaad547a0}, {SIG_IGN}, 8) = 0
15957 09:12:56.410844 accept(16, {sa_family=AF_INET, sin_port=htons(43575), sin_addr=inet_addr("10.0.1.20")}, [16]) = 3


-- 
 Peter Makholm     |        We constantly have to keep in mind why natural
 sslug@sslug |    languages are good at what they're good at. And to
 http://hacking.dk |     never forget that Perl is a human language first,
                   |                        and a computer language second


 
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] *