[squid-users] Write Failure - Disk Space

From: Chris Sauer <csauer@dont-contact.us>
Date: Wed, 9 May 2001 10:43:34 -0700

When I cam into work today my Squid Cache had terminated with this Error

        2001/05/09 09:11:15| diskHandleWrite: FD 2: disk write error: (27)
File too large
        2001/05/09 09:11:15| storeDirWriteCleanLogs: Starting...
        2001/05/09 09:11:15| WARNING: Closing open FD 5
        2001/05/09 09:11:15| 65536 entries written so far.
        2001/05/09 09:11:16| 131072 entries written so far.
        2001/05/09 09:11:16| 196608 entries written so far.
        2001/05/09 09:11:16| 262144 entries written so far.
        2001/05/09 09:11:16| 327680 entries written so far.
        2001/05/09 09:11:16| 393216 entries written so far.
        2001/05/09 09:11:17| 458752 entries written so far.
        2001/05/09 09:11:17| 524288 entries written so far.
        2001/05/09 09:11:19| 589824 entries written so far.
        2001/05/09 09:11:19| 655360 entries written so far.
        2001/05/09 09:11:20| 720896 entries written so far.
        2001/05/09 09:11:20| 786432 entries written so far.
        2001/05/09 09:11:21| 851968 entries written so far.
        2001/05/09 09:11:22| 917504 entries written so far.
        2001/05/09 09:11:22| WARNING: Closing open FD 8
        2001/05/09 09:11:22| Finished. Wrote 932346 entries.
        2001/05/09 09:11:22| Took 7.0 seconds (132504.2 entries/sec).
        FATAL: Write failure -- check your disk space and cache.log
        Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
        CPU Usage: 62190.270 seconds = 36691.560 user + 25498.710 sys
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 4101544
        Memory usage for squid via mallinfo():
                total space in arena: 262811 KB
                Ordinary blocks: 253485 KB 4597 blks
                Small blocks: 0 KB 0 blks
                Holding blocks: 9812 KB 4 blks
                Free Small blocks: 0 KB
                Free Ordinary blocks: 9325 KB
                Total in use: 263297 KB 100%
                Total free: 9325 KB 4%
        
        
Since I needed it back up as soon as possible, I checked the disk space.
There was 4 gig free. Then I tried to start the process again, failed. I
the deleted all the contents from my /cache partition, ran squid -z, then to
debug ran squid -N -d 1 -D

This is what it brought up

        2001/05/09 10:14:31| Starting Squid Cache version 2.3.STABLE4 for
i686-pc-linux-gnu...
        2001/05/09 10:14:31| Process ID 12479
        2001/05/09 10:14:31| With 1024 file descriptors available
        2001/05/09 10:14:31| DNS Socket created on FD 4
        2001/05/09 10:14:31| Adding nameserver 198.236.4.101 from
/etc/resolv.conf
        2001/05/09 10:14:31| Adding nameserver 207.217.126.81 from
/etc/resolv.conf
        2001/05/09 10:14:31| Unlinkd pipe opened on FD 9
        2001/05/09 10:14:31| Swap maxSize 10240000 KB, estimated 787692
objects
        2001/05/09 10:14:31| Target number of buckets: 15753
        2001/05/09 10:14:31| Using 16384 Store buckets
        2001/05/09 10:14:31| Max Mem size: 131072 KB
        2001/05/09 10:14:31| Max Swap size: 10240000 KB
        2001/05/09 10:14:31| Rebuilding storage in /cache (DIRTY)
        2001/05/09 10:14:31| Set Current Directory to /cache
        2001/05/09 10:14:31| Loaded Icons.
        2001/05/09 10:14:31| Initializing SmartFilter
        2001/05/09 10:14:31| SmartFilter Info: SmartFilter Version: 3.0
        2001/05/09 10:14:31| SmartFilter Info: SmartFilter API version: 3.0
        2001/05/09 10:14:31| Accepting HTTP connections at 0.0.0.0, port
3128, FD 10.
        2001/05/09 10:14:31| Accepting HTTP connections at 0.0.0.0, port
8080, FD 11.
        2001/05/09 10:14:31| Accepting ICP messages at 0.0.0.0, port 3130,
FD 12.
        2001/05/09 10:14:31| WCCP Disabled.
        2001/05/09 10:14:31| Ready to serve requests.
        2001/05/09 10:14:32| Configuring Parent
squid.nwresd.k12.or.us/3128/3130
        2001/05/09 10:14:32| Configuring Sibling
squid2.nwresd.k12.or.us/3128/3130
        2001/05/09 10:14:32| Configuring Sibling
mrtg.nwresd.k12.or.us/3128/3130
        2001/05/09 10:14:32| diskHandleWrite: FD 5: disk write error: (27)
File too large
        FATAL: Write failure -- check your disk space and cache.log
        Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
        CPU Usage: 0.990 seconds = 0.460 user + 0.530 sys
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 324
        Memory usage for squid via mallinfo():
                total space in arena: 2219 KB
                Ordinary blocks: 2210 KB 4 blks
                Small blocks: 0 KB 0 blks
                Holding blocks: 9548 KB 2 blks
                Free Small blocks: 0 KB
                Free Ordinary blocks: 8 KB
                Total in use: 11758 KB 530%
                Total free: 8 KB 0%

I also got this for df -h and df -i

        
        Filesystem Size Used Avail Use% Mounted on
        /dev/hda1 7.7G 146M 7.1G 2% /
        /dev/hda5 18G 65M 17G 1% /cache
        /dev/hda6 14G 6.4G 7.3G 47% /usr

        Filesystem Inodes IUsed IFree IUse% Mounted on
        /dev/hda1 1026144 18671 1007473 2% /
        /dev/hda5 2424832 16460 2408372 1% /cache
        /dev/hda6 1921984 65792 1856192 4% /usr

Have any Ideas.. thanks alot,
Chris Sauer

Christopher Sauer
NW Regional Educational Service District
WAN/LAN Engineer
Received on Wed May 09 2001 - 11:42:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:53 MST