Re: [squid-users] [3.2.0.13]: DiskIO/IpcIo/IpcIoFile.cc for RockStore / No such file or directory

From: FredB <fredbmail_at_free.fr>
Date: Wed, 23 Nov 2011 09:12:31 +0100 (CET)

Maybe a problem with /var/cache/RockStore-0 directory ? Permission ?

----- Mail original -----
De: "David Touzeau" <david_at_touzeau.eu>
À: squid-users_at_squid-cache.org
Envoyé: Mardi 22 Novembre 2011 17:35:37
Objet: [squid-users] [3.2.0.13]: DiskIO/IpcIo/IpcIoFile.cc for RockStore / No such file or directory

Dear

I have enabled RockStore on my squid 3.2.0.13-20111027-r11388

has this

workers 2
cache_dir rock /var/cache/RockStore-0 256 max-size=32768
cache_dir rock /var/cache/RockStore-1 256 max-size=32768
cache_dir ufs /var/cache/squid 2000 16 256

squid claim

2011/11/22 17:25:31 kid2| DiskIO/IpcIo/IpcIoFile.cc(132) openCompleted:
error: timeout
FATAL: Rock cache_dir at /var/cache/RockStore-0/rock failed to open db
file: (2) No such file or directory

but the rock file exists:

 stat /var/cache/RockStore-0/rock
  File: «/var/cache/RockStore-0/rock»
  Size: 268435456 Blocks: 32 IO Block: 4096 fichier
Device: 801h/2049d Inode: 262542 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1001/ squid) Gid: ( 1001/ squid)
Access: 2011-11-22 17:16:32.401809206 +0100
Modify: 2011-11-22 17:23:17.601809860 +0100
Change: 2011-11-22 17:25:17.601309064 +0100

Squid Cache (Version 3.2.0.13-20111027-r11388): Terminated abnormally.
CPU Usage: 0.036 seconds = 0.032 user + 0.004 sys
Maximum Resident Size: 31328 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 2448 KB
        Ordinary blocks: 2308 KB 14 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1024 KB 4 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 139 KB
        Total in use: 3332 KB 136%
        Total free: 139 KB 6%

is it a misconfiguration ?

Here it is the full dump sequence :

Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 2448 KB
        Ordinary blocks: 2308 KB 14 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1024 KB 4 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 139 KB
        Total in use: 3332 KB 136%
        Total free: 139 KB 6%
2011/11/22 17:25:28 kid1| Starting Squid Cache version
3.2.0.13-20111027-r11388 for i686-pc-linux-gnu...
2011/11/22 17:25:28 kid1| Process ID 31315
2011/11/22 17:25:28 kid1| Process Roles: worker
2011/11/22 17:25:28 kid1| With 1024 file descriptors available
2011/11/22 17:25:28 kid1| Initializing IP Cache...
2011/11/22 17:25:28 kid1| DNS Socket created at [::], FD 9
2011/11/22 17:25:28 kid1| DNS Socket created at 0.0.0.0, FD 10
2011/11/22 17:25:28 kid1| Adding nameserver 192.168.1.105
from /etc/resolv.conf
2011/11/22 17:25:28 kid1| Adding nameserver 192.168.1.1
from /etc/resolv.conf
2011/11/22 17:25:28 kid1| Adding domain touzeau.com
from /etc/resolv.conf
2011/11/22 17:25:28 kid1| Adding domain touzeau.com
from /etc/resolv.conf
2011/11/22 17:25:28 kid1| Logfile: opening log
daemon:/var/log/squid/access.log
2011/11/22 17:25:28 kid1| Logfile Daemon: opening
log /var/log/squid/access.log
2011/11/22 17:25:28 kid1| Logfile: opening log tcp:127.0.0.1:54424
2011/11/22 17:25:28 kid1| Logfile: opening log
daemon:/var/log/squid/sarg.log
2011/11/22 17:25:28 kid1| Logfile Daemon: opening
log /var/log/squid/sarg.log
2011/11/22 17:25:28 kid1| Unlinkd pipe opened on FD 19
2011/11/22 17:25:28 kid1| Local cache digest enabled; rebuild/rewrite
every 3600/3600 sec
2011/11/22 17:25:28 kid1| Logfile: opening log
stdio:/var/log/squid/store.log
2011/11/22 17:25:28 kid1| Swap maxSize 2048000 + 8192 KB, estimated
158168 objects
2011/11/22 17:25:28 kid1| Target number of buckets: 7908
2011/11/22 17:25:28 kid1| Using 8192 Store buckets
2011/11/22 17:25:28 kid1| Max Mem size: 8192 KB [shared]
2011/11/22 17:25:28 kid1| Max Swap size: 2048000 KB
2011/11/22 17:25:28 kid1| Version 1 of swap file with LFS support
detected...
2011/11/22 17:25:28 kid1| Rebuilding storage in /var/cache/squid (DIRTY)
2011/11/22 17:25:28 kid1| Using Least Load store dir selection
2011/11/22 17:25:28 kid1| Set Current Directory to /var/squid/cache
2011/11/22 17:25:28 kid1| Loaded Icons.
2011/11/22 17:25:28 kid1| HTCP Disabled.
2011/11/22 17:25:28 kid1| Squid plugin modules loaded: 0
2011/11/22 17:25:28 kid1| Adaptation support is off.
2011/11/22 17:25:28 kid1| Ready to serve requests.
2011/11/22 17:25:28 kid1| Done reading /var/cache/squid swaplog (39
entries)
2011/11/22 17:25:31 kid2| DiskIO/IpcIo/IpcIoFile.cc(132) openCompleted:
error: timeout
FATAL: Rock cache_dir at /var/cache/RockStore-0/rock failed to open db
file: (2) No such file or directory
Squid Cache (Version 3.2.0.13-20111027-r11388): Terminated abnormally.
CPU Usage: 0.036 seconds = 0.032 user + 0.004 sys
Maximum Resident Size: 31328 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 2448 KB
        Ordinary blocks: 2308 KB 14 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1024 KB 4 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 139 KB
        Total in use: 3332 KB 136%
        Total free: 139 KB 6%
