close
如果掛proxy or Squid有時會發現
下載超過2G的檔案會停在2~2.1G就停了
檔案下載不完全
/var/log/squid/cache.log會出現
WARNING: preventing off_t overflow for ......................(省略)
原因:
You ran ran 32-bit application trying to store
more than 2G of data in a file without being
compiled with LFS support. 2GB = 2^(32-1)
bytes and is the limit on what the POSIX file
I/O API can handle in 32-bit mode.
Fix: Recompile the ICAP server with LFS support
(64-bit file I/O), or move to a 64-bit OS if
supported by CPU and forget all of these 32-bit
issues...
簡單說,就是32bit作業系統的問題,換成64bit就好了
不然就加入這個option
./configure
.
.
.
(略)
.
.
.
--with-build-environment=POSIX_V6_ILP32_OFFBIG \\32 bits with large file support
全站熱搜