Squid restart problem.

From: Dancer <dancer@dont-contact.us>
Date: Thu, 10 Oct 1996 06:21:22 +1000

Squid 1.1 b4
Linux

Reconfigure and rotate don't give any troubles, but after '-k shutdown'
and starting the server up again with the -F (fast rebuild) option, the
server _appears_ to go off into a loop, soaking CPU cycles, from which
it never returns.

Here's where I shut down:

96/10/10 05:59:52| Shutting down...
96/10/10 05:59:52| storeWriteCleanLog: Starting...
96/10/10 05:59:55| 4096 lines written so far.
96/10/10 05:59:56| 8192 lines written so far.
96/10/10 05:59:57| 12288 lines written so far.
96/10/10 05:59:58| 16384 lines written so far.
96/10/10 05:59:59| 20480 lines written so far.
96/10/10 05:59:59| Finished. Wrote 22314 lines.
96/10/10 05:59:59| Took 7 seconds (3187.7 lines/sec).
CPU Usage: user 513 sys 749
Memory Usage: rss 0 KB
Page faults with physical i/o: 205799

And here's where I tried to restart:

96/10/10 06:00:47| file_map_create: creating space for 2097152 files
96/10/10 06:00:47| Rebuilding storage from disk image in
/home/squid/cache
96/10/10 06:00:50| Rebuilding in FAST MODE.
96/10/10 06:00:50| 4096 Lines read so far.
96/10/10 06:00:50| 8192 Lines read so far.
96/10/10 06:00:50| 12288 Lines read so far.
96/10/10 06:00:50| 16384 Lines read so far.
96/10/10 06:00:50| 20480 Lines read so far.
        <- And here is where it went away.

As a clue, it never wrote a pid file, so whatever happened, happened
before that.

Similar behaviour: Without the -F option, it restarts but remains
(thereafter) a _heavy_ consumer of CPU cycles. I do not know if it
writes any pid file in the process. Squid is normally a particularly
lightweight CPU user.

(Yes, I suspect a bug in the cache-reloading) Anybody else?

D
Received on Wed Oct 09 1996 - 13:21:34 MDT

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