Re: [users@httpd] Corrupted source files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/24/06, Victor Star <groups@xxxxxxxxxxxxxx> wrote:
And completely manual request (file gets corrupted):
====- 8< -===================================================
accept(4, {sa_family=AF_INET, sin_port=htons(2305), sin_addr=inet_addr("10.10.10.10")}, [16]) = 15
getsockname(15, {sa_family=AF_INET, sin_port=htons(1024), sin_addr=inet_addr("10.10.10.60")}, [16]) = 0
fcntl(15, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
read(15, "GET /index2.html HTTP/1.1\r\nhost:"..., 8000) = 45
gettimeofday({1919510048, 1818321509}, NULL) = 0
stat("/usr/local/www/apache22/data/index2.html", {st_mode=0, st_size=0, ...}) = 0
getpid()                                = 94563 (ppid 94562)
open("/usr/local/www/apache22/data/index2.html", O_RDONLY) = 16
syscall_393(0x10, 0xf, 0, 0, 0x24f, 0xbfbfc660, 0xbfbfc658, 0) = 0
read(15, 0x817d028, 8000)               = -1 EAGAIN (Resource temporarily unavailable)
write(7, "10.10.10.10 - - [24/Sep/2006:18:"..., 89) = 89
close(16)                               = 0
poll([{fd=859451954, events=POLLERR|POLLHUP|POLLNVAL|0x2000, revents=POLLIN|POLLOUT|POLLERR|POLLNVAL|0x3000}], 1, 5000) = 0
gettimeofday({1563439156, 1162289696}, NULL) = 0
shutdown(15, 1 /* send */)              = 0
poll([{fd=1764696148, events=POLLPRI|POLLOUT|POLLRDNORM|POLLERR|POLLNVAL|0x6400, revents=POLLIN|POLLOUT|POLLRDNORM|POLLNVAL|0x7800}], 1, 2000) = 1
read(15, "", 512)                       = 0
close(15)                               = 0
read(3, 0xbfbfeb53, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
accept(4,

There are only two writing actions there: syscall_393 which is (I
believe) sendfile and the log write.  Neither of those should have any
effect on your file.

Just on a whim, I would try "EnableSendfile Off" in httpd.conf.  But
even if that works, the only explanation I would have would be
something very screwed up with your freebsd install.  (Note that 1.3
doesn't use sendfile, which would explain why it doesn't have that
problem.)

Joshua.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux