New MBP issue

Soldato
Joined
24 Nov 2002
Posts
16,378
Location
38.744281°N 104.846806°W
Is this right? Seems stupid:

picture1bgo.png


Nothing is running other than Safari and VLC.

****** thing keeps freezing during video playback for a few seconds. It locks the whole computer up, and if I'm typing, and carrying on typing during the freeze, the text doesn't appear post freeze.

It's a 2.8Ghz/4Gb laptop - if it can't operate without freezing it is getting smashed up.
 
Repair permissions?
Aha the silver bullet. Will try.

Didn't fix it. Neither does using Quicktime, although it may not just be in video.

Edit - it happens even in safari - no video. This ****** freezing is annoying me. Just that spinning wheel comes on for about 10 seconds.

Added to the fact I can't use the laptop leaning back as the hinge is so weak it just closes.

£1500 for a pile of ****.
 
Last edited:

That does seem odd.

Wired = held by the OS (OS, Drivers, workspaces etc).
Active = programs running (applications etc).
Inactive = programs ran then quit thus are kept cached by the OS just in case you reload them. This can be reduced to zero by the OS if need be.
Free = idle memory unused.

The page swaps show something large was loaded. I normally don't have any swapping (4GB RAM MBP). If that large thing was quit the OS will take a while to go through it's virtual memory to sort itself out with a 5,400rpm drive.

If you were running Parallels was that 3.0 or 4.0? Also what size was the VM? (also if you were using 4.0 are you using the hypervisor?).
Parallels 3.0 is a memory hog as it doesn't dynamically change the memory allocation to the VM if the VM doesn't need it.

The only time my MBP has slowed through swapping - running VM for Windows (2GB), Ubuntu 64bit and Redhat 4 AS 64bit along with an external monitor. That's with an SSD too.
The other time was last night - but that's because I'm developing something that requires ridiculous amounts of memory (considering a Mac Pro with 16GB or 32GB for example).

To give you an idea of my current figures (bare in mind this has been running for weeks and with me creating 64bit 3Gb+ processes :D):
sys.jpg
 
Last edited:
That does seem odd.

Wired = held by the OS (OS, Drivers, workspaces etc).
Active = programs running (applications etc).
Inactive = programs ran then quit thus are kept cached by the OS just in case you reload them. This can be reduced to zero by the OS if need be.
Free = idle memory unused.

The page swaps show something large was loaded. I normally don't have any swapping (4GB RAM MBP). If that large thing was quit the OS will take a while to go through it's virtual memory to sort itself out with a 5,400rpm drive.

If you were running Parallels was that 3.0 or 4.0? Also what size was the VM? (also if you were using 4.0 are you using the hypervisor?).
Parallels 3.0 is a memory hog as it doesn't dynamically change the memory allocation to the VM if the VM doesn't need it.

The only time my MBP has slowed through swapping - running VM for Windows (2GB), Ubuntu 64bit and Redhat 4 AS 64bit along with an external monitor. That's with an SSD too.
The other time was last night - but that's because I'm developing something that requires ridiculous amounts of memory (considering a Mac Pro with 16GB or 32GB for example).
Parallels 4.0, with an XPSP3 (512mb) VM open - but nothing open in that. I've set Parallels memory to Automatic, and hypervisor was off. I'll try enabling that.
 
It may be something has a memory leak - perhaps you have an application that's got a leak.. only way to identify that is looking at the RSIZE.

Go into Activity Monitor then at the top menu View>Columns>.. then add RSIZE, VSIZE, Threads and Kind.

This should make it easy to spot the offending component with a high RSIZE or VSIZE.
 
It may be something has a memory leak - perhaps you have an application that's got a leak.. only way to identify that is looking at the RSIZE.

Go into Activity Monitor then at the top menu View>Columns>.. then add RSIZE, VSIZE, Threads and Kind.

This should make it easy to spot the offending component with a high RSIZE or VSIZE.
I'll keep an eye on them. Still got a VM of 45Gb

Code:
Active Memory: 793.88 MB
Free Memory: 557.14 MB
Wired Memory: 664.06 MB
Used Memory: 3.22 GB
Inactive Memory: 1.79 GB
Total VM: 41.27 GB
Number of processes: 58

