-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The squid process is not crashing...
this is the output of vmstat...
# vmstat 5 5
~ procs memory swap io
system cpu
~ r b w swpd free buff cache si so bi bo in cs
us sy id
~ 0 0 0 17504 142620 241444 982568 0 0 9 8 19 8
11 5 17
~ 3 0 1 17504 140120 241908 984472 0 0 268 617 3922 467
20 36 44
~ 1 1 0 17504 138448 242172 985824 0 0 168 997 3012 277
10 25 65
~ 2 0 1 17504 136000 242512 987780 0 0 245 442 3956 452
20 32 48
~ 0 0 0 17504 133764 242868 989608 0 0 178 626 3834 410
19 36 45
and here's the output of the TOP command..
~ 9:08am up 11 days, 1:49, 2 users, load average: 4.43, 5.04, 5.16
59 processes: 57 sleeping, 2 running, 0 zombie, 0 stopped
CPU0 states: 7.2% user, 9.3% system, 0.0% nice, 82.3% idle
CPU1 states: 12.4% user, 25.2% system, 0.0% nice, 61.2% idle
Mem: 2194476K av, 2150760K used, 43716K free, 0K shrd, 253172K
buff
Swap: 2097136K av, 17504K used, 2079632K free 1063932K
cached
~ PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
~ 2169 nobody 25 0 650M 642M 8956 R 46.5 30.0 9460m squid
~ 2176 nobody 15 0 688 660 628 S 0.1 0.0 21:43 diskd
~ 2177 nobody 15 0 692 660 628 S 0.1 0.0 21:53 diskd
~ 2170 nobody 15 0 312 292 264 S 0.0 0.0 0:03 unlinkd
~ 2171 nobody 15 0 692 652 620 S 0.0 0.0 18:33 diskd
~ 2172 nobody 15 0 680 648 616 S 0.0 0.0 18:55 diskd
~ 2173 nobody 15 0 684 656 624 S 0.0 0.0 19:27 diskd
~ 2174 nobody 15 0 684 656 624 S 0.0 0.0 20:27 diskd
~ 2175 nobody 15 0 688 660 628 S 0.0 0.0 20:25 diskd
as you can see I'm using diskd as my cache_dir type... I get very heavy
load...
sample_start_time = 1037883954.654440 (Thu, 21 Nov 2002 13:05:54 GMT)
sample_end_time = 1037884254.672567 (Thu, 21 Nov 2002 13:10:54 GMT)
client_http.requests = 157.520482/sec
client_http.hits = 84.991531/sec
client_http.errors = 0.000000/sec
client_http.kbytes_in = 76.955350/sec
client_http.kbytes_out = 801.818218/sec
client_http.all_median_svc_time = 0.186992 seconds
client_http.miss_median_svc_time = 0.583090 seconds
client_http.nm_median_svc_time = 0.004626 seconds
client_http.nh_median_svc_time = 0.421485 seconds
client_http.hit_median_svc_time = 0.012346 seconds
any ideas?
Thanks
Henrik Nordstrom wrote:
|Maybe your Squid is performing very badly?
|
|What is the output of
|
| vmstat 5 5
|
|while your system is running under peak load?
|
|and what cache_dir type are your using?
|
|Regards
|Henrik
|
|
|ons 2002-11-20 klockan 21.46 skrev Francisco Obispo:
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>*Nov 20 16:08:51: %WCCP-1-CACHELOST: Web Cache 150.188.8.162 lost
|>
|>*Nov 20 16:09:05: %WCCP-5-CACHEFOUND: Web Cache 150.188.8.162 acquired
|>
|>
|>Hi.. I�ve been getting in my router this message about the cache being
lost,
|>It is very strange because the machine running squid is directly
|>connected to a
|>fast ethernet with a crossover cable...
|>
|>I'm running:
|>
|>Squid Cache: Version 2.5.STABLE1
|>configure options: --prefix=/usr/local/squid
|>--enable-err-language=Spanish --enable-cache-digests --enable-htcp
|>--enable-snmp --enable-carp --enable-linux-netfilter
|>--enable-removal-policies=heap --enable-storeio=diskd,ufs
|>--enable-gnuregex --enable-memory-pools --enable-asyncio
|>--enable-delay-pools
|>
|>with:
|>Linux cache01-proxy-cache 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT
|>2002 i686 unknown
|>
|>
|>the server has 2 GB of physical memory and 2 PIII 1.13Ghz CPUs,.... I'm
|>running DISKD ...
|>
|>Whenever the router sends a CACHE-LOST message, active connections are
|>broken...
|>
|>does any of you guys have any idea where I should start looking??
|>
|>
|>thanks..
|>
|>- --
|>
|>__________________________________________________________________
|>Francisco Jose Obispo Semidey
|>System Administrator
|>ccTLD .VE Technical Contact - http://www.nic.ve
|>CNTI - REACCIUN - http://www.cnti.ve
|>Work: +58 212 709 5257
|>GPG Fingerprint: 23FE 02B7 2E9A 24DB 51F3 29CB 87CF 3C30 3236 D09D
|>___________________________________________________________________
|>MOTD:
|>Abstainer: A weak person who yields to the temptation of denying
himself a
|>pleasure. A total abstainer is one who abstains from everything but
|>abstention, and especially from inactivity in the affairs of others.
|>- -- Ambrose Bierce
|>
|>-----BEGIN PGP SIGNATURE-----
|>Version: GnuPG v1.0.7 (GNU/Linux)
|>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|>
|>iD8DBQE92/SZh888MDI20J0RArxvAJ9i3I7Dp3zGqmuXaz9f1KiLKhxJ+wCfW5U0
|>Jrhn/pCJXjLi6JGYNVJBTTw=
|>=iuu7
|>-----END PGP SIGNATURE-----
|>
|
|
|
|
- --
__________________________________________________________________
Francisco Jose Obispo Semidey
System Administrator
ccTLD .VE Technical Contact - http://www.nic.ve
CNTI - REACCIUN - http://www.cnti.ve
Work: +58 212 709 5257
GPG Fingerprint: 23FE 02B7 2E9A 24DB 51F3 29CB 87CF 3C30 3236 D09D
___________________________________________________________________
MOTD:
It's amazing how much better you feel once you've given up hope.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE93N3yh888MDI20J0RAqIVAJ9z7Bi/hG2JeRO3DdziEHE7k17OhACg0B28
1gDiJReLb/FK3x/8twQvdHg=
=2C97
-----END PGP SIGNATURE-----
Received on Thu Nov 21 2002 - 09:43:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:28 MST