Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: addodge 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
-
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.
-
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
-
I think bugzilla has the fix, no need to speculate here
-
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.
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:
# 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.
# config setprop squid Rotate hourly
# signal-event proxy-update
-
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
-
What resolved your issue?
Craig
-
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
-
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 (http://bugs.contribs.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=Disk+space+over+limit&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=) as well as a remark is being listed in the wiki (http://wiki.contribs.org/SME_Server:Documentation:FAQ#Error_Messages).
-
Indeed as this yields a list of bugs only querying on Disk space over limit (http://bugs.contribs.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=Disk+space+over+limit&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=) as well as a remark is being listed in the wiki (http://wiki.contribs.org/SME_Server:Documentation:FAQ#Error_Messages).
Thanks, good to know