Re: [squid-users] Re: ERROR: This proxy does not support the 'rock' cache type. Ignoring.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 04 Sep 2013 23:23:05 +1200

On 4/09/2013 7:28 p.m., Ahmad wrote:
> hi amos ,
> thanks alot for clarification ,
>
> but again i still have problems ,
>
> after i corrected rock storage and recompiled squid ,
> it worked , but wccp is no longer working with router ???!!!!! but if i use
> port in my explorer it works !!!!

You may have some luck with WCCP by enabling

However, the kid registration and IPC shm_open() issues are more
difficult. I don't have any clues here at this point. The
http://wiki.squid-cache.org/Features/SmpScale wiki page itself does not
have much to say on the "no such file" error coming out of it. We know
about permissions errors and strange "invalid parameter" problems on
MacOS - but not "no such file".

> ====================================
> here is when i add and start squid
> #########SMP implementations######################
> # Rockstore filesytem
> workers 2
> cache_dir rock /squid-cache/rock-1 3000 max-size=31000 max-swap-rate=250
> swap-timeout=350
> ###########################################################
>
>
> FATAL: kid1 registration timed out
> Squid Cache (Version 3.3.8): Terminated abnormally.
> CPU Usage: 0.050 seconds = 0.000 user + 0.050 sys
> Maximum Resident Size: 77328 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 4612 KB
> Ordinary blocks: 4553 KB 15 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 36892 KB 8 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 58 KB
> Total in use: 41445 KB 899%
> Total free: 59 KB 1%
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-squid-page-pool.shm): (2) No such file or directory
>
> Squid Cache (Version 3.3.8): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 19552 KB
> Page faults with physical i/o: 8
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-squid-page-pool.shm): (2) No such file or directory
>
> Squid Cache (Version 3.3.8): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 19552 KB
> Page faults with physical i/o: 0
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-squid-page-pool.shm): (2) No such file or directory
>
> Squid Cache (Version 3.3.8): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 19552 KB
> Page faults with physical i/o: 0
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-squid-page-pool.shm): (2) No such file or directory
>
> Squid Cache (Version 3.3.8): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 19568 KB
> Page faults with physical i/o: 0
> =========================================================================
> here is permissions and mount :
> root_at_drvirus:/home/squid-3.3.8# ls -l /var/run/squid
> total 0
> srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 coordinator.ipc
> srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 kid-1.ipc
> srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 kid-2.ipc
> srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 kid-3.ipc
> srwxr-x--- 1 proxy proxy 0 Sep 3 15:37 kid-4.ipc
> ===========================================================
> root_at_drvirus:/home/squid-3.3.8# mount
> /dev/sda1 on / type ext4 (rw,noatime)
> tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> udev on /dev type tmpfs (rw,mode=0755)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
> none on /opt/vyatta/config type tmpfs (rw,nosuid,nodev,mode=775,nr_inodes=0)
> /opt/vyatta/etc/config on /config type none (rw,bind)
> shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
> shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
> root_at_drvirus:/home/squid-3.3.8#
>
>
>
>
> wts wrong ???
>
> agian , note that although error above still exist , i still can use procy
> by port , but wccp is no longer up with router ???!!!
>
>
>
> regards
>
>
>
>
> -----
> Mr.Ahmad
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/ERROR-This-proxy-does-not-support-the-rock-cache-type-Ignoring-tp4661924p4661953.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed Sep 04 2013 - 11:23:14 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 04 2013 - 12:00:05 MDT