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

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

 



That's pretty close.  I did some further testing and found that the file wasn't always empty, sometimes the contents were junk that looked like memory overflow from somewhere else.  I was using mod_mem_cache, and I thought I had disabled it at one point in my testing. 

I seem to have cleared the problem, by switching from mod_jk to mod_proxy_ajp.  It's funny that they are so closely related though.  I wonder if the real issue isn't in apr or somewhere else.

Xuekun Hu wrote:
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 <wertmane@xxxxxxxxxxx> 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@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


--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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