Re: [squid-users] SNMP queries to squid never go beyond 1 GB

2015-03-19 Thread Amos Jeffries
On 20/03/2015 7:17 p.m., Amos Jeffries wrote:
> On 20/03/2015 2:55 p.m., Lawrence Pingree wrote:
>> No matter what cache_mem I set it seems that MRTG queries via SNMP never
>> seem to get beyond 1 GB even running the latest 3.5 code. Amos, is the code
>> capable of allocating more than one gig of memory?
> 
> Yes but the SNMPv2 used by Squid only has 32-bit counters.
> 
> We have quite a few 32-bit wrap related bugs waiting somebody who knows
> SNMP to do a library upgrade to SNMPv3.

Forgot to mention the other possibility...

cache_mem is an HTTP data cache and has the same object limits as any
disk cache. None of them may store more than 2^27-1 objects due to
design limits in the indexing. cache_mem also has a much higher rate of
0-byte and small objects than disks usually see.

So its very possible that simply the size of 2^27-1 worth of the small
and most popular objects in your traffic == 1GB.

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] SNMP queries to squid never go beyond 1 GB

2015-03-19 Thread Amos Jeffries
On 20/03/2015 2:55 p.m., Lawrence Pingree wrote:
> No matter what cache_mem I set it seems that MRTG queries via SNMP never
> seem to get beyond 1 GB even running the latest 3.5 code. Amos, is the code
> capable of allocating more than one gig of memory?

Yes but the SNMPv2 used by Squid only has 32-bit counters.

We have quite a few 32-bit wrap related bugs waiting somebody who knows
SNMP to do a library upgrade to SNMPv3.

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] SNMP queries to squid never go beyond 1 GB

2015-03-19 Thread Lawrence Pingree
No matter what cache_mem I set it seems that MRTG queries via SNMP never
seem to get beyond 1 GB even running the latest 3.5 code. Amos, is the code
capable of allocating more than one gig of memory?

 

Storage Mem Size @ x

The statistics were last updated Thursday, 19 March 2015 at 18:48,
at which time 'squid 3.5.1' had been up for 10:27:16.

`Daily' Graph (5 Minute Average)




Max

Average

Current


Mem Size 

980.8 MBytes

648.1 MBytes

139.5 MBytes

 

 

 

"Convert your dreams to achievable and realistic goals, this way the journey
is satisfying and progressive." - LP

 

Best regards,

The Geek Guy



Lawrence Pingree

 
http://www.lawrencepingree.com/resume/

 

 

Author of "The Manager's Guide to Becoming Great"

  http://www.Management-Book.com

 

 
 

 

 

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users