At 09:53 AM 4/24/98, Ingrid Smud wrote:
>Hello,
>	First sorry my English, I'm from Argentina. I'm working on an Internet
>Provider and we're using Squid as proxy. It's running in a Pentium 100 with
>64 Mb of RAM, 40 Mb of this are for proxy, and it has 2 hard disk ultra
>wide SCSI of 4 Gb each one. The Operating System is FreeBSD 2.2.6 and the
>Squid is 1.1.21.
Cachemgr told you it uses 77755 KB of wich is
> Maximum Resident Size: 39420 KB
...
> Total Accounted                            =77755 KB
Your server is swapping extrememely (it must be). I've seen a similar effect
with my caches. I'm running 8Gb cache and it consumes up to 100MB (If I keep
the "memory pools" in squid.conf. Removing it improve things.)
I would suggest go for NOVM and remove the "memory-pools" from squid but
more RAM will help (go for 128 or better 256Mb)
Marc
>	The problem is that the proxy works very slowly. When you ask for a web
>page you got it fastest without proxy. This problems problem was detected
>when we are using FreeBSD 2.1.7.1 and Squid was 1.1.17 and persist with the
>upgrade of software.
>	I send you the configuration of proxy, if you need some aditional
>information ask me. Thank a lot.
>
>
>Regards.
>Ingrid.
>
>
>This is the configuration of proxy:
>
>info: proxy2.sminter.com.ar:8080
>
>dated Fri Apr 24 09:27:42 1998 
>
>
>Squid Object Cache: Version 1.1.21
>Start Time:     Wed, 22 Apr 1998 15:07:23 GMT
>Current Time:   Fri, 24 Apr 1998 12:27:42 GMT
>Connection information for squid:
>   Number of TCP connections:      247207
>   Number of UDP connections:      2105
>   Connections per hour:   5498.9
>   Select loop called: 1395578 times, 116.954 ms avg
>Cache information for squid:
>   Storage Swap size:      3674 MB
>   Storage Mem size:       6711 KB
>   Storage LRU Expiration Age:      35.66 days
>   Requests given to unlinkd:      177788
>   Unused fileno stack count:      91
>Resource usage for squid:
>   CPU Time: 4671 seconds (2035 user 2636 sys)
>   CPU Usage: 3%
>   Maximum Resident Size: 39420 KB
>   Page faults with physical i/o: 3850667
>File descriptor usage for squid:
>   Maximum number of file descriptors:   1024
>   Largest file desc currently in use:     62
>   Number of file desc currently in use:   39
>   Available number of file descriptors:  985
>   Reserved number of file descriptors:   100
>Internal Data Structures:
>   323701 StoreEntries
>   8088 StoreEntries with MemObjects
>   8088 StoreEntries with MemObject Data
>   8082 Hot Object Cache Items
>Accounted Memory Usage:
>   StoreEntry              323701 x  52 bytes = 16437KB
>   URL strings                                = 15995KB
>   IPCacheEntry               918 x  36 bytes =   32 KB
>   FQDNCacheEntry               0 x  56 bytes =    0 KB
>   Hash link                 8082 x  12 bytes =   94 KB
>   Pool MemObject structures 8088 x 100 bytes =  789 KB (0 free)
>   Pool for Request structur 128 x 4536 bytes =  567 KB (500 free)
>   Pool for in-memory obj.  9244 x 4096 bytes =36976 KB (1872 free)
>   Pool for disk I/O          92 x 8192 bytes =  736 KB (728 free)
>   NetDB Address Entries       0 x   76 bytes =    0 KB
>   NetDB Host Entries          0 x   16 bytes =    0 KB
>   NetDB Peer Entries          0 x   24 bytes =    0 KB
>   ClientDB Entries          230 x  304 bytes =   68 KB
>   Miscellaneous                              = 6057 KB
>   Total Accounted                            =77755 KB
>Miscellaneous:
>   Average Name-to-address lookup time:    1.046000 seconds
>   Average Address-to-name lookup time:    0.000000 seconds
>		 
>
>
>
---------------------------------------------------------------------
Marc van Selm
NATO C3 Agency
Communication Systems Division, A-Branch
E-Mail: marc.van.selm@nc3a.nato.int
---------------------------------------------------------------------
Private: selm@cistron.nl, selm@het.net, http://www.cistron.nl/~selm
Received on Mon Apr 27 1998 - 00:13:24 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:57 MST