Rajesh Bandar wrote:
>
> I am running squid2.2STABLE4 on ultra1. It has 128MB physical memory. I had the
> following configuration for my squid.
> ...
> Later I increased the cache directory size to
> cache_dir /opt/local/squid/cache 1000 16 256
> ...
> Since then I am having problems with the squid. It becomes very slow after it
> has been running for about 4 to 5 mts. I put the cache_dir size back to the
> previous configuration (cache_dir /opt/local/squid/cache 100 16 256). Still
> squid is very slow. I couldn't find any documentation to solve this problem.
> If someone experienced the same problem please tell me how to solve this.
> ...
> 1999/09/20 09:25:44| 983040 Entries read so far.
> 1999/09/20 09:26:04| 1048576 Entries read so far.
> 1999/09/20 09:26:25| 1114112 Entries read so far.
If you really have 1.1 million objects in store, 128M of memory is
probably nowhere near enough. Squid keeps data on each object in store
in RAM, and it can get big. My caches have about 1.2 million objects
each, and the squid process size is 240MB. Your machine is probably
swapping itself to death.
You must have very small objects in cache - it takes me 14GB to store
1.2 million objects - you're getting 1.1 million in 1GB?
Dave
Received on Sun Sep 19 1999 - 20:34:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:28 MST