Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105838 - Apache cannot handle files over 2 GB in size
Summary: Apache cannot handle files over 2 GB in size
Status: RESOLVED DUPLICATE of bug 94653
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://knoppix-dvd.mirrors.tera-byte....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 12:56 UTC by Travis Morgan
Modified: 2005-09-13 13:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Morgan 2005-09-13 12:56:25 UTC
Apache will not list files in the index if they are over 2 GB in size, and will
not allow you to download them if requested directly.

http://knoppix-dvd.mirrors.tera-byte.com
http://knoppix-dvd.mirrors.tera-byte.com/KNOPPIX_V4.0DVD-2005-08-16-EN.iso


Reproducible: Always
Steps to Reproduce:
1. Create a file larger that 2 GB
2. Attempt to download the file
3. Check error log

Actual Results:  
Forbidden

You don't have permission to access /KNOPPIX_V4.0DVD-2005-08-16-EN.iso on this
server.

In the error log:
[Tue Sep 13 13:43:23 2005] [error] [client 204.209.57.205] (75)Value too large
for defined data type: access to /KNOPPIX_V4.0DVD-2005-08-16-EN.iso failed


Expected Results:  
Should list the file in the index and allow you to download the file normally.

http://mirrors.tera-byte.com/test/
http://mirrors.tera-byte.com/test/test_1.0GB.bin
http://mirrors.tera-byte.com/test/test_1.9GB.bin
http://mirrors.tera-byte.com/test/test_2.0GB.bin

Note the 2.0 isn't listed and can't be downloaded.

The files were created as follows
dd if=/dev/zero of=test_1.0GB.bin bs=1024 count=1048576
dd if=/dev/zero of=test_1.9GB.bin bs=1024 count=1992294
dd if=/dev/zero of=test_2.0GB.bin bs=1024 count=2097152

I also noticed something about a 2GB filesize limit being fixed as of 2.0.53 in
the apache changelog, but it may be a seperate issue.

Server version: Apache/2.0.54
Server built:   Sep  1 2005 14:37:57
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/sbin/suexec2"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/conf/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/conf/apache2.conf"

[ebuild   R   ] net-www/apache-2.0.54-r9  +berkdb -doc +gdbm -ipv6 -ldap
(-selinux) +ssl -static -threads 0 kB 

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync9.ca.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt curl eds emboss encode
foomaticdb gd gdbm gif gpm gstreamer gtk2 imlib jpeg libg++ libwww mad mikmod
motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis pam pdflib perl png
python quicktime readline sdl snmp spell sse ssl tcpd truetype truetype-fonts
type1-fonts vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Hostname: mirrors - OS: Linux 2.6.11-gentoo-r9/i686 - Distro: Gentoo 1.6.13 -
CPU: Intel Pentium 4 (2400.934 MHz) - Processes: 55 - Uptime: 101d 2h 27m -
Users: 1 - Load Average: 0.51 - Memory Usage: 147.38MB/885.74MB (16.64%) - Disk
Usage: 128.69GB/186.25GB (69.10%)

Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda3 reiserfs    186G  129G   58G  70% /
none         tmpfs    443M     0  443M   0% /dev/shm
/dev/hda1     ext2     54M  2.2M   49M   5% /boot
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-13 13:08:39 UTC
Sorry, you need to wait for 2.1, this is an upstream issue.

*** This bug has been marked as a duplicate of 94653 ***