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

From: Oskar Pearson <oskar@dont-contact.us>
Date: Tue, 17 Feb 1998 03:33:29 +0200

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

Hi

> > 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..
>
> Check to see if it's the main thread burning CPU, or one of the child
> threads...

Each of the child threads..

  3:24am up 23 days, 9:08h, 21 users, load average: 33.07, 16.04, 6.37
126 processes: 91 sleeping, 35 running, 0 zombie, 0 stopped
CPU states: 26.6% user, 71.4% system, 0.0% nice, 3.7% idle
Mem: 30312K av, 29632K used, 680K free, 14152K shrd, 968K buff
Swap: 80604K av, 47784K used, 32820K free 4016K cached

    USER PID %CPU %MEM NI VSZ RSS SHRD TT STAT TIME COMMAND
squid 28884 4.1 2.5 0 2660 768 400 q0 R 0:04 (squid)
squid 28889 4.1 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28894 3.9 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28902 3.7 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28881 3.4 2.5 0 2660 768 400 q0 R 0:04 (squid)
squid 28892 3.3 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28887 3.2 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28911 3.2 0.6 0 2100 192 148 q0 R 0:04 squid
squid 28896 3.1 0.8 0 2100 248 152 q0 R 0:04 squid
root 7855 2.8 35.7 0 32068 10832 668 ? R 519:20 X :0 -bpp 16
root 28870 2.8 2.0 0 1412 620 408 p7 R 0:05 top
squid 28880 2.8 2.5 0 2660 768 400 q0 R 0:04 (squid)
squid 28882 2.8 2.5 0 2660 768 400 q0 R 0:04 (squid)
squid 28885 2.8 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28904 2.8 0.8 0 2100 248 152 q0 R 0:04 squid
squid 28886 2.7 2.5 0 2660 768 400 q0 R 0:04 (squid)
squid 28910 2.7 0.6 0 2100 192 148 q0 R 0:04 squid

squid@newt:/usr/local/squid/bin > time ./squid
real 3m10.029s
user 0m1.320s
sys 0m3.080s
huh?

hmm... I should have used 'strace -f':

hmm. That's just great... when I strace -f it doesn't chew CPU!

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