ID     Process Name              User        CPU      RSIZE            VSIZE
0      kernel_task               root       4.1      277.29 MB       1.97 GB          
1      launchd                   root       0.0      508.00 KB       586.74 MB        
10     kextd                     root       0.0      1.04 MB         586.19 MB        
11     notifyd                   root       0.0      408.00 KB       586.17 MB        
12     syslogd                   root       0.0      432.00 KB       587.24 MB        
14     ntpd                      root       0.0      596.00 KB       586.12 MB        
15     usbmuxd                   _usbmuxd   0.0      476.00 KB       587.46 MB        
16     update                    root       0.0      196.00 KB       585.57 MB        
17     SystemStarter             root       0.0      376.00 KB       585.61 MB        
20     securityd                 root       0.0      1.43 MB         586.79 MB        
23     mDNSResponder             _mdnsrespo 0.0      1.01 MB         587.61 MB        
25     KernelEventAgent          root       0.0      484.00 KB       585.68 MB        
27     hidd                      root       1.8      896.00 KB       587.25 MB        
28     fseventsd                 root       0.0      1.08 MB         592.20 MB        
30     dynamic_pager             root       0.0      476.00 KB       585.61 MB        
33     diskarbitrationd          root       0.0      912.00 KB       585.69 MB        
34     DirectoryService          root       0.0      3.09 MB         589.39 MB        
36     configd                   root       0.1      1.43 MB         587.71 MB        
39     autofsd                   root       0.0      440.00 KB       585.62 MB        
40     socketfilterfw            root       0.0      864.00 KB       585.93 MB        
41     sh                        root       0.0      164.00 KB       586.11 MB        
42     distnoted                 daemon     0.0      744.00 KB       585.59 MB        
45     coreservicesd             root       0.0      18.55 MB        625.47 MB        
48     blued                     root       0.0      652.00 KB       597.00 MB        
108    launchd                   jd         0.0      516.00 KB       585.74 MB        
141    prl_naptd                 root       0.0      1.66 MB         601.99 MB        
159    prl_disp_service          root       0.0      5.61 MB         622.09 MB        
160    coreaudiod                root       0.0      4.20 MB         593.62 MB        
166    cupsd                     root       0.0      1,004.00 KB     586.87 MB        
1754   loginwindow               jd         0.0      8.05 MB         941.13 MB        
1755   WindowServer              _windowser 14.2     44.75 MB        1.22 GB          
1770   AirPort Base Station Agen jd         0.0      1.45 MB         890.98 MB        
1774   Spotlight                 jd         0.0      17.63 MB        1.03 GB          
1775   UserEventAgent            jd         0.0      1.62 MB         855.25 MB        
1776   Dock                      jd         0.2      9.89 MB         956.68 MB        
1777   ATSServer                 jd         0.0      9.19 MB         680.87 MB        
1778   pboard                    jd         0.0      344.00 KB       586.65 MB        
1779   SystemUIServer            jd         0.0      9.17 MB         1,018.97 MB      
1781   Finder                    jd         0.9      16.79 MB        1,004.51 MB      
1830   Mail                      jd         0.0      43.54 MB        1.05 GB          
1835   Transmission              jd         4.8      21.08 MB        976.46 MB        
1842   Safari                    jd         0.4      296.77 MB       1.53 GB          
1882   AppleSpell.service        jd         0.0      5.16 MB         601.72 MB        
1955   RFBRegisterMDNS           root       0.0      508.00 KB       585.59 MB        
1956   AppleVNCServer            jd         0.0      1.01 MB         849.88 MB        
1957   kdcmond                   root       0.0      528.00 KB       585.73 MB        
1958   VNCPrivilegeProx          root       0.0      340.00 KB       586.61 MB        
1959   krb5kdc                   root       0.0      484.00 KB       586.05 MB        
2034   DashboardClient           jd         2.6      8.75 MB         931.41 MB        
2035   DashboardClient           jd         0.0      9.84 MB         915.28 MB        
3432   mds                       root       0.0      99.86 MB        860.08 MB        
3949   Terminal                  jd         0.0      8.04 MB         933.87 MB        
4070   Activity Monitor          jd         14.0     23.03 MB        1,016.07 MB      
4071   pmTool                    root       0.7      1.39 MB         595.69 MB        
4111   mdworker                  jd         0.0      3.61 MB         599.79 MB        
4141   mdworker                  _spotlight 0.0      2.00 MB         598.62 MB        
4145   spindump                  root       7.8      1.84 MB         587.64 MB        
4147   nmblookup                 jd         0.0      928.00 KB       19.50 MB

