httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Star <gro...@victorstar.com>
Subject Re: [users@httpd] Corrupted source files
Date Sun, 24 Sep 2006 21:21:09 GMT
Ok, I've been able to get some tracing info by running strace -u www -p <httpd PID>
(attaching to the running process). Here's what I got:
====- 8< -===================================================
getsockname(16, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "::ffff:10.10.10.60",
&sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
fcntl(16, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
read(16, "GET /index2.html HTTP/1.1\r\nUser-"..., 8000) = 580
gettimeofday({1852139329, 1293957748}, NULL) = 0
stat("/usr/local/www/apache22/data/index2.html", {st_mode=S_IFCHR|S_ISUID|0160, st_rdev=makedev(49,
135201016), ...}) = 0
getpid()                                = 41930 (ppid 1)
open("/usr/local/www/apache22/data/index2.html", O_RDONLY) = 17
syscall_393(0x11, 0x10, 0, 0, 0x202, 0xbfbfc5b0, 0xbfbfc5a8, 0) = 0
read(16, 0x817f028, 8000)               = -1 EAGAIN (Resource temporarily unavailable)
write(8, "10.10.10.10 - - [24/Sep/2006:17:"..., 153) = 153
close(17)                               = 0
poll([{fd=0, events=0}], 1, 5000)       = 1
read(16, "GET /favicon.ico HTTP/1.1\r\nUser-"..., 8000) = 618
gettimeofday({1852139329, 1293957748}, NULL) = 0
stat("/usr/local/www/apache22/data/favicon.ico", 0xbfbfe820) = -1 ENOENT (No such file or
directory)
lstat("/usr", {st_mode=0, st_size=0, ...}) = 0
lstat("/usr/local", {st_mode=0, st_size=0, ...}) = 0
lstat("/usr/local/www", {st_mode=0, st_size=0, ...}) = 0
lstat("/usr/local/www/apache22", {st_mode=0, st_size=0, ...}) = 0
lstat("/usr/local/www/apache22/data", {st_mode=0, st_size=0, ...}) = 0
lstat("/usr/local/www/apache22/data/favicon.ico", 0xbfbfe820) = -1 ENOENT (No such file or
directory)
getpid()                                = 41930 (ppid 1)
gettimeofday({0, 0}, NULL)              = 0
write(7, "h\347\16\10\0\0\0\0\320\355\16\0108\362\16\10@\372\16\10"..., 156) = 156
writev(16, [{NULL, 135209656}, {"@*\26\10\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0LoadMo"...,
135211888}], 2) = 463
read(16, 0x817d028, 8000)               = -1 EAGAIN (Resource temporarily unavailable)
write(8, "10.10.10.10 - - [24/Sep/2006:17:"..., 179) = 179
poll([{fd=0, events=0}], 1, 5000)       = 0
gettimeofday({0, 0}, NULL)              = 0
shutdown(16, 1 /* send */)              = 0
poll([{fd=0, events=0}], 1, 2000)       = 1
read(16, "", 512)                       = 0
close(16)                               = 0
read(5, 0xbfbfeaa3, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
accept(3, {sa_family=AF_INET6, sin6_port=htons(1583), inet_pton(AF_INET6, "::ffff:10.10.10.10",
&sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 16

====- 8< -===================================================

Here's I'm requesting index2.html (which is getting corrupted). Also browser asks for favicon.ico
automatically.
Can you see anything wrong here?

-- 
Best regards,
 Victor


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message