Koozali.org: home of the SME Server

Squid error - Disk space over limit

addodge

Squid error - Disk space over limit
« on: February 14, 2007, 06:25:42 PM »
Hey,
We had a server stop responding/Internet stop working.
I had to do a hard reset and on restart I checked the log file and found the following.


Feb 14 11:51:35 sme squid[3974]: WARNING: Disk space over limit: 149404 KB > 102400 KB
Feb 14 11:51:36 sme esmith::event[4410]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1171471894 136408|End|1171471896 108546|Elapsed|1.972138
Feb 14 11:51:46 sme squid[3974]: WARNING: Disk space over limit: 136020 KB > 102400 KB
Feb 14 11:51:57 sme squid[3974]: WARNING: Disk space over limit: 124172 KB > 102400 KB
Feb 14 11:52:08 sme squid[3974]: WARNING: Disk space over limit: 115860 KB > 102400 KB


Is this something that i need to be concerened about?  I read in another thread to stop the squid service and delete the files in the cache folder and let it rebuild itslef.  What command is used to stop the service, and will that kick me off if i am connected via vpn?  Thanks for your help.
Andy

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Squid error - Disk space over limit
« Reply #1 on: February 14, 2007, 07:00:25 PM »
Quote from: "addodge"

Feb 14 11:51:35 sme squid[3974]: WARNING: Disk space over limit: 149404 KB > 102400 KB
Feb 14 11:51:36 sme esmith::event[4410]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1171471894 136408|End|1171471896 108546|Elapsed|1.972138
Feb 14 11:51:46 sme squid[3974]: WARNING: Disk space over limit: 136020 KB > 102400 KB
Feb 14 11:51:57 sme squid[3974]: WARNING: Disk space over limit: 124172 KB > 102400 KB
Feb 14 11:52:08 sme squid[3974]: WARNING: Disk space over limit: 115860 KB > 102400 KB


Please report any potential bugs via bug tracker. Thanks

Also try a search in the bug tracker as this has been reported.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

addodge

Squid error - Disk space over limit
« Reply #2 on: February 14, 2007, 07:18:31 PM »
I didn't think to look in the bugtracker.  Thanks for the heads up.
It mentions doing this
svc -d /service/squid
mv /var/spool/squid/swap.state /var/spool/squid/swap.state.safe
svc -u /service/squid
to flush out the current swap.
I also see the script to increase the size of the swap from 100 to 1000.  Is this something that i should attempt to do?  If so i kinda need some help doing this as im not too familiar with doing this type of thing.
Thanks
Andy

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Squid error - Disk space over limit
« Reply #3 on: February 15, 2007, 01:11:33 AM »
I think bugzilla has the fix, no need to speculate here

Offline pfloor

  • *****
  • 889
  • +1/-0
Squid error - Disk space over limit
« Reply #4 on: February 15, 2007, 02:52:31 AM »
Andy, those over limit warnings are barely over the limit and shouldn't cause any prolems.  There have been some recent updates to solve this issue but no released yet.

Quote
svc -d /service/squid
mv /var/spool/squid/swap.state /var/spool/squid/swap.state.safe
svc -u /service/squid

DON'T do this.  This is not necessary and will cause squid to rebuild the cache from scratch.

There has been a squid cache rotation added that rebuilds and drops the cache size daily.  You can grab it via ym:

Code: [Select]
# yum --enablerepo=smeupdates-testing update e-smith-proxy

This update will not require the re-configure/reboot but just:

# expand-template /etc/squid/squid.conf
# signal-event proxy-update


If you have a lot of squid traffic you can configure rotation to every hour if needed.

Code: [Select]
# config setprop squid Rotate hourly
# signal-event proxy-update
In life, you must either "Push, Pull or Get out of the way!"

addodge

Squid error - Disk space over limit
« Reply #5 on: February 15, 2007, 03:39:24 AM »
I'll give that a shot and see how it works...
I did just notice on my personal server at home which is 7.1 that i had the same error in the log file.  :-(  I ran the update and will cross my fingers that it helps.
Thanks again.
Andy

Offline cjensen

  • *
  • 133
  • +0/-0
    • http://acenet-tech.org
Squid error - Disk space over limit
« Reply #6 on: February 23, 2007, 05:44:46 AM »
What resolved your issue?

Craig

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: Squid error - Disk space over limit
« Reply #7 on: April 20, 2008, 04:49:18 AM »
I have similar errors such as:

Apr 19 22:25:15 auction squid[3909]: WARNING: newer swaplog entry for dirno 0, fileno 000002C9
many entries

And
Apr 19 22:26:11 auction squid[3909]: WARNING: Disk space over limit: 160844 KB > 102400 KB
many entries also. Especially when I reboot.

It's not really causing any problems or dysfunction that I know of.
I'm using 7.1 and was wondering will an upgrade to 7.3 fix this problem.

Please advise
Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Squid error - Disk space over limit
« Reply #8 on: April 20, 2008, 09:44:58 AM »
Also try a search in the bug tracker as this has been reported.
Indeed as this yields a list of bugs only querying on Disk space over limit as well as a remark is being listed in the wiki.
« Last Edit: April 20, 2008, 09:47:08 AM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: Squid error - Disk space over limit
« Reply #9 on: April 21, 2008, 03:29:01 AM »
Indeed as this yields a list of bugs only querying on Disk space over limit as well as a remark is being listed in the wiki.

Thanks, good to know