And I've had two more lockups just writing this post. I don't understand why it doesn't 'remember' what I type when it's locked.
 
Err those figures look very odd - 500MB-1GB for each of some of those processes!

Code:
Active Memory: 1.33 GB
Free Memory: 1.11 GB
Wired Memory: 642.99 MB
Used Memory: 2.89 GB
Inactive Memory: 954.32 MB
Total VM: 17.21 GB
Number of processes: 91

ID     Process Name              User        CPU      RSIZE            VSIZE
0      kernel_task               root       3.4      257.79 MB       365.91 MB        
1      launchd                   root       0.0      556.00 KB       18.64 MB         
10     kextd                     root       0.0      1.22 MB         18.10 MB         
11     notifyd                   root       0.0      492.00 KB       18.08 MB         
12     syslogd                   root       0.0      540.00 KB       19.14 MB         
14     ntpd                      root       0.0      716.00 KB       18.04 MB         
15     usbmuxd                   _usbmuxd   0.0      620.00 KB       19.25 MB         
16     update                    root       0.0      280.00 KB       17.48 MB         
17     SystemStarter             root       0.0      520.00 KB       17.52 MB         
20     securityd                 root       0.0      1.86 MB         19.98 MB         
22     mds                       root       0.0      202.29 MB       331.80 MB        
23     mDNSResponder             _mdnsrespo 0.0      1.06 MB         19.40 MB         
24     loginwindow               Nick       0.0      6.88 MB         365.16 MB        
25     KernelEventAgent          root       0.0      640.00 KB       17.59 MB         
27     hidd                      root       0.0      588.00 KB       18.03 MB         
28     fseventsd                 root       0.0      1.87 MB         28.88 MB         
30     dynamic_pager             root       0.0      696.00 KB       17.52 MB         
33     diskarbitrationd          root       0.0      1.03 MB         17.61 MB         
34     DirectoryService          root       0.0      3.64 MB         20.75 MB         
36     configd                   root       0.0      1.89 MB         19.11 MB         
39     autofsd                   root       0.0      664.00 KB       17.54 MB         
41     socketfilterfw            root       0.0      3.59 MB         20.85 MB         
42     sh                        root       0.0      636.00 KB       18.02 MB         
43     M-Audio FireWire          root       0.0      1.32 MB         28.36 MB         
44     lsd                       root       0.0      2.66 MB         31.04 MB         
46     distnoted                 daemon     0.1      896.00 KB       17.50 MB         
49     blued                     root       0.0      2.22 MB         28.83 MB         
50     coreservicesd             root       0.1      9.15 MB         59.32 MB         
67     WindowServer              _windowser 9.5      138.78 MB       590.52 MB        
72     launchd                   _mdnsrespo 0.0      376.00 KB       17.64 MB         
127    prl_naptd                 root       0.0      1.91 MB         33.93 MB         
139    prl_disp_service          root       0.1      4.08 MB         55.37 MB         
140    coreaudiod                root       0.0      2.85 MB         23.07 MB         
150    Missing Sync Lis          root       0.0      1.29 MB         28.83 MB         
151    llipd                     root       0.0      168.00 KB       17.50 MB         
162    SiCoreService             root       0.6      592.00 KB       18.53 MB         
164    launchd                   Nick       0.0      744.00 KB       17.64 MB         
168    Little Snitch Network Mon Nick       0.7      10.66 MB        337.77 MB        
169    Little Snitch UIAgent     Nick       0.0      5.70 MB         366.29 MB        
171    AirPort Base Station Agen Nick       0.0      1.91 MB         323.83 MB        
175    Spotlight                 Nick       0.0      13.73 MB        485.26 MB        
176    UserEventAgent            Nick       0.0      2.28 MB         288.60 MB        
178    Dock                      Nick       0.1      16.56 MB        391.66 MB        
179    ATSServer                 Nick       0.0      6.86 MB         85.00 MB         
180    SystemUIServer            Nick       0.0      9.32 MB         370.44 MB        
181    Finder                    Nick       0.0      41.81 MB        489.72 MB        
183    pboard                    Nick       0.0      356.00 KB       18.55 MB         
188    iTunes Helper             Nick       0.0      1.45 MB         290.47 MB        
189    smcFanControl             Nick       0.2      4.46 MB         352.81 MB        
190    ClamXav Sentry            Nick       0.0      2.59 MB         328.39 MB        
193    Missing Sync WM Monitor   Nick       0.7      11.52 MB        383.39 MB        
194    Missing Sync WM Crash Rep Nick       0.0      2.14 MB         326.80 MB        
207    clamd                     Nick       0.0      9.41 MB         88.39 MB         
227    AppleSpell.service        Nick       0.0      4.81 MB         33.14 MB         
453    launchd                   _securitya 0.0      392.00 KB       17.64 MB         
704    Mail                      Nick       0.0      59.60 MB        474.50 MB        
944    iCal                      Nick       0.0      10.00 MB        370.24 MB        
952    Address Book              Nick       0.0      8.54 MB         360.81 MB        
957    Xcode                     Nick       0.1      240.24 MB       808.28 MB        
1488   Safari                    Nick       9.8      335.59 MB       1.09 GB          
2046   Interface Builder         Nick       0.0      33.73 MB        484.46 MB        
2047   Interface Builde          Nick       0.0      6.35 MB         121.75 MB        
2048   Interface Builde          Nick       0.0      7.86 MB         121.39 MB        
2940   launchd                   nobody     0.0      376.00 KB       17.64 MB         
18863  mdworker                  _spotlight 0.0      4.29 MB         35.59 MB         
19102  Missing Sync              Nick       0.0      13.67 MB        381.20 MB        
19108  Mark/Space Bookmarks      Nick       0.0      3.96 MB         293.16 MB        
19109  Mark/Space Calendar Event Nick       0.0      4.14 MB         293.18 MB        
19110  Mark/Space Call Log       Nick       0.0      3.47 MB         291.94 MB        
19111  Mark/Space Contacts       Nick       0.0      8.10 MB         298.80 MB        
19112  Mark/Space File Sync      Nick       0.0      3.09 MB         291.98 MB        
19113  Mark/Space Notes          Nick       0.0      3.76 MB         292.22 MB        
19114  Mark/Space Photos         Nick       0.0      4.18 MB         309.01 MB        
19115  Mark/Space SMS Log        Nick       0.0      4.16 MB         292.94 MB        
19116  Mark/Space Tasks          Nick       0.0      3.83 MB         292.04 MB        
19117  Mark/Space Video          Nick       0.0      3.12 MB         291.97 MB        
19195  DTTSecD                   root       0.0      808.00 KB       17.57 MB         
20235  Activity Monitor          Nick       9.7      33.88 MB        451.50 MB        
20236  pmTool                    root       6.2      2.50 MB         28.45 MB         
21082  mdworker                  Nick       0.0      16.65 MB        110.93 MB        
23226  iPhone Simulator          Nick       0.0      19.62 MB        403.89 MB        
23230  SimulatorBridge           Nick       0.0      6.49 MB         96.63 MB         
23231  SpringBoard               Nick       0.0      24.99 MB        136.62 MB        
23556  MobileSafari              Nick       0.0      45.79 MB        149.66 MB        
23596  MobileAddressBoo          Nick       0.0      11.28 MB        117.89 MB        
24263  Preview                   Nick       0.0      24.02 MB        430.41 MB        
24269  Cyberduck                 Nick       0.3      54.08 MB        639.13 MB        
24381  cupsd                     root       0.0      1.24 MB         18.75 MB         
25942  Terminal                  Nick       0.0      6.91 MB         361.32 MB        
25944  login                     root       0.0      1.07 MB         18.68 MB         
25946  bash                      Nick       0.0      936.00 KB       18.10 MB

