Apache has a 2GB file limit on a CIFS network drive?
Posted
by netvope
on Server Fault
See other posts from Server Fault
or by netvope
Published on 2010-03-23T23:14:11Z
Indexed on
2010/03/23
23:23 UTC
Read the original article
Hit count: 536
Setup:
- A Windows and a Ubuntu Server are hosted in VMware ESXi
- I have a a 6GB file on a Windows share
- The Windows share is mount on Ubuntu with
smbmount
- A symlink pointing to the 6GB file is created in a
public_html
directory, which is readable by Apache
The problem:
wget
gets an errorConnection closed at byte 2130706432. Retrying.
after downloading 2130706432 bytes (exactly 2032 MiB, and is the same every time)- Apache returns
206 Partial Content
without showing any errors in the log - Same error even if I download from
localhost
- Similar error when Firefox is used instead of
wget
- No error if I
md5sum
orcp
the file on Ubuntu, suggesting thatsmbmount
and the Windows Server are OK with 6GB files. - No error if Apache serve a 6GB file from the local disk, suggesting that Apache has no problems handling 6GB files.
Any ideas why Apache/symlink/smbmount/Windows would cause an error when used together? How can I fix the problem?
Software used:
- VMware ESXi 4 Update 1
- Windows Server 2008 R2
- Ubuntu 8.04 Server, vmxnet3
- Apache 2.2.8
- mount.cifs 1.10-3.0.28a
© Server Fault or respective owner