Re: [squid-users] More than 4GB of ram

From: Henrik Nordstrom <[email protected]>
Date: Wed, 22 Mar 2006 03:10:05 +0100

tis 2006-03-21 klockan 16:25 -0800 skrev Mike Leong:

> [root@cache1 squid-2.5.STABLE12]# ./configure --prefix=/apps/squid
> --enable-x-accelerator-vary --enable-linux-netfilter --enable-cache-digests
> --enable-htcp --enable-snmp --enable-referer-log --enable-useragent-log
> --enable-delay-pools --enable-icmp --enable-async-io=100 --enable-carp
> --with-large-files --with-maxfd=10240 --enable-removal-policies=lru,heap

Remove --with-large-files. Not needed on 64-bit OS:es and actually
causes your binary to be built as a 32-bit with support for 64-bit files
unless you also tell it to use a 64-bit build environment.

I would also recommend you to upgrade to 2.5.STABLE13. There was some
small 64-bit fixes when I bought my 64-bit box.. (the old PIII 800Mhz
laptop I used before is completely worn out..)

> notice the -m32 flag for gcc? is that for 32bit mode?

Yep.

Regards
Henrik

Received on Tue Mar 21 2006 - 19:10:13 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST