Thanks for that tip.. I actually thought it was sendfile early on.. but setting EnableSendfile Off in my httpd.conf did not correct the problem either.

Is there any circumstance where that directive is ignored? Or, I haven't found a clear answer about the config file... is order of things important in the file?

Robert Lassiter wrote:
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:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 12:18 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to