httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@lerdorf.on.ca (Rasmus Lerdorf)
Subject arm-linuxelf httpd
Date Tue, 01 Sep 1998 19:08:28 GMT
I just received my new NetWinder toy a couple of hours ago.  Apache built
perfectly on it.  I am however seeing some accept() problems, I think.
Sometimes it just won't answer and an strace shows it sitting in an
accept() call.  A normal request looks like this:

accept(15, {sin_family=AF_INET, sin_port=htons(1112), sin_addr=inet_addr("207.164.141.2")},
[16]) = 3
flock(20, LOCK_UN)                      = 0
sigaction(SIGUSR1, {SIG_IGN}, {0x2066b58, [], SA_NOMASK|0x1ca6a0}) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("207.164.141.35")},
[16]) = 0
setsockopt(3, IPPROTO_TCP1, [1], 4)     = 0
alarm(300)                              = 0
read(3, "GET /test.html HTTP/1.0\r\nConne"..., 4096) = 258
sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}) = 0
time(NULL)                              = 904674993
alarm(300)                              = 300
alarm(0)                                = 300
stat("/usr/local/www/htdocs/test.html", {st_mode=0, st_size=0, ...}) = 0
open("/usr/local/www/htdocs/test.html", O_RDONLY) = 4
mmap(0, 12, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40019000
alarm(300)                              = 0
alarm(0)                                = 300
alarm(300)                              = 0
alarm(300)                              = 300
alarm(0)                                = 300
close(4)                                = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(3, "HTTP/1.1 200 OK\r\nDate: Tue, 01"..., 311) = 311
time(NULL)                              = 904674994
write(18, "207.164.141.2 - - [01/Sep/1998:1"..., 80) = 80
munmap(0x40019000, 12)                  = 0
sigaction(SIGUSR1, {0x2066b58, [], SA_SIGINFO|SA_NOCLDSTOP|0x2001842}, {SIG_IGN}) = 0
alarm(15)                               = 0
read(3,  <unfinished ...>


By the way, if anybody wants an account on this toy to play around with
Linux on a StrongArm cpu, let me know.  

-Rasmus


Mime
View raw message