[squid-users] squid no space left on device

From: Rainhard Vladyka <monolog@dont-contact.us>
Date: Mon, 4 Jun 2007 13:23:03 +0200 (CEST)

Hello,

i ran into a problem with squid that it was saying there is no space left on
device, while there was more then 2GiB free.

cache.log says all over the day:
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDD8, errflag=-1
            (115) Operation now in progress
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDD9, errflag=-1
            (115) Operation now in progress
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDDA, errflag=-1
            (42) No message of desired type
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDDB, errflag=-1
            (42) No message of desired type
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDDC, errflag=-1
            (11) Resource temporarily unavailable
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDDD, errflag=-1
            (42) No message of desired type
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDDE, errflag=-1
            (42) No message of desired type
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDDF, errflag=-1
            (11) Resource temporarily unavailable
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDE0, errflag=-1
            (115) Operation now in progress
    2007/06/02 20:22:59| storeSwapOutFileClosed: dirno 0, swapfile
003ABDE1, errflag=-1
            (0) Success

Then it suddendly tried to restart it self over and over again.
    2007/06/02 20:23:01| assertion failed: cbdata.c:274: "c->y == c"
    2007/06/02 20:23:05| Starting Squid Cache version 2.5.STABLE6 for
i386-redhat-linux-gnu...
    2007/06/02 20:23:05| Process ID 10918
    2007/06/02 20:23:05| With 1024 file descriptors available
    2007/06/02 20:23:05| DNS Socket created at 0.0.0.0, port 36288, FD 4
    2007/06/02 20:23:05| Adding nameserver 192.168.120.20 from
/etc/resolv.conf
    2007/06/02 20:23:05| Adding nameserver 192.168.121.20 from
/etc/resolv.conf
    2007/06/02 20:23:05| User-Agent logging is disabled.
    2007/06/02 20:23:05| Referer logging is disabled.
    2007/06/02 20:23:05| Unlinkd pipe opened on FD 9
    2007/06/02 20:23:05| Swap maxSize 24117248 KB, estimated 1855172 objects
    2007/06/02 20:23:05| Target number of buckets: 92758
    2007/06/02 20:23:05| Using 131072 Store buckets
    2007/06/02 20:23:05| Max Mem size: 1576960 KB
    2007/06/02 20:23:05| Max Swap size: 24117248 KB
    2007/06/02 20:23:05| Store logging disabled
    2007/06/02 20:23:05| /appl/squid-cache/swap.state.new: (28) No space
left on device
    FATAL: storeDirOpenTmpSwapLog: Failed to open swap log.
    Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
    CPU Usage: 0.013 seconds = 0.008 user + 0.005 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 1

cache_dir is configured with following entry in squid.conf
    cache_dir diskd /appl/squid-cache 23552 64 512 Q1=72 Q2=64
while the device got 25GiB space.

Any ideas why squid is reacting like that?

Kindest regards
Rainhard
Received on Mon Jun 04 2007 - 05:23:11 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:03 MDT