output of squidclient mgr:info

View: New views
11 Messages — Rating Filter:   Alert me  

output of squidclient mgr:info

by Guido Lorenzutti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi people: Can someone explain to me why some of the values of memory  
usage are negative? Is this bad or bug?

Tnxs in advance.

squidclient mgr:info
HTTP/1.0 200 OK
Server: squid
Date: Wed, 04 Nov 2009 17:53:10 GMT
Content-Type: text/plain
Expires: Wed, 04 Nov 2009 17:53:10 GMT
X-Cache: MISS from MYPROXY.MYDOMAIN
X-Cache-Lookup: MISS MYPROXY.MYDOMAIN:3128
Via: 1.0 MYPROXY.MYDOMAIN:3128 (squid)
Connection: close

Squid Object Cache: Version 2.7.STABLE3
Start Time:     Tue, 03 Nov 2009 09:29:10 GMT
Current Time:   Wed, 04 Nov 2009 17:53:10 GMT
Connection information for squid:
         Number of clients accessing cache:      60
         Number of HTTP requests received:       2661619
         Number of ICP messages received:        0
         Number of ICP messages sent:    0
         Number of queued ICP replies:   0
         Number of HTCP messages received:       0
         Number of HTCP messages sent:   0
         Request failure ratio:   0.00
         Average HTTP requests per minute since start:   1369.1
         Average ICP messages per minute since start:    0.0
         Select loop called: 23992429 times, 4.862 ms avg
Cache information for squid:
         Request Hit Ratios:     5min: 20.2%, 60min: 20.2%
         Byte Hit Ratios:        5min: 42.3%, 60min: 44.7%
         Request Memory Hit Ratios:      5min: 27.7%, 60min: 30.6%
         Request Disk Hit Ratios:        5min: 24.2%, 60min: 29.5%
         Storage Swap size:      10023288 KB
         Storage Mem size:       2088020 KB
         Mean Object Size:       22.72 KB
         Requests given to unlinkd:      0
Median Service Times (seconds)  5 min    60 min:
         HTTP Requests (All):   0.01235  0.01235
         Cache Misses:          0.42149  0.42149
         Cache Hits:            0.00286  0.00286
         Near Hits:             0.05331  0.04519
         Not-Modified Replies:  0.00179  0.00286
         DNS Lookups:           0.18639  0.19488
         ICP Queries:           0.00000  0.00000
Resource usage for squid:
         UP Time:        116639.811 seconds
         CPU Time:       242.047 seconds
         CPU Usage:      0.21%
         CPU Usage, 5 minute avg:        0.33%
         CPU Usage, 60 minute avg:       0.38%
         Process Data Segment Size via sbrk(): 1040852 KB
         Maximum Resident Size: 0 KB
         Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
         Total space in arena:  -1750572 KB
         Ordinary blocks:       -1751323 KB    115 blks
         Small blocks:               0 KB      0 blks
         Holding blocks:          1424 KB      2 blks
         Free Small blocks:          0 KB
         Free Ordinary blocks:     750 KB
         Total in use:          -1749899 KB 100%
         Total free:               750 KB 0%
         Total size:            -1749148 KB
Memory accounted for:
         Total accounted:       2341512 KB
         memPoolAlloc calls: 330657904
         memPoolFree calls: 325390289
File descriptor usage for squid:
         Maximum number of file descriptors:   1024
         Largest file desc currently in use:    676
         Number of file desc currently in use:  556
         Files queued for open:                   0
         Available number of file descriptors:  468
         Reserved number of file descriptors:   100
         Store Disk files open:                   1
         IO loop method:                     epoll
Internal Data Structures:
         443803 StoreEntries
         148194 StoreEntries with MemObjects
         148140 Hot Object Cache Items
         441238 on-disk objects



Squid Throughput Stats

by Robert Szabo-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am looking for some performance measurements for squid e.g. with average message size of x kilobytes squid can handle x transactions per second.


Does anyone have stats that cover this, or a know of a utility that can gather such information?


Many thanks,

Bob

****************************************************************************************
This email and any files transmitted with are confidential and intended solely for the
use of the individual or entity to whom they are addressed.  If you have received this
email in error then please delete it and notify the sender. Do not make a copy or forward
it to anyone.  This footnote also confirms that this email message has been swept for the
presence of computer viruses.

Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors Lane, Dublin 8,Ireland
Directors: B Collins, L Burke (UK), G. Maclachlan (UK), S. Tirtey (DE).
Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430
****************************************************************************************

Re: Squid Throughput Stats

by Guido Lorenzutti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

for me.. cacti change my life.

http://www.cacti.net/

Also, you can see the stats of everything of your server.... and  
search per hour, day, month, year, or custom.

My choice.

Ask if you need a hand to set up.

Bye.

Robert Szabo <Robert.Szabo@...> escribió:

> I am looking for some performance measurements for squid e.g. with  
> average message size of x kilobytes squid can handle x transactions  
> per second.
>
>
> Does anyone have stats that cover this, or a know of a utility that  
> can gather such information?
>
>
> Many thanks,
>
> Bob
>
> ****************************************************************************************
> This email and any files transmitted with are confidential and  
> intended solely for the
> use of the individual or entity to whom they are addressed.  If you  
> have received this
> email in error then please delete it and notify the sender. Do not  
> make a copy or forward
> it to anyone.  This footnote also confirms that this email message  
> has been swept for the
> presence of computer viruses.
>
> Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors  
> Lane, Dublin 8,Ireland
> Directors: B Collins, L Burke (UK), G. Maclachlan (UK), S. Tirtey (DE).
> Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430
> ****************************************************************************************
>



Re: Squid Throughput Stats

by Jorge Armando Medina-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robert Szabo wrote:
> I am looking for some performance measurements for squid e.g. with average message size of x kilobytes squid can handle x transactions per second.
>
>
> Does anyone have stats that cover this, or a know of a utility that can gather such information?
>
>  
You can use calamaris for that purpose.

Best resgards and good look.

> Many thanks,
>
> Bob
>
> ****************************************************************************************
> This email and any files transmitted with are confidential and intended solely for the
> use of the individual or entity to whom they are addressed.  If you have received this
> email in error then please delete it and notify the sender. Do not make a copy or forward
> it to anyone.  This footnote also confirms that this email message has been swept for the
> presence of computer viruses.
>
> Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors Lane, Dublin 8,Ireland
> Directors: B Collins, L Burke (UK), G. Maclachlan (UK), S. Tirtey (DE).
> Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430
> ****************************************************************************************
>  

--
Jorge Armando Medina
Computación Gráfica de México
Web: http://www.e-compugraf.com
Tel: 55 51 40 72, Ext: 124
Email: jmedina@...
GPG Key: 1024D/28E40632 2007-07-26
GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632




signature.asc (260 bytes) Download Attachment

Re: Squid Throughput Stats

by Amos Jeffries-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 4 Nov 2009 20:06:10 -0000, "Robert Szabo"
<Robert.Szabo@...> wrote:
> I am looking for some performance measurements for squid e.g. with
average
> message size of x kilobytes squid can handle x transactions per second.
>

This is highly dependent on particular hardware, configuration, network
loads, and client behavior. All we can do is provide some hints towards the
maximum capacity to look for.
Some reports of real-world capacities seen are listed at
http://wiki.squid-cache.org/KnowledgeBase/Benchmarks

I've seen Squid-3 (the 'slowest' release) do a 2KB object at 200req/minute
from the network; 1,200req/min from disk; or 18,00req/min from memory
myself.  If you can surpass the known 'max' all the better, let us know how
please :)

>
> Does anyone have stats that cover this, or a know of a utility that can
> gather such information?

I'm aware of apachebench and web polygraph there are likely other tools
for benchmarking HTTP.

Squid also maintains stats internally, you just need to pull them out. As
earlier mentioned cacti is one tool, though any SNMP query agent should be
capable of pulling the stats out through the SNMP interface.

Aside from SNMP there is the cache manager interface. The tools provided
for that and bundled with squid are squidclient (command line API) or
cachemgr.cgi (web page API).

Amos


RE: Squid Throughput Stats

by Zabrina Mohamad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI, Need some help. How do I unsubscribe from this group. Reason why is we are not using squid anymore.

TQVM.

-----Original Message-----
From: Jorge Armando Medina [mailto:jmedina@...]
Sent: Thursday, November 05, 2009 8:29 AM
To: squid-users@...
Subject: Re: [squid-users] Squid Throughput Stats

Robert Szabo wrote:
> I am looking for some performance measurements for squid e.g. with average message size of x kilobytes squid can handle x transactions per second.
>
>
> Does anyone have stats that cover this, or a know of a utility that can gather such information?
>
>  
You can use calamaris for that purpose.

Best resgards and good look.

> Many thanks,
>
> Bob
>
> **********************************************************************
> ****************** This email and any files transmitted with are
> confidential and intended solely for the use of the individual or
> entity to whom they are addressed.  If you have received this email in
> error then please delete it and notify the sender. Do not make a copy
> or forward it to anyone.  This footnote also confirms that this email
> message has been swept for the presence of computer viruses.
>
> Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors Lane,
> Dublin 8,Ireland
> Directors: B Collins, L Burke (UK), G. Maclachlan (UK), S. Tirtey (DE).
> Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430
> **********************************************************************
> ******************
>  


--
Jorge Armando Medina
Computación Gráfica de México
Web: http://www.e-compugraf.com
Tel: 55 51 40 72, Ext: 124
Email: jmedina@...
GPG Key: 1024D/28E40632 2007-07-26
GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632


Save paper, save a tree, save the environment.
Disclaimer Note.

This e-mail and any files transmitted with it is confidential and intended  solely for the use of the
individual or entity to whom it is addressed. If you are  not the intended  recipient , or the person
responsible for delivering the e-mail, be advised that you  have  received  this e-mail and any files
transmitted with it in error and that any use, dissemination, forwarding, printing or copying of this
e-mail and any files transmitted with it is strictly prohibited. If you have received this e-mail and
any files transmitted with it in error, please advise  the  sender  immediately  by  reply e-mail and
delete this message.

Re: output of squidclient mgr:info

by Amos Jeffries-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 04 Nov 2009 14:55:09 -0300, Guido Marino Lorenzutti
<glorenzutti@...> wrote:
> Hi people: Can someone explain to me why some of the values of memory  
> usage are negative? Is this bad or bug?

32-bit signed/unsigned bug. Fixed in later releases.

Amos

>
> Tnxs in advance.
>
> squidclient mgr:info
> HTTP/1.0 200 OK
> Server: squid
> Date: Wed, 04 Nov 2009 17:53:10 GMT
> Content-Type: text/plain
> Expires: Wed, 04 Nov 2009 17:53:10 GMT
> X-Cache: MISS from MYPROXY.MYDOMAIN
> X-Cache-Lookup: MISS MYPROXY.MYDOMAIN:3128
> Via: 1.0 MYPROXY.MYDOMAIN:3128 (squid)
> Connection: close
>
> Squid Object Cache: Version 2.7.STABLE3
> Start Time:     Tue, 03 Nov 2009 09:29:10 GMT
> Current Time:   Wed, 04 Nov 2009 17:53:10 GMT
> Connection information for squid:
>          Number of clients accessing cache:      60
>          Number of HTTP requests received:       2661619
>          Number of ICP messages received:        0
>          Number of ICP messages sent:    0
>          Number of queued ICP replies:   0
>          Number of HTCP messages received:       0
>          Number of HTCP messages sent:   0
>          Request failure ratio:   0.00
>          Average HTTP requests per minute since start:   1369.1
>          Average ICP messages per minute since start:    0.0
>          Select loop called: 23992429 times, 4.862 ms avg
> Cache information for squid:
>          Request Hit Ratios:     5min: 20.2%, 60min: 20.2%
>          Byte Hit Ratios:        5min: 42.3%, 60min: 44.7%
>          Request Memory Hit Ratios:      5min: 27.7%, 60min: 30.6%
>          Request Disk Hit Ratios:        5min: 24.2%, 60min: 29.5%
>          Storage Swap size:      10023288 KB
>          Storage Mem size:       2088020 KB
>          Mean Object Size:       22.72 KB
>          Requests given to unlinkd:      0
> Median Service Times (seconds)  5 min    60 min:
>          HTTP Requests (All):   0.01235  0.01235
>          Cache Misses:          0.42149  0.42149
>          Cache Hits:            0.00286  0.00286
>          Near Hits:             0.05331  0.04519
>          Not-Modified Replies:  0.00179  0.00286
>          DNS Lookups:           0.18639  0.19488
>          ICP Queries:           0.00000  0.00000
> Resource usage for squid:
>          UP Time:        116639.811 seconds
>          CPU Time:       242.047 seconds
>          CPU Usage:      0.21%
>          CPU Usage, 5 minute avg:        0.33%
>          CPU Usage, 60 minute avg:       0.38%
>          Process Data Segment Size via sbrk(): 1040852 KB
>          Maximum Resident Size: 0 KB
>          Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
>          Total space in arena:  -1750572 KB
>          Ordinary blocks:       -1751323 KB    115 blks
>          Small blocks:               0 KB      0 blks
>          Holding blocks:          1424 KB      2 blks
>          Free Small blocks:          0 KB
>          Free Ordinary blocks:     750 KB
>          Total in use:          -1749899 KB 100%
>          Total free:               750 KB 0%
>          Total size:            -1749148 KB
> Memory accounted for:
>          Total accounted:       2341512 KB
>          memPoolAlloc calls: 330657904
>          memPoolFree calls: 325390289
> File descriptor usage for squid:
>          Maximum number of file descriptors:   1024
>          Largest file desc currently in use:    676
>          Number of file desc currently in use:  556
>          Files queued for open:                   0
>          Available number of file descriptors:  468
>          Reserved number of file descriptors:   100
>          Store Disk files open:                   1
>          IO loop method:                     epoll
> Internal Data Structures:
>          443803 StoreEntries
>          148194 StoreEntries with MemObjects
>          148140 Hot Object Cache Items
>          441238 on-disk objects

