Virtual mem. problems under 10.2.5

Posted:
in macOS edited January 2014
Mach Virtual Memory Statistics: (page size of 4096 bytes)

Pages free: 2528.

Pages active: 116869.

Pages inactive: 58611.

Pages wired down: 18596.

"Translation faults": 17676594.

Pages copy-on-write: 109081.

Pages zero filled: 9073484.

Pages reactivated: 688908.

Pageins: 29472.

Pageouts: 320227.

Object cache: 39712 hits of 164041 lookups (24% hit rate)



This isn't good



Has anybody else had this kind of unusual VM activity under the new update? Everything's been running exceptionally for a few days -- just whacking out now. Should I try restarting my machine and repairing disk permissions? (performance gets VERY sluggish in the finder/OS)

Comments

  • Reply 1 of 13
    amorphamorph Posts: 7,112member
    I'm running 10.2.5, and I get this from vm_stat:



    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 42694.

    Pages active: 59829.

    Pages inactive: 137961.

    Pages wired down: 21660.

    "Translation faults": 15590697.

    Pages copy-on-write: 129862.

    Pages zero filled: 6651120.

    Pages reactivated: 106486.

    Pageins: 18383.

    Pageouts: 1933.

    Object cache: 35494 hits of 230756 lookups (15% hit rate)



    Pageouts aren't a problem for me. Then again, I've got 1GB of RAM. I haven't restarted since the update (which I applied the evening it came out).



    I'm not sure how repairing permissions would help you (it never hurts), but a restart might. It might be worth watching top from time to time to see if an application you're running is leaking memory or otherwise growing huge.
  • Reply 2 of 13
    fred_ljfred_lj Posts: 607member
    the restart seems to have cured the sluggishness and pageouts for now
  • Reply 3 of 13
    fred_ljfred_lj Posts: 607member
    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 136712.

    Pages active: 16669.

    Pages inactive: 29348.

    Pages wired down: 13879.

    "Translation faults": 540465.

    Pages copy-on-write: 21785.

    Pages zero filled: 186650.

    Pages reactivated: 0.

    Pageins: 5834.

    Pageouts: 0.

    Object cache: 5744 hits of 12017 lookups (47% hit rate)



    _____



    I've got 768 MB of memory in this PowerBook -- it shouldn't have been problem, either, and it wasn't til just now. But it seems it's gone away for the time being.
  • Reply 4 of 13
    davegeedavegee Posts: 2,765member
    9:56PM up 3 days, 1:28, 4 users, load averages: 0.51, 0.31, 0.18



    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 18275.

    Pages active: 54720.

    Pages inactive: 44108.

    Pages wired down: 13969.

    "Translation faults": 8636003.

    Pages copy-on-write: 138202.

    Pages zero filled: 5055603.

    Pages reactivated: 85341.

    Pageins: 28101.

    Pageouts: 4332.

    Object cache: 48292 hits of 389055 lookups (12% hit rate)



    Seems okay to me... this is on a TIBook with 512MB of ram.



    Dave
  • Reply 5 of 13
    Not a problem here either.



    832 MB RAM

    up 4 days, 10:57



    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 61523.

    Pages active: 47637.

    Pages inactive: 83987.

    Pages wired down: 19845.

    "Translation faults": 46182576.

    Pages copy-on-write: 113167.

    Pages zero filled: 17430294.

    Pages reactivated: 69284.

    Pageins: 19840.

    Pageouts: 510.

    Object cache: 49695 hits of 321673 lookups (15% hit rate)



    You sure you aren't just running an app with a memory leak or a number of apps at one or something?



    Uptime is important to mention since the pages are cumulative since the last restart.
  • Reply 6 of 13
    der kopfder kopf Posts: 2,275member
    I think I have something closer to the faulty one:



    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 1163.

    Pages active: 56812.

    Pages inactive: 28444.

    Pages wired down: 11885.

    "Translation faults": 7078278.

    Pages copy-on-write: 228941.

    Pages zero filled: 4288222.

    Pages reactivated: 641588.

    Pageins: 56204.

    Pageouts: 227965.

    Object cache: 69103 hits of 114804 lookups (60% hit rate)



    This with 384 MB of RAM, and up only 2 days. I haven't had that many apps open even. Safari, Mail, Thoth and Excell, if I recall well (that must be what that 60% hit rate is about). I'm a compulsive neurotic.

    How's the best way to find out who's guilty?
  • Reply 7 of 13
    gargoylegargoyle Posts: 660member
    here's mine...

    Code:




    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 168623.

    Pages active: 24065.

    Pages inactive: 51160.

    Pages wired down: 18296.

    "Translation faults": 1772867.

    Pages copy-on-write: 31800.

    Pages zero filled: 919425.

    Pages reactivated: 0.

    Pageins: 9451.

    Pageouts: 0.

    Object cache: 10493 hits of 17872 lookups (58% hit rate)

    [Paul-Courts-Computer:~] paul% uptime

    2:30PM up 15:06, 2 users, load averages: 0.28, 0.33, 0.20









    I still in the habit of doing a shutdown rather than a sleep. Its quite funny that you guys only restart every few weeks.... I never even contemplated using the sleep function on my windows PC..... its crap.
  • Reply 8 of 13
    Code:


    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 41599.

    Pages active: 50797.

    Pages inactive: 54040.

    Pages wired down: 17404.

    "Translation faults": 57328300.

    Pages copy-on-write: 168835.

    Pages zero filled: 27312865.

    Pages reactivated: 1613111.

    Pageins: 63673.

    Pageouts: 547767.

    Object cache: 51805 hits of 364000 lookups (14% hit rate)

    8:59AM up 4 days, 17:09, 2 users, load averages: 0.22, 0.18, 0.11









    so for 640 megs of ram, is this bad?
  • Reply 9 of 13
    chuckerchucker Posts: 5,089member
    [wohba:~] chucker% vm_stat

    Mach Virtual Memory Statistics: (page size of 4096 bytes)

    Pages free: 1728.

    Pages active: 54364.

    Pages inactive: 29885.

    Pages wired down: 12327.

    "Translation faults": 4220941.

    Pages copy-on-write: 279886.

    Pages zero filled: 2001076.

    Pages reactivated: 102719.

    Pageins: 19391.

    Pageouts: 16087.

    Object cache: 74668 hits of 115043 lookups (64% hit rate)

    [wohba:~] chucker% uptime

    4:26PM up 3:44, 3 users, load averages: 0.90, 0.56, 0.43
  • Reply 10 of 13
    aquaticaquatic Posts: 5,602member
    Good point Gargoyle I bet that wastes millions of dollars every year. The old PC in the RA office here in my dorm is on 24/7 and never used. Not good.
  • Reply 11 of 13
    murbotmurbot Posts: 5,262member
    I leave my PC at work on 24/7 for a purpose - it will be replaced by a Mac when it dies.



  • Reply 12 of 13
    synsyn Posts: 329member
    well, safari definitely seems to have some memory leak issue, and a serious one to...



    Code:


    1284 Safari 0.0% 30:29.09 20 1278 2054 66.7M 60.2M 96.3M 659M











    that's with no windows open, v73, open for a day or so...
  • Reply 13 of 13
    kecksykecksy Posts: 1,002member
    Quote:

    Originally posted by SYN

    well, safari definitely seems to have some memory leak issue, and a serious one to...



    Code:


    1284 Safari 0.0% 30:29.09 20 1278 2054 66.7M 60.2M 96.3M 659M











    that's with no windows open, v73, open for a day or so...



    God dam memory leaks! If it wasn't for them I could easily break my 28 day uptime record.
Sign In or Register to comment.