RE: [squid-users] FW: Squid memory utilization

From: Scott Phalen <sphalen@dont-contact.us>
Date: Fri, 20 Feb 2004 12:37:31 -0600

Thanks for showing me that command. Here is the info you asked for.
Anything I should be concerned about in here?

Resource usage for squid:
        UP Time: 13526.773 seconds
        CPU Time: 1184.000 seconds
        CPU Usage: 8.75%
        CPU Usage, 5 minute avg: 14.68%
        CPU Usage, 60 minute avg: 12.46%
        Process Data Segment Size via sbrk(): 153436 KB
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 473

Memory accounted for:
        Total accounted: 114009 KB
        memPoolAlloc calls: 36193911
        memPoolFree calls: 34404245

Connection information for squid:
        Number of clients accessing cache: 607
        Number of HTTP requests received: 273414
        Number of ICP messages received: 0
        Number of ICP messages sent: 0
        Number of queued ICP replies: 0
        Request failure ratio: 0.00
        Average HTTP requests per minute since start: 1212.8
        Average ICP messages per minute since start: 0.0
        Select loop called: 2145209 times, 6.306 ms avg

-----Original Message-----
From: Duane Wessels [mailto:wessels@squid-cache.org]
Sent: Friday, February 20, 2004 12:21 PM
To: Scott Phalen
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] FW: Squid memory utilization

On Fri, 20 Feb 2004, Scott Phalen wrote:

> Ok, I have been all over the memory FAQs and still can't figure out why my
> server is consuming all it's RAM. I have 2GIG of DDR RAM and the only
> service running on this server is Squid. My cache_mem is set to 64MB and
> cache_dir is 10000 16 256. During peak hours my RAM is consumed very
fast.
> Is there something else I should be configuring besides cache_mem and
> cache_dir to minimize memory use?
>
> Any help would be greatly appreciated!

how much memory is Squid using? Show us the output from:

        squidclient mgr:info

that looks like this:

        Resource usage for squid:
                ...
                Process Data Segment Size via sbrk(): 141206 KB
                Maximum Resident Size: 150620 KB
                Page faults with physical i/o: 5
        Memory accounted for:
                Total accounted: 89475 KB
                memPoolAlloc calls: 337571214
                memPoolFree calls: 334378229

Duane W.
Received on Fri Feb 20 2004 - 11:37:37 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST