RE: [squid-users] Swap usage is constantly increasing

From: Zand, Nooshin <nooshin.zand@dont-contact.us>
Date: Fri, 29 Aug 2003 17:07:42 -0700

Hi,
First thanks for reply.
The only active serives in use is squid.
System has 1G RAM. 500MB of SWAP.
Squid uses most memory
xxxx 981 50.6 36.8 412260 379372 ? S Aug27 1702:23 (squid)
-f /squid/conf/squid.conf
xxxx 1005 0.6 0.0 2108 372 ? S Aug27 23:15 diskd
1004544 1004545 1004546

Cache_mem 128 MB
cache_dir diskd /cache 50000 16 256

Info from cache manager
Memory usage for squid via mallinfo():
        Total space in arena: 399040 KB
        Ordinary blocks: 375575 KB 341 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 8448 KB 4 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 23465 KB
        Total in use: 384023 KB 94%
        Total free: 23465 KB 6%
        Total size: 407488 KB
Memory accounted for:
        Total accounted: 318446 KB
        memPoolAlloc calls: 1203621369
        memPoolFree calls: 1196886394
File descriptor usage for squid:
        Maximum number of file descriptors: 32768
        Largest file desc currently in use: 1434
        Number of file desc currently in use: 596
        Files queued for open: 0
        Available number of file descriptors: 32172
        Reserved number of file descriptors: 100
        Store Disk files open: 0
Internal Data Structures:
        2041437 StoreEntries
         25666 StoreEntries with MemObjects
         25633 Hot Object Cache Items
        2040502 on-disk objects

Thanks,
Nooshin

-----Original Message-----
From: Adam Aube [mailto:aaube@firstindependent.net]
Sent: Friday, August 29, 2003 5:49 AM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] Swap usage is constantly increasing

> I am testing Stable5.STABLE2 on Redhat 9.0 and notice
> Swap usage is constantly increasing.
> The system crashed and I am wonder if it was out of
> any system resources.

- Is this box running any services besides Squid?
- Using ps aux, which processes are using the most memory?
- What is cache_mem and cache_dir set to in squid.conf?
- Using Cache Manager, how many objects are in the cache?

Adam
Received on Fri Aug 29 2003 - 18:07:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:18 MST