Search squid archive

Re: rock problem on each squid restart

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

 



Hey,

Just wondering?
Why do you need to restart squid?
something is really weird since we dont have too much info on this server.
What version of squid? "squid -v"
how long do the restart takes?
What the cache.log output on startup and shutdown?
Try to remove all the fancy options form the fstab and use defaults to make sure that the kernel will write to the Disk and will not corrupt some unexpected DATA.

Eliezer

On 10/25/2013 03:09 PM, Omid Kosari wrote:
on each squid restart the drive which is rock have some problems .
that drive is very very busy after several minutes . the following line
shows iostat after 18 minutes

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sdb            3004.00     41324.00         0.00      41324          0


cache.log includes a lot of following lines
WARNING: cache_dir[0]: Ignoring malformed cache entry meta data at
51174042469

if again i restart squid it takes same time . in that time squid performance
decreases and sometimes could not serve http . is this a normal behavior of
rock ?

here is my squid.conf
cache_dir rock /cache2 101000 min-size=0 max-size=32767

fstab
/cache2  ext4
noatime,nodiratime,discard,errors=remount-ro,data=writeback,barrier=0,async
0  0


drive is OCZ-VERTEX3 120GB


Store Directory #0 (rock): /cache2
FS Block Size 1024 Bytes

Maximum Size: 103424000 KB
Current Size: 43675803.08 KB 42.23%
Maximum entries:   3232098
Current entries:   1364910 42.23%
Pending operations: 127 out of 0
Flags: SELECTED

the config is available in  this post
<http://squid-web-proxy-cache.1019090.n4.nabble.com/IpIntercept-cc-137-NetfilterInterception-NF-getsockopt-SO-ORIGINAL-DST-failed-on-FD-4125-2-No-such-fy-td4662558.html>



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/rock-problem-on-each-squid-restart-tp4662864.html
Sent from the Squid - Users mailing list archive at Nabble.com.






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

  Powered by Linux