Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache 2.2 doesn't serve large image files

user2037448Mar 24 2015 — edited Mar 24 2015

I have an image repository with several hundred thousand images in a variety of formats.

For the small image files (under 100 MB) Apache serves up the files fine, however when I try to serve up a file greater than 100 MB the web browser immediately puts up the X in a box and refuses to serve up the image.

I can do a "save as" and get the image downloaded.

When I try wget http://127.0.0.1/test.jpg I download the image fine.

the only lines I have changed in my test httpd.conf file -

#

# EnableMMAP and EnableSendfile: On systems that support it,

# memory-mapping or the sendfile syscall is used to deliver

# files.  This usually improves server performance, but must

# be turned off when serving from networked-mounted

# filesystems or if support for these functions is otherwise

# broken on your system.

#

EnableMMAP off

EnableSendfile off

What's going on here and how do I trouble shoot, as I have discovered it doesn't matter which apache version I use or browser or server or solaris version. 

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2015
Added on Mar 24 2015
1 comment
860 views