----- Original Message ----- From: "Ron Smith" <[EMAIL PROTECTED]>
Sent: Friday, 2008, July 25 18:02


Processes:  61 total, 3 running, 58 sleeping... 342
threads             20:19:27
Load Avg:  0.45,  0.99,  1.21    CPU usage:  2.80% user,  3.74% sys,
93.46% idle
SharedLibs: num =    2, resident =   34M code,     0 data, 3104K
linkedit.
MemRegions: num =  8452, resident =  253M +   14M private,   81M shared.
PhysMem:  199M wired,  489M active, 3365M inactive, 4054M used,   42M
free.
VM: 3418M + 131M   53452(0) pageins, 6452(0) pageouts

  PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD
RSIZE  VSIZE
74354 top          5.9%  0:02.43   1    19     33  460K   212K
1064K    19M
*** > 74288 mdworker     0.0%  0:00.40   3    52     37  744K  2504K
2492K    31M
74059 sh           0.0%  0:00.03   1    14     18  224K   764K
976K    18M
74054 sshd         0.0%  0:00.36   1    17     49  356K   200K
1440K    21M
NOTE* > 73445 perl         0.0%  0:13.79   1    11    155   17M    29M
26M    50M
71709 perl         0.0%  0:48.19   1    11    155   18M    29M
27M    50M
*** >   314 mdworker     0.0%  0:32.72   4    55     36 1292K  2140K
2892K    31M
  313 pmTool       0.0%  9:25.72   1    24     26  628K  1048K
1468K    27M
  312 Activity M   0.5% 11:10.62   5   110    229 4340K    15M
11M   197M
  309 usbmuxd      0.0%  0:00.01   2    21     32  208K   224K
728K    19M
  306 iTunesHelp   0.0%  0:00.10   2    53     50  512K   588K
2280K    89M
  188 Finder       0.0% 19:26.91   9   162    203 3728K    12M
16M   185M
  187 coreaudiod   0.0%  0:00.08   2    96     29  260K   232K
928K    18M
  186 ATSServer    0.0%  0:00.45   2    80     82  700K  1164K
2360K    62M
  185 AppleVNCSe   0.9%  6:18:17   6   101     91   13M  8228K
17M   143M
  184 SystemUISe   0.0%  0:02.40   6   211    186 2164K  4732K
6292K   158M

Here is a breakdown from the Activity Monitor showing the parent spamd
(perl) and two (perl) children called 'nobody.' The sh process is the
scanspam script from which I excerpted the two lines which call spamc
and then change the .tmp file to .sub once spamd is through processing
it. I'v thrown in freshclam and the CG PRO process also:

PID proc    user CPU Thrds Real Mem Vir Mem Kind(Platform)
COMPARE* > 73445 perl    nobody 0.0 1 25.79 MB 618.09 MB PowerPC
156 perl    root 0.0 1 24.55 MB 608.68 MB PowerPC
71709 perl    nobody 0.0 1 26.82 MB 618.35 MB PowerPC
75 freshclam root 0.0 1 456.00 KB 586.43 MB PowerPC
74059 sh      root 0.0 1 976.00 KB 586.16 MB PowerPC
103 sh      root 0.0 1 772.00 KB 586.16 MB PowerPC
102 CGServer root 4.8 141 13.45 MB 617.47 MB PowerPC

WTH is Activity Monitor claiming 618.09 MB for this perl function when
top reports a more sane 50M? Can ActivityMonitor be believed?

Note the mdworker threads. I Googled it. First answer was this thread:
http://forum.insanelymac.com/index.php?showtopic=24789

Here is another discussion thread to consider:
"http://forums.macnn.com/90/mac-os-x/361819/great-crusade-against-10-5-mdworker/";

In some circles mdworker is not considered to be a very friendly tool.
I'd nice it to the point it barely runs in the background if I didn't
kill it altogether or simply run a FreeBSD or Linux based solution. For
servers Apples and non-server versions of Windows are dreadful. The raw
'ix solutions do far better.

Take it up with Apple. You have activity on your machine so mdworker
dutifully tries to search out changes to the system it may have caused
thus eating your machine alive.

{^_^} Joanne

Reply via email to