Disk Space Over Limit Error Squid
09:20:59 +1000 On Fri, 8 Jul 2005 12:41 am, Fabio Gomes Baptista wrote: > Hi, > > I have a squid 2.5/STABLE 9 installed and I am getting the following > messages in the cache.log: > > WARNING: Disk space over limit: 1536004 KB > 1536000 KB > > The cache_dir in squid.conf is configured like the line below: > > cache_dir ufs /usr/local/squid/var/spool 1500 128 512 > > The filesystem where the cache dir is located have 519M free. > > What can be the cause of this problem ? The "1500" in the cache_dir config refers to "1500 megabytes". Now 1500*1024=1536000 KB (notice the same number in the warning?) but your cache has 4KB worth of extra objects, hence the warning telling you that 1536004 is bigger than the configured cache size 1536000. It's only a warning, not an error, squid will still run and will trim some objects from the cache to bring it back to its configured size. You can increase your cache_dir if you like to fill the 519MB remaining: 1500+519=2019. So simply replace the 1500 with 2019 in the cache_dir configuration and the cache will fill the remaining disk space. I have no idea how your system is configured so it's up to you to make sure filling the volume the cache is on wont adversely affect your machine. Cheers, James Received on Thu Jul 07 2005 - 18:50:08 MDT This message: [ Message body ] Next message: D & E Radel: "Re: [squid-users] passport.com url error with Squid" Previous message: Chris Robertson: "RE: [squid-users] proxy_auth authentication exemption problem" In reply to: Fabio Gomes Baptista: "[squid-users] WARNING: Disk space over limit:" Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ] This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT
Tue, 4 May 2004 12:40:00 +1000 Hi everyone, Software: Squid Cache version 2.5.STABLE3 for i686-pc-linux-gnu, RedHat Linux v7.3 I've got a strange problem which just started this morning on one of our squid cache boxes. Squid is logging 'Disk space over limit' warnings. Samples of these messages are below: 2004/05/04 08:15:50| WARNING: Disk space over limit: -284891488 KB > 40960000 KB 2004/05/04 08:16:01| WARNING: Disk space over limit: -284891488 KB > 40960000 KB 2004/05/04 08:16:12| http://www.squid-cache.org/mail-archive/squid-users/200507/0189.html WARNING: Disk space over limit: -284891488 KB > 40960000 KB 2004/05/04 08:16:23| WARNING: Disk space over limit: -284891488 KB > 40960000 KB 2004/05/04 08:16:35| WARNING: Disk space over limit: -284891488 KB > 40960000 KB 2004/05/04 08:16:47| WARNING: Disk space over limit: -284891488 KB > 40960000 KB [restarted squid] 2004/05/04 12:16:09| WARNING: Disk space over limit: 1841096312 KB http://www.squid-cache.org/mail-archive/squid-users/200405/0058.html > 40960000 KB 2004/05/04 12:16:20| WARNING: Disk space over limit: 1841086216 KB > 40960000 KB 2004/05/04 12:16:31| WARNING: Disk space over limit: 1841074132 KB > 40960000 KB 2004/05/04 12:16:42| WARNING: Disk space over limit: 1841060244 KB > 40960000 KB 2004/05/04 12:16:54| WARNING: Disk space over limit: 1841052792 KB > 40960000 KB 2004/05/04 12:17:05| WARNING: Disk space over limit: 1840924988 KB > 40960000 KB 2004/05/04 12:17:16| WARNING: Disk space over limit: 1840914168 KB > 40960000 KB 2004/05/04 12:17:27| WARNING: Disk space over limit: 1840893048 KB > 40960000 KB 2004/05/04 12:17:38| WARNING: Disk space over limit: 1840881800 KB > 40960000 KB 2004/05/04 12:17:49| WARNING: Disk space over limit: 1840873072 KB > 40960000 KB 2004/05/04 12:18:00| WARNING: Disk space over limit: 1840862180 KB > 40960000 KB These are being constantly generated. An edited output from 'df -ah' showing the filesystem that the squid cache lives in is below: Filesystem Size Used Avail Use% Mounted on /dev/sdb1 68G 36G 32G 53% /data 'du -k' is reporting the following as the size of the squid
Wiki . Forums . Bugs . Translation | Search . Simple . Advanced | Reports . Help | Matrix . 8.x . 9.x . https://bugs.contribs.org/show_bug.cgi?id=664 10.x . Recent . Contribs Bug664 - Squid warning in logs (Disk space over limit) Summary: Squid warning in logs (Disk space over limit) Status: CLOSED FIXED Alias: None Product: SME Server Documentation Classification: https://groups.google.com/d/topic/comp.os.linux.networking/SwdNysxsu_c SME Server Extras Component: FAQ (show other bugs) Version: 7.0 Hardware: --- --- Importance: P3 normal Target Milestone: --- Assignee: SME Server Docteam QA Contact: URL: Depends on: Blocks: Reported: 2006-02-06 04:22 disk space CET by Alan Stokes Modified: 2007-06-29 18:58 CEST (History) CC List: 3 users (show) airidas25 alanstokes mmccarn-sme See Also: Package: --- Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Alan Stokes 2006-02-06 04:22:13 CET Having this waning in logs not sure if it is bug. yum update. signal-event disk space over post-upgrade; signal-event reboot performed Looked at logs and this appeared Feb 6 10:23:22 server squid[3145]: WARNING: Disk space over limit: 148412 KB > 102400 KB Feb 6 10:23:33 server squid[3145]: WARNING: Disk space over limit: 138564 KB > 102400 KB Feb 6 10:23:44 server squid[3145]: WARNING: Disk space over limit: 127024 KB > 102400 KB Feb 6 10:23:55 server squid[3145]: WARNING: Disk space over limit: 106464 KB > 102400 KB Comment 27 Stephen Noble 2007-06-29 18:58:18 CEST close verified documentation bugs 30-06-2007 Comment 26 chris burnat 2007-06-28 16:46:31 CEST Verified. Comment 25 dakruhm 2007-06-27 19:48:16 CEST -thanks for the correction -updated faq: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Log_Messages This message is just log noise. The message is informational and squid takes care of the issue itself. -marking as fixed Comment 24 Shad L. Lords 2007-06-27 12:06:17 CEST I've seen this message on a quad dual-core xeon box. I don't think it has anything to do with being underpowered. Although being underpowered may cause it to log more. It doesn't really matter. The message is informational and squid takes care of the issue itself. Comment 23 Michael McCarn 2007-06-27 11:39:05 CEST I'm pretty sure you get this message when the computer is too busy
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten