Re: [squid-users] 64-bit squid source

From: François Cami <fcami@dont-contact.us>
Date: Thu, 14 Feb 2008 09:47:03 +0100

On Thu, 14 Feb 2008 10:54:52 +0800
"J. Peng" <peng.kyo@gmail.com> wrote:

> I found that 32-bit squid can run max memory of 1.8G.
> does a 64-bit squid support much larger memory than the limit above?
> where to get a 64-bit squid source? thanks!

You need to use a 64 bit OS (look for x86_64 instead of i386 / i686) ;
either you get squid packaged with the OS (RHEL, etc) or you compile
the sources (usual download location, nothing special) yourself on such
an OS. This is a squid compiled from the tarball from squid-cache.org :

# ldd /usr/local/sbin/squid
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003d72600000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003d71e00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003d71a00000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x000000314bc00000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x000000314c800000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003d72a00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003d71600000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003d72e00000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003d70600000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003d70200000)

However, I have no experience running squid with more than 2GB of
memory, even on 64 bit.

François Cami
Received on Thu Feb 14 2008 - 01:52:48 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST