please help me

From: Prashant Desai <reach_prashant@dont-contact.us>
Date: Mon, 14 Feb 2000 00:49:20 +0530

Henrik
   please go through this squid info and suggest me any changes that r needed to tune my cache ( squid 2.2 Stable 4 )running on redhat 6.1
problems
1> very high pagefaults with disk i/o to total no of http requests ratio , it was around 0.1 up to 400000 to 500000 http requests but inceasing very rapidly
 
2> top command is showing that
total mem ~ 582mb
used mem ~ 578mb
free mem ~ 3mb to 6mb
 
3> i have just added one new cache disk of around 3000MB to it i am sending
my StoreDirectory Status page too
 

my current config is:
1> avg_object_size 10 kb
2> maximum_object_size 2048 kb
3> cache_mem 32 MB
4> cache_dir /cache1 16 256
5> cache_dir /cache2 16 256
6> ip_cache_entry 2048
 

      if u wnat some configuration details of any other tag then i will send it to u
 
one more thing i want to know is that is it possible that squid sends the http request for any object to origin server with ip address of the client that had actually requested that object .
 
please help me henrik
regards prashant desai
 
 
 
Squid Object Cache: Version 2.2.STABLE4
Start Time: Fri, 11 Feb 2000 07:55:50 GMT
            Current Time: Sun, 13 Feb 2000 16:55:27 GMT
    
Connection information for squid:
        Number of clients accessing cache: 156
        Number of HTTP requests received: 891743
        Number of ICP messages received: 0
        Number of ICP messages sent: 0
        Number of queued ICP replies: 0
        Request failure ratio: 0.00%
        HTTP requests per minute: 260.8
        ICP messages per minute: 0.0
        Select loop called: 8847061 times, 23.192 ms avg
Cache information for squid:
        Request Hit Ratios: 5min: 54.0%, 60min: 53.3%
        Byte Hit Ratios: 5min: 37.9%, 60min: 40.4%
        Storage Swap size: 1293181 KB
        Storage Mem size: 16392 KB
        Storage LRU Expiration Age: 3.00 days
        Mean Object Size: 7.33 KB
        Requests given to unlinkd: 14324
Median Service Times (seconds) 5 min 60 min:
        HTTP Requests (All): 0.05951 0.06286
        Cache Misses: 2.13280 2.94900
        Cache Hits: 0.02451 0.02317
        Near Hits: 1.91442 1.91442
        Not-Modified Replies: 0.01745 0.01745
        DNS Lookups: 0.04237 0.02336
        ICP Queries: 0.00000 0.00000
Resource usage for squid:
        UP Time: 205177.047 seconds
        CPU Time: 8902.780 seconds
        CPU Usage: 4.34%
        CPU Usage, 5 minute avg: 14.66%
        CPU Usage, 60 minute avg: 12.91%
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 209290
Memory usage for squid via mallinfo():
        Total space in arena: 141662 KB
        Ordinary blocks: 39256 KB 94574 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 176 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 102405 KB
        Total in use: 39432 KB 28%
        Total free: 102405 KB 72%
Memory accounted for:
        Total accounted: 31815 KB
File descriptor usage for squid:
        Maximum number of file descriptors: 1024
        Largest file desc currently in use: 166
        Number of file desc currently in use: 131
        Files queued for open: 0
        Available number of file descriptors: 893
        Reserved number of file descriptors: 100
        Store Disk files open: 3
Internal Data Structures:
        176517 StoreEntries
          3405 StoreEntries with MemObjects
          3362 Hot Object Cache Items
        176356 Filemap bits set
        176353 on-disk objects

Store Directory Status :

Store Directory Statistics:Store Entries : 177192
Maximum Swap Size : 6144000 KB
Current Store Swap Size: 1296838 KB
Current Capacity : 21% used, 79% freeStore
 Directory #0: /cache1/squid
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 3072000 KB
Current Size: 1229829 KB
Percent Used: 40.03%
Filemap bits in use: 167163 of 682666 (24%)Filesystem Space
in use: 1568236/3834464 KB (41%)
Filesystem Inodes in use: 185159/487680 (38%)

Flags:Store Directory #1: /cache2/squid
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 3072000 KBCurrent Size: 67009 KBPercent
Used: 2.18%
Filemap bits in use: 9856 of 682666 (1%)
Filesystem Space in use: 489748/3834464 KB (13%)
Filesystem Inodes in use: 58957/487680 (12%)
Flags: SELECTED
Received on Sun Feb 13 2000 - 12:21:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:12 MST