did you check that nothing in cron start every hour ?
try : #crontab -l
-Message d'origine-
De : Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 novembre 2005 16:01
À : [EMAIL PROTECTED]
Cc : squid-users@squid-cache.org
Objet : RE: [squid-users] Squid unreachable every hour and 6 minutes.
It's nearly what I already tried.
(1) Ok
(2) I had : cache_dir ufs /cache 5000 16 256
(3) mke2fs -j -c /dev/cciss/c0d0p6 (/dev/cciss/c0d0p6 is my Cache
partition)
(3) ok
(4) /etc/init.d squid start.
The effect was exactly the same : squid stop every hour.
So I tried :
(2) changed : cache_dir ufs /cache 100 16 256
(4) squid -k reconfigure
Same result.
Then a last sing I did :
(1) Stop Squid
(3) cd /cache
rm cache.swap
(4) Start Squid
And again ... Same result.
But as the server is in production, I wll try tonight to delete folder as you
propose,
Thanks.
L.G.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 9. November 2005 15:46
To: Gix, Lilian (CI/OSR) *; [EMAIL PROTECTED]; squid-users@squid-cache.org
Subject: AW: [squid-users] Squid unreachable every hour and 6 minutes.
Please repeat that again.
(1) stop squid
(2) find out wht are the cache directories squid uses, for example
# grep cache_dir squid.conf
cache_dir ufs /data1/squid_cache 6000 32 512
cache_dir ufs /data2/squid_cache 1 32 512
#
In this example /data1/squid_cache and /data2/squid_cache are the cache
dirs.
(3) Clean all cache dirs - in this example:
cd /data1/squid_cache
rm -f *
cd /data2/squid_cache
rm -f *
(3) create the cache structures again: squid -z
(4) Start squid.
What happens?
Is squid running? ps -ef | grep squid
What does cache.log say since starting of squid?
Is squid reachable?
(5) What happens after 1 hour an 6 minutes?
Werner Rost
-Ursprüngliche Nachricht-
Von: Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 9. November 2005 15:10
An: Dave Raven; squid-users@squid-cache.org
Betreff: RE: [squid-users] Squid unreachable every hour and 6 minutes.
I already tried to :
- Stop Squid, delete swap.state, restart squid
- Stop Squid, format my cache parition, squid -z, start squid
- change cache_dir ufs /cache 5000 16 256 to cache_dir ufs /cache 100
16 256, squid -k restart.
- reboot completely the server
But nothing worked.
-Original Message-
From: Dave Raven [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 9. November 2005 14:58
To: Gix, Lilian (CI/OSR) *; squid-users@squid-cache.org
Subject: RE: [squid-users] Squid unreachable every hour and 6 minutes.
Try use my method posted earlier to search for code files.
The fact that your log suddenly shows squid restarting means it died
unexpectedly. If there is a core file it'll be squids problem - if not
its probably something else causing the problem.
Also, you should try clean out your cache_dir potentially...
Remove everything and run squid -z to recreate it
-Original Message-
From: Gix, Lilian (CI/OSR) * [mailto:[EMAIL PROTECTED]
Sent: 09 November 2005 03:32 PM
To: Mike Cudmore
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Squid unreachable every hour and 6 minutes.
Great, thanks for your answer and questions :
1- I have a message form my browser (IE, Firefox) witch says the proxy
is unreachable. My MSN, yahoo messengers loose their access.
2- Ping like all other services still work perfectly. (SSH, Apache,
Ping,...)
3- Cache.log part is on the previous mail. You can see that there is
nothing special between 09:44:45 and 10:07:05 (when squid come back)
Thanks for help.
L.G.
From: Mike Cudmore [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 9. November 2005 14:10
To: Gix, Lilian (CI/OSR) *
Subject: RE: [squid-users] Squid unreachable every hour and 6 minutes.
Lilian
I may have missed earlier entries in this thread so apologies if I ask
you to repeat any info.
1) How do you know squid is unreachable at these times ?
2) try pinging the host squid is running on for a period that covers
the time that the squid is unreachable. Does the host become
unreachable as well?
3) What does cache.log say for these periods ?
I have more thoughts depending on the answers to these
Regards
Mike
Gix, Lilian (CI/OSR) * [EMAIL PROTECTED] 09/11/05
12:44:30
Hello,
Realy no body have an idea ?
:(
L.G.
-Original Message-
From: Gix, Lilian (CI/OSR) *
Sent: Mittwoch, 2. November 2005 10:26
To: squid-users@squid-cache.org
Subject: [squid-users] Squid unreachable every hour and 6 minutes.
Hello,
I have a problem with my squid :
every hour and 6 minutes, it is unreachable for few second.
Here is a part of Cache.log :
2005/11/02 09:44:45| Detected REVIVED Parent: virus2.com/8080/0
2005/11/02 10:07:05| Starting Squid Cache version
2.5.STABLE6 for i386-debian-li