Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

terminal non responing color wheel

Ever since updating my 15" Retina Macbook Pro to Mountain Lion 10.8.2, terminals become periodically non-responsive, activity monitor shows "Terminal Not Responding", and the color wheel sits and spins. This happens for as much as five to ten minutes sometimes, and doesn't seem to matter if I am running any jobs in the terminal or not. As well, nothing else except activity monitor is running at the time, and maybe command line tool support, though I believe that doesn't need to be running.


This is a huge problem, as I switched from Linux to Mac to work on, and I can't work if terminals are frozen all the time.

I could run five terminals at the same time on an old SUSE Atom processor box with heavy perl scripts running in all five, and not stutter the terminals or system, so what on earth could be causing the absolute fastest technology to be doing this?


Seems to be Mountain Lion related, and really have nothing to do with lack of resources or overloading, anyway.


A terminal inspection shows 6 recent hangs, and if I use a mouse to select text to cut-and-paste, I can make the problem repeat, even though it does it at other times.

What am I supposed to do here, call Apple Support, which I bought?

I need this resolved ASAP!


Thanks!

MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)

Posted on Jan 27, 2013 11:28 AM

Reply
13 replies

Jan 27, 2013 12:14 PM in response to ds store

I do not see anything specific in there related to the Terminal app and resinstalling OSX, followed by all of the other setup is not an option.


As a matter of fact, I just checked my Macbook Air (late 2012 model) and it has exactly the same issue with Mountain Lion 10.8.2, so this is in fact an OSX issue that needs engineering support to locate and fix, not simply "trial and error" drastic time consuming changes, I don't have time for that.

Jan 27, 2013 12:38 PM in response to TheForce61

Now I just got a popup saying my startup disk is full, even though disk utility shows 124Gig still free, and terminals are frozen indefinately, and I am in the middle of runnign a critical job that will cost me two days work if it does not complete!

This is a stock RMBP with 256G flash, and I have not made any partition changes or anything. Seems the freezing terminals may have something to do with virtual memory cache (leak) or something, but like I said, it even happens on Macbook Aor, and I wasn't even runnign job on there.


I just killed Activity Monitior, and terminals unfroze, perhaps a leak or full cache for Activity Monitor?


And, yet another popup saying "Your Mac OS X startup disk has no more space available for application memory", is this a virtual memory issue?

How do I tell it to use X amount and not try and use more?


Clearlyu Mountain Lion 10.8.2 has virtual memory issues 😟

Jan 27, 2013 1:16 PM in response to TheForce61

OK, looks like a terminal memory leak, virtual memory for terminal is 56G, and now I am hosed, going to lose a couple of weeks on my startup, will have to build a linux box.


My running job shows normal swap, terminal itself shows the 56G swap and growing.

Note the only job I have running now is also running on a very old SUSE box and has been for 3 weeks, and swap on that machine is a constant 1.9G for my job. It has been runnign for one day on my RMBP, but again, the issue is terminal, not my running job.


I at least needed this job to complete, and it is hung.

I was going to use my RMBP to run these jobs until I buy a Mac Mini to do this, but I can't possibly buy a Mini if these problems are Mountain Lion related, and given the same issues are on my new Air, I have no reason to believe anything else.

Jan 27, 2013 2:09 PM in response to ds store

I could see maybe running linux in a virtual machine on my Mac, but only as a test to prove the terminal memory leak. Forget Windows, has no unix like environmnet.


However, It is not feasable for me to run linux in a virtual machine as a permanent solution, since what I am doing requires speed, and no other resources being comnsumed, and that doesn't fit that scenario.


The solution is going to have to be an Apple engineer helping find out why terminal has a leak and fixing it in Mountain Lion.


I am watching terminal virtual memory grow as I write, of course after having to reboot the machine and losing two days work....

Jan 27, 2013 3:13 PM in response to ds store

I just confiormed it through a series of tests.

I ran some intensive perl, which the perl process itself does not increase virtual memory at all.

However, it just keeps increasing the "terminal" virtual memory indefinately, even after the perl script stops.

This proves there are some "very serious memory management issues" in Mountain LIon, related to terminal, and who knows what else.

They are only resolved by rebooting the machine, and that is only temporary.

Jan 27, 2013 11:46 PM in response to ds store

I found two ways around this issue.


1. Launch the script in the background and kill terminal and close the terminal app.

2. Change the termial window "scrollback" to "10,000" from "All avialable memory".


However, if one selects "All available memory", it should not run it up until the machine freezes, so I still think this is a bug. At least I was able to resolve it.


Thanks for responding.

Btw, more isn't always better 😉

terminal non responing color wheel

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.