RE: Squid Throughput Stats

by Amos Jeffries-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 5 Nov 2009 09:46:54 +0800, "Zabrina Mohamad"
<zabrina@...> wrote:
> HI, Need some help. How do I unsubscribe from this group. Reason why is
we
> are not using squid anymore.
>
> TQVM.

Sad news.

The unsubscribe info is on the mailing list information page:
  http://www.squid-cache.org/Support/mailing-lists#squid-users

Amos


UNsubscribe from SQUID mailing list

by Zabrina Mohamad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI,
Would like your help on how to unsubscribe from this mailing list.

TQ.

Save paper, save a tree, save the environment.
Disclaimer Note.

This e-mail and any files transmitted with it is confidential and intended  solely for the use of the
individual or entity to whom it is addressed. If you are  not the intended  recipient , or the person
responsible for delivering the e-mail, be advised that you  have  received  this e-mail and any files
transmitted with it in error and that any use, dissemination, forwarding, printing or copying of this
e-mail and any files transmitted with it is strictly prohibited. If you have received this e-mail and
any files transmitted with it in error, please advise  the  sender  immediately  by  reply e-mail and
delete this message.

Re: output of squidclient mgr:info

by Henrik Nordstrom-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tor 2009-11-05 klockan 15:48 +1300 skrev Amos Jeffries:
> On Wed, 04 Nov 2009 14:55:09 -0300, Guido Marino Lorenzutti
> <glorenzutti@...> wrote:
> > Hi people: Can someone explain to me why some of the values of memory  
> > usage are negative? Is this bad or bug?

> 32-bit signed/unsigned bug. Fixed in later releases.

Sure?

last time I looked at this it's due to mallinfo() breakage, only
supporting 32-bit signed values... which means garbage on any process
larger than ca 2GB.

Even confirmed by glibc developers as a wontfix issue, declaring
mallinfo a dead end not worth fixing, but still no other better
alternative available..

Regards
Henrik


Re: output of squidclient mgr:info

by Guido Lorenzutti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Henrik Nordstrom <henrik@...> escribió:

> tor 2009-11-05 klockan 15:48 +1300 skrev Amos Jeffries:
>> On Wed, 04 Nov 2009 14:55:09 -0300, Guido Marino Lorenzutti
>> <glorenzutti@...> wrote:
>> > Hi people: Can someone explain to me why some of the values of memory
>> > usage are negative? Is this bad or bug?
>
>> 32-bit signed/unsigned bug. Fixed in later releases.
>
> Sure?
>
> last time I looked at this it's due to mallinfo() breakage, only
> supporting 32-bit signed values... which means garbage on any process
> larger than ca 2GB.
>
> Even confirmed by glibc developers as a wontfix issue, declaring
> mallinfo a dead end not worth fixing, but still no other better
> alternative available..
>
> Regards
> Henrik
>
>

Common... don't tell me this..
So then this isn't a bug?
If it is a bug, in which version it works?