apache不能支持2+Gb size的文件

本文可自由转载,但请遵循“署名-非商业用途-保持一致”的创作共用协议。 永久链接:JoeCen's 小猫窝
-----------------------------

今天在测试机在外面下了一个3.4G的dvd文件,想通过apache下载到本地,谁知却一直不能下载。

error log上报

“(75)Value too large for defined data type: access to”


google
了一下,发现很多人都提出过这个问题,可惜无解。

> Hello,
/> I'm using Apache version 1.3.23 on a Linux box. I have a few files in my
web
/> directory that are quite large. When I try accessing them I get this
error:
/> 192.168.10.10 - - [25/Feb/2003:12:36:07 +1100] "GET /test/image.ddbindat
/> HTTP/1.1" 403 306
/> [Tue Feb 25 12:36:07 2003] [error] [client 192.168.10.10] (75)Value too
/> large for defined data type: access to /test/image.ddbindat failed
/>
/> The file in question is:
/> -rw-r--r-- 1 nobody nobody 5.9G Feb 20 15:11 image.ddbindat
/>
/> How can I fix this? Any help would be appreciated.
/> Thanks,

You'll probably have to break it up into either pieces smaller than 2^32 or
2^31. 5.9GB is bigger than what a 32 bit datatype can handle, so you get
the "value too large" error :(

看来只能用其它方法来下了。

update:事实证明,ftp是可以支持2+Gb size的file的。

随机日志

  • 东瀛见闻录2-智能便座
  • 9.18
  • popo终于能用默认浏览器打开链接了
  • RedHat和FreeBSD下的net-snmp配置方法
  • You Are Not Alone, Michael!
  • Leave a Reply