Eric Covener <covener@xxxxxxxxx> wrote: > Pretty odd, can you strace/truss and see what comes back for readdir/stat/??? I see just what it sounded like: httpd tries to mmap a much larger file than it actually has: 1878 27 httpd CALL __stat50(0x7f7ff7bb16f0,0x7f7fecbff780) 1878 27 httpd NAMI "/usr/pkg/share/httpd/htdocs/tmp/f" 1878 27 httpd RET __stat50 0 1878 27 httpd CALL open(0x7f7ff7bb17e0,0,0) 1878 27 httpd NAMI "/usr/pkg/share/httpd/htdocs/tmp/f" 1878 27 httpd RET open 8 1878 27 httpd CALL fcntl(8,1,0) 1878 27 httpd RET fcntl 0 1878 27 httpd CALL fcntl(8,2,1) 1878 27 httpd RET fcntl 0 1878 27 httpd CALL open(0x7f7fecbfc440,0,0x2e2e2e2e) 1878 27 httpd NAMI "/usr/share/zoneinfo/GMT" 1878 27 httpd RET open 9 1878 27 httpd CALL read(9,0x7f7ff7bb8000,0x7c68) 1878 27 httpd GIO fd 9 read 118 bytes "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\^D\0\ \0\0\0\0\0GMT\0\0\0TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\ \0\0\^A\0\0\0\^D\0\0\0\0\0\0GMT\0\0\0\nGMT0\n" 1878 27 httpd RET read 118/0x76 1878 27 httpd CALL close(9) 1878 27 httpd RET close 0 1878 27 httpd CALL read(7,0x7f7ff7bb2048,0x1f40) 1878 27 httpd RET read -1 errno 35 Resource temporarily unavailable 1878 27 httpd CALL mmap(0,0x800,1,1,8,0,0) 1878 27 httpd RET mmap 140187597938688/0x7f7ff7fa2000 1878 27 httpd CALL writev(7,0x7f7fecbffa00,2) 1878 27 httpd GIO fd 7 wrote 2251 bytes "HTTP/1.1 200 OK\r\nDate: Tue, 27 Oct 2015 13:23:43 GMT\r\nServer: Apache/2.4.16 (Unix)\r\n\ Last-Modified: Tue, 27 Oct 2015 02:51:54 GMT\r\nETag: \"800-5230d290fc802\"\r\nAccept-Rang\ es: bytes\r\nContent-Length: 2048\r\n\r\nfoo\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ ... Ie httpd tries to mmap 2K: 1878 27 httpd CALL mmap(0,0x800,1,1,8,0,0) > Maybe httpd/APR is compiled against some weird non-ABI compatible > system headers? Hmmm. This is apache-2.4.16 from NetBSD pkgsrc; I've tried both a binary package provided by NetBSD as well as a locally compiled pkgsrc version. Next up: manually compiling vanilla httpd, I suppose. :-/ -Jan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx