> My squid is dying sometimes (say after 5 to 7 > days). This happened lastweek > already. > > What's this error means???: (I ran tail -f to > cache.log) > > WARNING: Disk space over limit: 8055792 kb > > 7168000 kb > StoreLateRelease: released 46 objects > > Do you think this error is the cause of the > problem? Hope you can help me > to fix the problem.
Looks like you ar running out of disk space? What does "df -kh" show you? Take note that when you create an ext2/3 File System it defaults to 5% as writable by root only. And don't forget the inodes, files/directory, etc. for File System overhead. To solve this, you might want to: - If using ext2/3, set the reserve FS block to 1% or even 0%. Note that the default reserver 5% of an example 25Gb HDD is 1.25Gb! You can use tune2fs to do this live. Or use reiserfs. they say it's many times faster for small files. - Create multiple cache_dir on different partition on one disk. smaller inodes per partition/FS helps a bit. - Start with cache_dir that is 75% of the total of what "df -kh" shows you. Then incremetally increase it comfortably. But if you ask me, have a buffer zone of 20% per cache_dir. It says in the squid FAQ that it performs better when there is more free space and it's not tolerant of running out of disk space. As for your other question about harddisks, me thinks that you don't have a problem with the HDD themselves, but more on configs/optimazation of squid. Frankly, i would buy more RAM rather than buying new scsi/eide HDD. Think of it as every read/writes trip to the HDD is expensive and slows you down. If you really want to buy harddrives, don't throw the old HDD, but keep it and just add the newer HDD to the cache_dir of squid. regards, Andre -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