2011/11/22 17:25:34 kid2| Starting Squid Cache version
3.2.0.13-20111027-r11388 for i686-pc-linux-gnu...
2011/11/22 17:25:34 kid2| Process ID 31337
2011/11/22 17:25:34 kid2| Process Roles: worker
2011/11/22 17:25:34 kid2| With 1024 file descriptors available
2011/11/22 17:25:34 kid2| Initializing IP Cache...
2011/11/22 17:25:34 kid2| DNS Socket created at [::], FD 9
2011/11/22 17:25:34 kid2| DNS Socket created at 0.0.0.0, FD 10
2011/11/22 17:25:34 kid2| Adding nameserver 192.168.1.105
from /etc/resolv.conf
2011/11/22 17:25:34 kid2| Adding nameserver 192.168.1.1
from /etc/resolv.conf
2011/11/22 17:25:34 kid2| Adding domain touzeau.com
from /etc/resolv.conf
2011/11/22 17:25:34 kid2| Adding domain touzeau.com
from /etc/resolv.conf
2011/11/22 17:25:34 kid2| Logfile: opening log
daemon:/var/log/squid/access.log
2011/11/22 17:25:34 kid2| Logfile Daemon: opening
log /var/log/squid/access.log
2011/11/22 17:25:34 kid2| Logfile: opening log tcp:127.0.0.1:54424
2011/11/22 17:25:34 kid2| Logfile: opening log
daemon:/var/log/squid/sarg.log
2011/11/22 17:25:34 kid2| Logfile Daemon: opening
log /var/log/squid/sarg.log
2011/11/22 17:25:34 kid2| Unlinkd pipe opened on FD 19
2011/11/22 17:25:34 kid2| Local cache digest enabled; rebuild/rewrite
every 3600/3600 sec
2011/11/22 17:25:34 kid2| Logfile: opening log
stdio:/var/log/squid/store.log
2011/11/22 17:25:34 kid2| Swap maxSize 2048000 + 8192 KB, estimated
158168 objects
2011/11/22 17:25:34 kid2| Target number of buckets: 7908
2011/11/22 17:25:34 kid2| Using 8192 Store buckets
2011/11/22 17:25:34 kid2| Max Mem size: 8192 KB [shared]
2011/11/22 17:25:34 kid2| Max Swap size: 2048000 KB
2011/11/22 17:25:34 kid2| Version 1 of swap file with LFS support
detected...
2011/11/22 17:25:34 kid2| Rebuilding storage in /var/cache/squid (DIRTY)
2011/11/22 17:25:34 kid2| Using Least Load store dir selection
2011/11/22 17:25:34 kid2| Set Current Directory to /var/squid/cache
2011/11/22 17:25:34 kid2| Loaded Icons.
2011/11/22 17:25:34 kid2| HTCP Disabled.
2011/11/22 17:25:34 kid2| Squid plugin modules loaded: 0
2011/11/22 17:25:34 kid2| Adaptation support is off.
2011/11/22 17:25:34 kid2| Ready to serve requests.
2011/11/22 17:25:34 kid2| Done reading /var/cache/squid swaplog (39
entries)
Received on Wed Nov 23 2011 - 08:12:43 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 23 2011 - 12:00:04 MST