kk CHN wrote:
People ;
I installed squid 2.6 stable for my Webserver(FreeBSD-6.2 ,1 GB Ram)
, where I runs a Plone 2.5 site on Zope2.9 .With other applications
such as postfix,mailman etc .
Squid-->Apache 2.2-->zope
(Previosly it was apache -->>zope ;But it was too slow so I put squid
as http accelerator)
this setup worked fine for a couple of weeks ,
but yesetday my site became very slow again , I restarted squid
,apache, and zope server again , but for some time(nearly 20 minutes
) it will be fast after that again became slow .
What may be the issue , ? how can I improve the speed ?
You have at least one drive device at 100%.
Your mailing program written in python is using much more CPU than squid.
You might start by telling us some of the details why you think this
relates to squid?
ie: what problems is the cache.log saying you have? what the squid stats
are saying that makes you think its squid fault? etc.
Perhapse what your squid.conf settings are?
Amos
This is my TOP out put
Any hints most welcome :
Thanks in advance
KK
last pid: 1792; load averages: 0.73, 0.50, 0.37
up 0+01:08:08 12:59:26
145 processes: 1 running, 142 sleeping, 2 stopped
CPU states: 5.1% user, 0.0% nice, 10.3% system, 0.0% interrupt, 84.6% idle
Mem: 690M Active, 106M Inact, 133M Wired, 45M Cache, 110M Buf, 14M Free
Swap: 2048M Total, 2048M Free
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
731 mailman 1 8 0 99732K 97904K nanslp 0:43 3.56% python
<snip lots of idle programs>
Suspended
This is my df -h Output
df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 496M 91M 365M 20% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad4s1f 19G 2.3G 15G 13% /home
/dev/ad4s1d 3.9G 71M 3.5G 2% /tmp
/dev/ad4s1e 9.7G 5.6G 3.3G 63% /usr
/dev/ad4s1g 39G 31G 4.5G 88% /var
devfs 1.0K 1.0K 0B 100% /var/named/dev
Nothing amongst all of that to say its squid.
Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.