Hi there !
In case the following topic was already covered here - sorry 'bout that - alt least
I didn't find it in the FAQ...
I have a problem with SQUID version 2.2 on a sparc running with Red-Hat 6.2
(Kernel 2.2.12-42): The program can't open the swapfile anymore and fails to
restart, saying there would be no space left on the device.
2000/10/11 12:41:01| storeSwapOutFileOpened:
Unable to open swapfile: /usr/local/squid/cache/01/14/000114E1
(28) No space left on device
What confuses me is, tht only 17% of the partition containing the cache were
used:
zeus:[squid] #df
Filesystem 1k-blocks Used Available Use% Mounted on
...
/dev/sdd1 519388 85232 407772 17% /usr/local/squid/cache
...
I had to delete all files in the cache-directory to start squid again. This
happened twice in three weeks, now.
It would be great if somebody knew how to solve this problem (or better: tells
me what I did wrong in my configuration :-) Futher down you'll find a part of squids
cache.log and squid.conf
Thanks,
Michael
cache.log
=======
2000/10/11 12:41:01| storeSwapOutFileOpened: Unable to open swapfile:
/usr/local/squid/cache/01/14/000114E1
(28) No space left on device
2000/10/11 12:41:04| storeSwapOutFileOpened: Unable to open swapfile:
/usr/local/squid/cache/01/14/000114E2
(28) No space left on device
2000/10/11 14:05:29| Starting Squid Cache version 2.2.STABLE4 for sparc-unknown-linux-gnu...
2000/10/11 14:05:29| Process ID 465
2000/10/11 14:05:29| With 1024 file descriptors available
2000/10/11 14:05:29| helperOpenServers: Starting 5 'dnsserver' processes
2000/10/11 14:05:34| Unlinkd pipe opened on FD 10
2000/10/11 14:05:34| Swap maxSize 460800 KB, estimated 35446 objects
2000/10/11 14:05:34| Target number of buckets: 708
2000/10/11 14:05:34| Using 8192 Store buckets, replacement runs every 10 seconds
2000/10/11 14:05:34| Max Mem size: 16384 KB
2000/10/11 14:05:34| Max Swap size: 460800 KB
2000/10/11 14:05:34| /usr/local/squid/cache/swap.state.new: (28) No space left on device
FATAL: storeDirOpenTmpSwapLog: Failed to open swap log.
Squid Cache (Version 2.2.STABLE4): Terminated abnormally.
squid.conf
=======
cache_mem 16 MB
cache_swap_low 85
cache_swap_high 90
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_dir /usr/local/squid/cache 450 16 256
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Nov 23 2000 - 09:53:27 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:34 MST