Aller au contenu

pb squid


Messages recommandés

Bonjour à tous,

J'ai un soucis sous squid qui est installé sur une debian sarge

Tous les jours un cron fait en sorte d'archiver les log mais un soucis se présente à chaque fois, l'archivage se passe correctement sauf que durant l'exécution, squid est redémarré. ce qui provoque des coupures.

Voici la version de squid "Starting Squid Cache version 2.5.STABLE2-20030403 for i686-pc-linux-gnu"

voici les log de /var/log/messages

squid[3358]: Closing Pinger socket on FD 24
squid[3358]: storeDirWriteCleanLogs: Starting...
squid[3358]:   Finished.  Wrote 0 entries.
squid[3358]:   Took 0.0 seconds (   0.0 entries/sec).
squid[3358]: logfileRotate: /var/log/squid/store.log
squid[3358]: logfileRotate: /var/log/squid/access.log
squid[3358]: Pinger socket opened on FD 9
squid[3358]: helperOpenServers: Starting 10 'dnsserver' processes
squid[3358]: Preparing for shutdown after 0 requests
squid[3358]: Waiting 30 seconds for active connections to finish
squid[3358]: FD 20 Closing HTTP connection
squid[3358]: Closing Pinger socket on FD 9
squid[3358]: Shutting down...
squid[3358]: FD 21 Closing ICP connection
squid[3358]: FD 22 Closing HTCP socket
squid[3358]: Closing unlinkd pipe on FD 19
squid[3358]: storeDirWriteCleanLogs: Starting...
squid[3358]:   Finished.  Wrote 0 entries.
squid[3358]:   Took 0.0 seconds (   0.0 entries/sec).
squid[3358]: Squid Cache (Version 2.5.STABLE2-20030403): Exiting normally.
squid[3355]: Squid Parent: child process 3358 exited with status 0
squid[11790]: Squid Parent: child process 11793 started
squid[11793]: Starting Squid Cache version 2.5.STABLE2-20030403 for i686-pc-linux-gnu...
squid[11793]: Process ID 11793
squid[11793]: With 1024 file descriptors available
squid[11793]: helperOpenServers: Starting 10 'dnsserver' processes
squid[11793]: Unlinkd pipe opened on FD 19
squid[11793]: Swap maxSize 5120000 KB, estimated 160000 objects
squid[11793]: Target number of buckets: 3200
squid[11793]: Using 8192 Store buckets
squid[11793]: Max Mem  size: 131072 KB
squid[11793]: Max Swap size: 5120000 KB
squid[11793]: Rebuilding storage in /var/cache/squid (DIRTY)
squid[11793]: Using Least Load store dir selection
squid[11793]: Set Current Directory to /var/cache/squid
squid[11793]: Loaded Icons.
squid[11793]: Accepting HTTP connections at 0.0.0.0, port 3128, FD 20.
squid[11793]: Accepting ICP messages at 0.0.0.0, port 3130, FD 21.
squid[11793]: Accepting HTCP messages on port 4827, FD 22.
squid[11793]: WCCP Disabled.
squid[11793]: Pinger socket opened on FD 24
squid[11793]: Ready to serve requests.
squid[11793]: Done scanning /var/cache/squid swaplog (0 entries)
squid[11793]: Finished rebuilding storage from disk.
squid[11793]:		 0 Entries scanned
squid[11793]:		 0 Invalid entries.
squid[11793]:		 0 With invalid flags.
squid[11793]:		 0 Objects loaded.
squid[11793]:		 0 Objects expired.
squid[11793]:		 0 Objects cancelled.
squid[11793]:		 0 Duplicate URLs purged.
squid[11793]:		 0 Swapfile clashes avoided.
squid[11793]:   Took 0.4 seconds (   0.0 objects/sec).
squid[11793]: Beginning Validation Procedure
squid[11793]:   Completed Validation Procedure
squid[11793]:   Validated 0 Entries
squid[11793]:   store_swap_size = 0k
squid[11793]: storeLateRelease: released 0 objects
syslogd 1.4.1#10: restart.

Dans les autres log, j'ai rien de vraiment interessant concernant ce problème,

Es ce que vous avez déja eu ce pb ?

Lien vers le commentaire
Partager sur d’autres sites

c'est quoi ton cron qui fait en sorte d'archiver les logs? il ferait pas un mv ou un rm des logs utilisés par squid ce qui le ferait planter (squid[11793]: Unlinkd pipe opened on FD 19)

Par ex logrotate normalement il arrete squid, archive les logs et relance squid.

Lien vers le commentaire
Partager sur d’autres sites

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...