RE: Apache returns empty file, reports 200 and correct file size

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

 



I was having this problem when I found the following article.

After reading this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18719 I tried setting
"EnableSendfile off" on httpd.conf, and it solved it.	

-----Original Message-----
From: Eric Wertman [mailto:wertmane@xxxxxxxxxxx] 
Sent: Wednesday, February 28, 2007 12:18 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  Apache returns empty file, reports 200 and
correct file size

I'm running a self-compiled set of binaries on an x86_64 2.4 kernel.  My
setup appears to be working completely fine, but occasionally I get a
broken image or script.  After doing some digging, I've determined that
apache is sending me an empty file, but reporting a correct response.

I found some discussion of a similar situation regarding apr-1 and
sendfile64(), but that appeared to be an all or nothing situation, where
my problem is much more infrequent, less than .1% of my total requests
probably.

This may belong on the developer's list, but I thought I'd start with
the user community to see if anyone else had seen similar issues.  I'm
using a stack of software:

Red Hat EL 3
apr-1.2.8
apache 2.2.4
mod_jk 1.2.28
tomcat 5.5

Since I'm not getting any errors, and apache is reporting the correct
file size, I don't suspect the module so much as apache, apr, or some
other configuration issue that I'm missing.  Is it possible that
something at the system level is stopping the data?

Thanks in advance for your help!

Eric

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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