You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Wertman <we...@comcast.net> on 2007/02/28 18:18:23 UTC

[users@httpd] 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache returns empty file, reports 200 and correct file size

Posted by Xuekun Hu <xu...@gmail.com>.
did you use mod_mem_cache? If yes, you probably met this issue :
http://issues.apache.org/bugzilla/show_bug.cgi?id=41551


On 3/1/07, Eric Wertman <we...@comcast.net> wrote:
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

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


Re: [users@httpd] Apache returns empty file, reports 200 and correct file size

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Eric Wertman wrote:
> 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

are you at least at Update 8?

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