Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: p-jones on May 31, 2005, 07:34:58 AM
-
I have lost all www internet access and an error in the message log saying a Squid Child process has been terminated by a signal 25.
Have reset the swap file and all else look Ok. I am out of ideas an getting desperate.
Anyone PLEASE ??
-
.. looks like your log files may be to big.
Try documenting the ownership & perms of the current log files (cache.log, store.log, access.log) & then deleting & recreating them, for example from /var/log/squid:
[root@kryten squid]# ls -la *.log
-rw-r--r-- 1 squid squid 2569753 May 31 21:41 access.log
-rw-r--r-- 1 squid squid 1473 May 29 04:09 cache.log
-rw-r--r-- 1 squid squid 3410485 May 31 21:41 store.log
rm -f *.log
touch access.log
touch cache.log
touch store.log
chown squid:squid *.log
chmod 644 *.log
service squid start
If this works then it looks like the squid log file grow too fast for the logrotate cycle.
This logrotate issue has been answered before on the forums so just search a bit.
HTH
-
or you have run out of file descriptors or squid is having trouble resolving... How many users do you have behind this machine? Could you post some of the /var/log/squid/cache.log file where squid died.
-
No log files available anymore. Have 7 (hard) users behind it.
I decided to "bite the bullet" and rebuild it. It needed it and I wasnt winning with the problem. With a few minutes of thought and planning, it wasnt that hard - only took about 1 hour.