Re: [squid-users] Possible bug? cache_mem-output is wrong by querying it with squidclient

From: Tom Tux <tomtux80_at_gmail.com>
Date: Fri, 27 Aug 2010 09:28:07 +0200

Amos,

It's 3.1.6 installed on a 64bit linux.

2010/8/27 Amos Jeffries <squid3_at_treenet.co.nz>:
> Tom Tux wrote:
>>
>> Hi
>>
>> When I allocate for instance 2 GB cache_mem, then the
>> squidclient-output seems wrong:
>>
>> squidy:/ # grep -i cache_mem /etc/squid/squid.conf
>> cache_mem 2048 MB
>>
>> squidy:/tmp # squidclient mgr:config_at_something | grep -i "cache_mem"
>> cache_mem -2147483648 bytes
>>
>>
>>
>> When I associate 4 GB, then the squidclient see no cache_mem:
>> squidy:/ # grep -i cache_mem /etc/squid/squid.conf
>> cache_mem 4096 MB
>>
>> squidy:/ # squidclient mgr:config_at_something | grep -i "cache_mem"
>> cache_mem 0 bytes
>>
>>
>> Is this a bug? How can I check, how much cache_mem is effective
>> associated?
>> Thanks a lot.
>> Tom
>
> Looks like a 32-bit wrap bug.
> Which version of Squid is this?
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE9 or 3.1.7
>  Beta testers wanted for 3.2.0.1
>
Received on Fri Aug 27 2010 - 07:28:14 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 27 2010 - 12:00:03 MDT