Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 54665 invoked by uid 500); 10 Jun 2000 02:17:00 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 54652 invoked from network); 10 Jun 2000 02:16:59 -0000 Date: Fri, 9 Jun 2000 19:17:00 -0700 (PDT) From: dean gaudet To: new-httpd@apache.org Subject: cool Message-ID: X-comment: visit http://arctic.org/~dean/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 2.0's syscall pattern for a simple request is pretty clean: accept(6, {sin_family=AF_INET, sin_port=htons(53444), sin_addr=inet_addr("209.228.8.154")}, [16]) = 9 getsockname(9, {sin_family=AF_INET, sin_port=htons(8080), sin_addr=inet_addr("204.107.140.52")}, [16]) = 0 fcntl(7, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x805f24c, [], SA_INTERRUPT|0x4000000}, 8) = 0 fcntl(9, F_GETFL) = 0x2 (flags O_RDWR) fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(9, 0x80c28dc, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(10, [9], NULL, NULL, {300, 0}) = 1 (in [9], left {300, 0}) read(9, "GET /index.html HTTP/1.0\r\nIf-Mod"..., 4096) = 379 gettimeofday({960603170, 913828}, NULL) = 0 stat("/home/dgaudet/ap2/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=255, ...}) = 0 open("/home/dgaudet/ap2/htdocs/index.html", O_RDONLY) = 10 mmap(0, 255, PROT_READ, MAP_SHARED, 10, 0) = 0x123000 close(10) = 0 read(9, 0x80c28dc, 4096) = -1 EAGAIN (Resource temporarily unavailable) write(9, "HTTP/1.1 200 OK\r\nDate: Sat, 10 J"..., 543) = 543 write(5, "209.228.8.154 - - [09/Jun/2000:1"..., 82) = 82 munmap(0x123000, 255) = 0 read(9, 0x80c28dc, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(10, [9], NULL, NULL, {15, 0}) = ? ERESTARTNOHAND (To be restarted) --- SIGINT (Interrupt) --- close(9) = 0 21 syscalls. that's for the prefork mpm. oh, looks like TCP_NODELAY is missing. so make it 22 after that bug is fixed. about the same as 1.3 (fewer signal manipulations :) -dean