squid rebuilds cache for three days

From: Pavel P. Zabortsev <[email protected]>
Date: Thu, 10 Jun 1999 16:28:33 +0400

Hello,

I have a problem with Squid-2.2.STABLE2 on FreeBSD 2.2.6. (Pentium100 / 64M
/ 2G SCSI disk)

Sometimes I get the message in /var/log/messages: "Out of mbuf clusters -
increase maxusers!"
I've increase maxusers to 512 (maximum possible number).
But at July 8 I have following line in /var/log/messages:

Jun 8 16:18:46 mink /kernel: Out of mbuf clusters - increase maxusers!

and computer restarts automatically.

After computer's start up squid try to rebuild cache. Three days (!) past -
Squid's still rebuilding cache...

What is in cache.log (look at the date!):

1999/06/08 16:22:16| Starting Squid Cache version 2.2.STABLE2 for
i386-unknown-freebsd2.2.6...
1999/06/08 16:22:16| Process ID 237
1999/06/08 16:22:16| With 3240 file descriptors available
1999/06/08 16:22:16| Performing DNS Tests...
1999/06/08 16:22:16| Successful DNS name lookup tests...
1999/06/08 16:22:16| helperOpenServers: Starting 5 'dnsserver' processes
1999/06/08 16:22:16| Unlinkd pipe opened on FD 13
1999/06/08 16:22:16| Swap maxSize 409600 KB, estimated 31507 objects
1999/06/08 16:22:16| Target number of buckets: 630
1999/06/08 16:22:16| Using 8192 Store buckets, replacement runs every 10
seconds
1999/06/08 16:22:16| Max Mem size: 4096 KB
1999/06/08 16:22:16| Max Swap size: 409600 KB
1999/06/08 16:22:16| Rebuilding storage in Cache Dir #0 (DIRTY)
1999/06/08 16:22:16| Set Current Directory to /var/spool/squid.cache
1999/06/08 16:22:16| Loaded Icons.
1999/06/08 16:22:16| Accepting HTTP connections on port 80, FD 37.
1999/06/08 16:22:16| Ready to serve requests.
1999/06/08 16:22:21| Restarting Squid Cache (version 2.2.STABLE2)...
1999/06/08 16:22:21| FD 37 Closing HTTP connection
1999/06/08 16:22:21| Cache dir '/var/spool/squid.cache' size remains
unchanged at 409600 KB
1999/06/08 16:22:21| helperOpenServers: Starting 5 'dnsserver' processes
1999/06/08 16:22:21| Accepting HTTP connections on port 80, FD 5.
1999/06/08 16:22:21| Ready to serve requests.
1999/06/08 16:22:27| 65536 Entries read so far.
1999/06/08 16:22:34| 131072 Entries read so far.
1999/06/08 16:22:47| 196608 Entries read so far.
1999/06/08 16:23:04| 262144 Entries read so far.
1999/06/08 16:23:20| 327680 Entries read so far.
1999/06/08 16:23:40| 393216 Entries read so far.
1999/06/08 16:24:06| 458752 Entries read so far.
1999/06/08 16:24:43| 524288 Entries read so far.
1999/06/08 16:25:45| 589824 Entries read so far.
1999/06/08 16:58:58| WARNING: filemap utilization at 88%
 Consider decreasing store_avg_object_size in squid.conf
[...skip...]
1999/06/08 18:08:23| 655360 Entries read so far.
1999/06/09 00:01:06| Not currently OK to rewrite swap log.
1999/06/09 00:01:06| storeDirWriteCleanLogs: Operation aborted.
1999/06/09 00:01:06| storeLogRotate: Rotating.
1999/06/09 00:01:06| accessLogRotate: Rotating
1999/06/09 01:48:28| 720896 Entries read so far.
[...skip...]
1999/06/10 00:01:12| Not currently OK to rewrite swap log.
1999/06/10 00:01:12| storeDirWriteCleanLogs: Operation aborted.
1999/06/10 00:01:12| storeLogRotate: Rotating.
1999/06/10 00:01:12| accessLogRotate: Rotating
1999/06/10 00:06:22| 786432 Entries read so far.
[...skip...]

Today is July 10 and squid is still rebuilding cache!

What I sould do?

Yours sincerely,
Pavel

----------------------------------------------------------------
Pavel P. Zabortsev e-mail: ppz@cdu.elektra.ru
Software engineer, Postmaster voice: 927-9523, 26-23 (corp)
CDO UPS of Russia fax: 220-6542
Moscow, Russia ICQ: 15371542
----------------------------------------------------------------
Received on Thu Jun 10 1999 - 06:40:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:50 MST