Squid access.log file over 2Gb

I had a problem with Squid which required removing the access.log file as it had grown over 2Gb in size which has caused Squid to terminate and also stopped Squid from starting.
The cache.log file seemed to hang at:

2008/04/20 19:09:23| Ready to serve requests.
2008/04/20 19:09:24| Configuring Sibling cache2.domain.tld/8080/3130
2008/04/20 19:09:24| Store rebuilding is  1.4% complete

Earlier in the logs I found:

FATAL: logfileWrite: /path/to/squid/logs/access.log: (0) Success

Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
CPU Usage: 18950.220 seconds = 2350.730 user + 16599.490 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 408
Memory usage for squid via mallinfo():
        total space in arena:  183604 KB
        Ordinary blocks:       181636 KB   7126 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:          1960 KB      4 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:    1967 KB
        Total in use:          183596 KB 99%
        Total free:              1967 KB 1%

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>