RSIZE = resident size
VSIZE = total amount allocated

So looking at your sizes the RSIZE is minimal (as you'd expect) but the sizes that each of those processes got to is really OTT.

Also it's possible to use vmmap to find out what the process is using the virtual memory for.

Can you do at a terminal window.. mycomputer:~me$ vmmap -resident Safari

It'll give you a bit output and the bottom will be:
Code:
==== Summary for process 1488
ReadOnly portion of Libraries: Total=155.0M resident=106.2M(69%) swapped_out_or_unallocated=48.8M(31%)
Writable regions: Total=815.0M written=193.3M(24%) resident=399.2M(49%) swapped_out=28.5M(3%) unallocated=415.7M(51%)

REGION TYPE             [ VIRTUAL/RESIDENT]
===========             [ =======/========]
ATS (font support)      [   33.8M/   2404K]
CG backing stores       [   17.6M/   17.5M]
CG raster data          [   92.6M/   80.4M]
CG shared images        [   3208K/   1008K]
Carbon                  [   1700K/   1700K]
CoreGraphics            [   6348K/   6280K]
IOKit                   [  260.9M/   1856K]
LayerKit                [   53.7M/   49.5M]
MALLOC                  [  215.0M/  162.2M]
Memory tag=240          [      4K/      0K]
Memory tag=63           [   1856K/   1856K]
Memory tag=64           [   7936K/   7732K]
Memory tag=65           [   2080K/     48K]
STACK GUARD             [  314.6M/  214.6M]
Stack                   [   18.3M/    536K]
VM_ALLOCATE ?           [   83.0M/   66.7M]
__DATA                  [   11.9M/   6648K]
__DATA/__OBJC           [     44K/     32K]
__IMAGE                 [   1240K/    428K]
__IMPORT                [    804K/    636K]
__LINKEDIT              [   8780K/   7392K]
__OBJC                  [   2408K/   1956K]
__PAGEZERO              [      4K/      0K]
__TEXT                  [  146.4M/   99.0M]
__UNICODE               [    532K/    352K]
mapped file             [   35.7M/   20.7M]
shared memory           [   44.4M/   7032K]
shared pmap             [    924K/    776K]

Also - have you run a first aid disc check against that drive? I'm wondering if the drive itself is having issues.

Additionally - what's the temperature of your machine? (try smcFanControl for example).
 
Last edited:
I've just SSH'd into by Mac Pro - and you're right, the R/Vsizes on this laptop are insanely high. 2-10x higher. :(
 
Last edited:
Argh. Thanks guys. I'll keep an eye on it and reinstall when I'm bored. I've only just got everything up and running, and can't take the time out. I'll just have to live with the stalls and what not - I'll pretend it is a Windows machine.
 
Some nice detective work there. Any chance it's Parallels? reading that thread I failed to see the cause, if there was one.
 
The odd point is that he's not running out of proper usable memory.

The RSIZE for each process, wired, active is showing a reasonable amount. Thus wired+active is the actual physical memory used.

The inactive shows that lots of applications were loaded in the past. Add this to free and it shows the amount of memory you have available to use.
A low free value will hurt OS X as it uses free memory space for file caching. This may be partially why you're seeing a slow down (including virtual memory usage).
OS X should see that it's low on free space and dump some of the inactive space back into the free space.

The VSIZE shows the total allocated address space to the process. So it's showing large values that could be attributed to heavy application usage. There's a bit of debate on if shared library pages loaded on behalf of an application are 'costed' to that application(s) when mapped to it in the full VM address space (ie one page mapped into multiple applications may be counted once for each application thus inflating the apparent size of total VM assigned).
This is born out by the fact that I usually get zero swap paging yet it's showing 17GB of VM. My paging swap usage increased due to that 3.2GB RSIZE application last night.

So this may all be a bit of a hoax - the problem also shares it's symptoms with two other issues:
a) Overheating causing the machine issues such as throttling. You'll need iStat or better still smcFanControl (not sure if this has been discontinued though).
b) Hard drive failing - the machine lock ups caused by retries during read/write attempts. These will be available in the log.
*) Install messed up :D Well when you don't know what the problem is - reboot, restart then reinstall in that order until it works!
 
Back
Top Bottom