Search squid archive

Resize coss online

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

 



I'm testing squid-2.7STABLE9 + COSS + ext4 + SSD now.

When enlarge the coss, eg: from 10240 to 20480, I can see success in
cache.log, but the coss file on disk did not change, after 3 times of
"squid -k reconfigure" the coss file size changed.
But some times later, the squid process exited, with nothing left in
cache.log. Just once in cache.log I found:

2011/01/12 11:10:04| assertion failed: coss/store_io_coss.c:215:
"cs->curstripe < (cs->numstripes - 1)"

So, I wondering if resize of coss online is supported perfectly, that
we can use it without anxiety.
BTW, is shrink of coss filesystem is supported? If it is, do I have to
do it online, or offline? By online, I means operates without restart
squid process, and the offline means opposite.


With squid-2.7STABLE9 + COSS + btrfs + SSD, reload can cause process
to stuck, with 100% CPU usage per squid process. I caught these info
in cache.log once:

2011/01/09 14:56:44| Killing RunCache, pid 59502
2011/01/09 14:56:44| kill 59502: (1) Operation not permitted

And kill of the process will make the process into a zombie. The
defunct process still using 100% CPU, which wasn't show in ps.

squid75 ~ # ps -eo pid,%cpu,cmd --sort=c
59343  2.7 [squid] <defunct>
59505  2.8 [squid] <defunct>
59380  2.9 [squid] <defunct>
59474  2.9 [squid] <defunct>
42558  3.4 [btrfs-endio-1]
43717  3.7 (squid) -YC -D -f squid73.conf
43925  4.0 (squid) -YC -D -f squid74.conf
42520  4.3 (squid) -YC -D -f squid75.conf
51532  4.4 (squid) -YC -D -f squid77.conf
18014  5.9 (squid) -YC -D -f squid72.conf
19465  7.9 (squid) -YC -D -f squid76.conf
59833  8.9 (squid) -YC -D -f squid79.conf
59803  9.4 (squid) -YC -D -f squid78.conf
59744  9.7 [squid] <defunct>
 4511 10.8 (squid) -YC -D -f squid81.conf
 4563 10.9 (squid) -YC -D -f squid85.conf
59705 12.0 [squid] <defunct>
 4524 12.8 (squid) -YC -D -f squid82.conf
 4550 12.9 (squid) -YC -D -f squid84.conf
 4537 13.2 (squid) -YC -D -f squid83.conf
 4498 29.9 (squid) -YC -D -f squid80.conf
squid75 ~ # ps auwx | grep -e defunct -e COMMAND$
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
squid    59343  2.8  0.0      0     0 ?        Z<l  Jan07  83:47
[squid] <defunct>
squid    59380  3.0  0.0      0     0 ?        ZNl  Jan07  88:37
[squid] <defunct>
squid    59474  3.0  0.0      0     0 ?        ZNl  Jan07  89:57
[squid] <defunct>
squid    59505  2.9  0.0      0     0 ?        ZNl  Jan07  86:20
[squid] <defunct>
squid    59705 12.0  0.0      0     0 ?        Z<l  Jan07 355:56
[squid] <defunct>
squid    59744  9.7  0.0      0     0 ?        ZNl  Jan07 288:11
[squid] <defunct>


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

  Powered by Linux