Re: squid-2.2STABLE4 problem

From: Rajesh Bandar <rajesh@dont-contact.us>
Date: Tue, 21 Sep 1999 09:56:41 +1000 (EST)

 First of all let me thank all of you who helped me to solve my problem.
 
 Basically I did the following to fix the problem:

1. Created a new cache directory and changed the cache_dir parameter in
squid.conf file to

/opt/local/squid/cache1

The old cache directory was /opt/local/squid/cache

2. Ran squid -z command

3. squid -k reconfigure

4. shutdown runcache process

5. squid -k shutdown

6. start squid

I hope it will be helpful for others. I guess I had this problem because I
didn't shutdown squid cleanly bofore increasing the cache_dir.

Have a good day....

cheers,
Rajesh.

> Resent-Date: Sun, 19 Sep 1999 17:19:09 -0700 (PDT)
> X-Envelope-From: rajesh@ilanet.slnsw.gov.au Sun Sep 19 16:38:25 1999
> Date: Mon, 20 Sep 1999 09:35:24 +1000 (EST)
> From: Rajesh Bandar <rajesh@ilanet.slnsw.gov.au>
> Subject: squid-2.2STABLE4 problem
> To: squid-users@ircache.net
> MIME-Version: 1.0
> Content-MD5: wQm0SWpAJkyGCzYXT0XFRg==
> Resent-Message-ID: <"ippwq.A.q0.yPX53"@ack.ircache.net>
> Resent-From: squid-users@ircache.net
> X-Mailing-List: <squid-users@ircache.net> archive/latest/450
> X-Loop: squid-users@ircache.net
> Resent-Sender: squid-users-request@ircache.net
>
> Hi
>
> I am running squid2.2STABLE4 on ultra1. It has 128MB physical memory. I had
the
> following configuration for my squid.
>
> http_port 3128
> icp_port 3130
> cache_peer proxy.ozemail.com.au parent 8080 3130 no-query default
> cache_peer proxymel.ozemail.com.au parent 8080 3130
> cache_peer px2.mel.aone.net.au parent 80 3130
> cache_mem 32 MB
> cache_swap_low 90
> cache_swap_high 95
> maximum_object_size 2048 KB
> ipcache_size 2048
> ipcache_low 90
> ipcache_high 95
> cache_dir /opt/local/squid/cache 100 16 256
> cache_dns_program /opt/local/squid/bin/dnsserver
> dns_children 20
>
> 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.
>
> cache.log file doesn't have any error messages......
>
>
> 1999/09/20 09:22:54| Starting Squid Cache version 2.2.STABLE4 for
> sparc-sun-sola
> ris2.7...
> 1999/09/20 09:22:54| Process ID 1514
> 1999/09/20 09:22:54| With 1024 file descriptors available
> 1999/09/20 09:22:54| Performing DNS Tests...
> 1999/09/20 09:22:54| Successful DNS name lookup tests...
> 1999/09/20 09:22:54| helperOpenServers: Starting 20 'dnsserver' processes
> 1999/09/20 09:22:55| Unlinkd pipe opened on FD 30
> 1999/09/20 09:22:55| Swap maxSize 102400 KB, estimated 17066 objects
> 1999/09/20 09:22:55| Target number of buckets: 341
> 1999/09/20 09:22:55| Using 8192 Store buckets, replacement runs every 10
seconds
> 1999/09/20 09:22:55| Max Mem size: 32768 KB
> 1999/09/20 09:22:55| Max Swap size: 102400 KB
> 1999/09/20 09:22:55| Rebuilding storage in Cache Dir #0 (DIRTY)
> 1999/09/20 09:22:55| Set Current Directory to /opt/local/squid/cache
> 1999/09/20 09:22:55| Loaded Icons.
> 1999/09/20 09:22:55| Accepting HTTP connections on port 3128, FD 53.
> 1999/09/20 09:22:55| Accepting ICP messages on port 3130, FD 54.
> 1999/09/20 09:22:55| Ready to serve requests.
> 1999/09/20 09:22:56| Configuring Parent proxy.ozemail.com.au/8080/3130
> 1999/09/20 09:22:56| Configuring Parent proxymel.ozemail.com.au/8080/3130
> 1999/09/20 09:22:56| Configuring Parent px2.mel.aone.net.au/80/3130
> 1999/09/20 09:23:00| 65536 Entries read so far.
> 1999/09/20 09:23:05| 131072 Entries read so far.
> 1999/09/20 09:23:11| 196608 Entries read so far.
> 1999/09/20 09:23:11| Detected DEAD Parent: proxymel.ozemail.com.au/8080/3130
> 1999/09/20 09:23:11| Detected DEAD Parent: px2.mel.aone.net.au/80/3130
> 1999/09/20 09:23:18| 262144 Entries read so far.
> 1999/09/20 09:23:27| 327680 Entries read so far.
> 1999/09/20 09:23:36| 393216 Entries read so far.
> 1999/09/20 09:23:46| 458752 Entries read so far.
> 1999/09/20 09:23:57| 524288 Entries read so far.
> 1999/09/20 09:24:10| 589824 Entries read so far.
> 1999/09/20 09:24:23| 655360 Entries read so far.
> 1999/09/20 09:24:37| 720896 Entries read so far.
> 1999/09/20 09:24:52| 786432 Entries read so far.
> 1999/09/20 09:25:09| 851968 Entries read so far.
> 1999/09/20 09:25:26| 917504 Entries read so far.
> 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.
>
> What could be the problem? I would appreciate it if someone could help me to
> solve this problem.
>
> Thanks,
> Rajesh.
>
Received on Mon Sep 20 1999 - 18:07:34 MDT

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