Search squid archive

Fwd: RE: squid not caching in harddisk / cpu load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



still have problem :(



------- Forwarded message -------
From: "Jason Staudenmayer" <jasons@xxxxxxxxxxxxxxxxxxxxx>
To: "Artin H." <admin@xxxxxxxxxxx>
Cc:
Subject: RE:  squid not caching in harddisk / cpu load
Date: Sun, 27 Nov 2005 01:09:17 +0330

Ok, try removing this line
no_cache deny all

Everything is being released as soo as it's transferred. I think that
line is your problem.
It states that you're not going to cache anything.

-----Original Message-----
From: Artin H. [mailto:admin@xxxxxxxxxxx]
Sent: Saturday, November 26, 2005 4:17 PM
To: Jason Staudenmayer
Subject: Re:  squid not caching in harddisk / cpu load


i am sorry

i attached last 200 lines of access and store log .



On Sun, 27 Nov 2005 00:38:32 +0330, Jason Staudenmayer
<jasons@xxxxxxxxxxxxxxxxxxxxx> wrote:

No, open the files and copy the contents and paste them into the
email.

-----Original Message-----
From: Artin H. [mailto:admin@xxxxxxxxxxx]
Sent: Saturday, November 26, 2005 4:03 PM
To: Jason Staudenmayer
Subject: Re:  squid not caching in harddisk / cpu load


On Sun, 27 Nov 2005 00:28:01 +0330, Jason Staudenmayer
<jasons@xxxxxxxxxxxxxxxxxxxxx> wrote:

Post the log contents


cache_access_log /var/log/squid/access.log 5339581
cache_store_log /var/log/squid/store.log 7321321

only in 10 minutes ....



-----Original Message-----
From: Artin H. [mailto:admin@xxxxxxxxxxx]
Sent: Saturday, November 26, 2005 3:52 PM
To: Jason Staudenmayer
Subject: Re:  squid not caching in harddisk / cpu load


Sorry i dont know how to replay in mailing list ...

i changed following to default :

cache_access_log  /dev/null
cache_store_log none

cache_access_log /var/log/squid/access.log 5339581
cache_store_log /var/log/squid/store.log 7321321

but still its not caching anythings in harddisk ...




On Sun, 27 Nov 2005 00:07:26 +0330, Jason Staudenmayer
<jasons@xxxxxxxxxxxxxxxxxxxxx> wrote:

cache_access_log  /dev/null
cache_store_log none
debug_options ALL,1

Setting the debug but dumping the logs???
Try setting these to real flog files and look in them for anything
odd.
Post findings.

-----Original Message-----
From: Artin H. [mailto:admin@xxxxxxxxxxx]
Sent: Saturday, November 26, 2005 3:02 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject:  squid not caching in harddisk / cpu load



Hi
i dont know why squid is not caching ( my cache_dir is alwayes free
!
),

i have 2 cache_dir and both is free ( useing about 400-500kb).

and my second problem is with squid cpu load .

i dont know why squid randomly useing 99.99% of cpu for few seconds
( 10seconds - 1min ).

normaly it useing 40% of cpu .

i have about 150 active user.

please check my squid config and recommend any things that should be
changed.

THANKS!

server :
xeon 2.8 ( without HT )
2gb ram
2*80gb sata

squid config :

*******************************************************
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
no_cache deny all
cache_mem 32 MB
maximum_object_size 2048 KB
minimum_object_size 8 KB
maximum_object_size_in_memory 8 KB
ipcache_size 8192
fqdncache_size 4096
cache_dir aufs /var/spool/squid 300 32 256
cache_dir aufs /backup/squid 300 32 256
cache_access_log  /dev/null
cache_store_log none
debug_options ALL,1
store_avg_object_size 50 KB
buffered_logs on


http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
*******************************************************




















[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux