Beta 15 works! (but it's broken in a different way :)

From: Oskar Pearson <oskar@dont-contact.us>
Date: Tue, 17 Feb 1998 01:43:59 +0200

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii

Hi

I run: strace -o squid.out -p 28554 -T
and then push it though Michael's script:

         System call Count Total time Time per call % total
           getrusage 3 0.0004 0.000149 0.00031
               fcntl 10 0.0012 0.000120 0.00083
                open 10 0.0030 0.000304 0.00211
        gettimeofday 158 0.0193 0.000122 0.01342
               close 10 0.0213 0.002130 0.01478
            getdents 20 0.1009 0.005043 0.07000
               write 603 0.1183 0.000196 0.08212
                stat 10 0.3404 0.034043 0.23626
           oldselect 159 143.4838 0.902414 99.58017
Total time elapsed: 144.088741

Now this squid is completely idle... any idea why it's going moggy about with
the CPU? My machine has no idle CPU when I run it, so I guess things aren't
wonderful..

----------
1998/02/17 01:20:24| comm_select: time out: 887671224.
1998/02/17 01:20:24| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 01:20:24| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 01:20:25| comm_select: 0 sockets ready at 887671225
1998/02/17 01:20:25| comm_select: time out: 887671225.
1998/02/17 01:20:25| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 01:20:25| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 01:20:26| comm_select: 0 sockets ready at 887671226
1998/02/17 01:20:26| comm_select: time out: 887671226.
1998/02/17 01:20:26| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 01:20:26| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 01:20:27| comm_select: 0 sockets ready at 887671227
1998/02/17 01:20:27| comm_select: time out: 887671227.
1998/02/17 01:20:27| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 01:20:27| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 01:20:28| comm_select: 0 sockets ready at 887671228
1998/02/17 01:20:28| comm_select: time out: 887671228.
1998/02/17 01:20:28| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 01:20:28| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 01:20:29| comm_select: 0 sockets ready at 887671229
1998/02/17 01:20:29| comm_select: time out: 887671229.
----------

This is the actual strace output..
----------
write(3, "1998/02/17 01:20:05| comm_select"..., 63) = 63 <0.000176>
write(3, "1998/02/17 01:20:05| comm_select"..., 55) = 55 <0.000167>
write(3, "1998/02/17 01:20:05| eventRun: R"..., 55) = 55 <0.000242>
write(3, "1998/02/17 01:20:05| eventAdd: A"..., 69) = 69 <0.000166>
write(3, "1998/02/17 01:20:05| storeDirCle"..., 84) = 84 <0.000164>
stat("/usr/local/squid/cache/07/05", {st_mode=S_IFDIR|0755, st_size=1024, ...})
= 0 <0.048970>
open("/usr/local/squid/cache/07/05", O_RDONLY) = 4 <0.000283>
fcntl(4, F_SETFD, FD_CLOEXEC) = 0 <0.000115>
getdents(4, /* 2 entries */, 4096) = 28 <0.010930>
getdents(4, /* 0 entries */, 4096) = 0 <0.000121>
close(4) = 0 <0.011894>
gettimeofday({887671206, 181914}, NULL) = 0 <0.000115>
oldselect(48, [43 44], [], NULL, {0, 0}) = 0 (Timeout) <0.000189>
write(3, "1998/02/17 01:20:06| comm_select"..., 63) = 63 <0.000169>
write(3, "1998/02/17 01:20:06| comm_select"..., 55) = 55 <0.000166>
write(3, "1998/02/17 01:20:06| eventRun: R"..., 64) = 64 <0.000165>
write(3, "1998/02/17 01:20:06| eventAdd: A"..., 77) = 77 <0.000166>
gettimeofday({887671206, 190155}, NULL) = 0 <0.000124>
oldselect(48, [43 44], [], NULL, {1, 0}) = 0 (Timeout) <1.002688>
write(3, "1998/02/17 01:20:06| comm_select"..., 63) = 63 <0.000172>
gettimeofday({887671207, 197420}, NULL) = 0 <0.000124>
oldselect(48, [43 44], [], NULL, {1, 0}) = 0 (Timeout) <1.007345>
----------

Oskar

---
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?"				-- Think Twice
--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:46 MDT

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