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.

iMac with Mountain Lion freezes

Since I installed the new MacOSX Mountain Lion in my iMac (mid-2007), I'm experiencing a weird behavior.


Usually when I'm doing a heavy usage (many programs opened like firefox, downloads, mysqld, sometimes, not always, a Virtual Machine,...), the screen freezes, the mouse pointer moves, but no action can be done. No mouse or keyboard action take effect since this moment.


But if I connect from another computer by SSH, I can see all the processes running, everything I had opened, is still there (including SSH server I use to connect). From this SSH session I can stop or start everything, but the main iMac screen remains frozen (except the mouse pointer that can be moved). Sometimes the mouse pointer becomes a spinning wheel.


I don't know if I can restart anything from the SSH connection, in order to recover my session, because the only thing I can do, is a "sudo shutdown -h now" from the SSH session, loose all my work, and wait for the switch off...


I've read in other article something about restarting the WindowServer process using a command "

sudo killall -HUP WindowServer
" but the result was a spinning gear (not the rainbow ball) on top of the frozen screen, running forever. The WindowManager did not restart.


Is this a known problem in the MacOSX? Any coming solution (patch) or, at least, a workaround to recover from the frozen state?

iMac, OS X Mountain Lion (10.8.2)

Posted on Dec 1, 2012 7:20 PM

Reply
18 replies

Dec 1, 2012 7:56 PM in response to czuriaga

The problem is that I can't reproduce the problem when I want. The only coincidence of all freezes is always an intense use of resources (memory mainly, I think)


When I opened the VMWare, freezes were more often. Lately, I try not to open VM, but if a have Firefox with several tabs, MySQL server, Transmission with downloads, Mail, Terminal, BBEdit, and I open big .CSV files with Excel for Mac... firstly I notice the hard disk pagination, and sometimes, in last instance, the screen freeze.


This happens once a day, sometimes I can work more days without rebbot, if I try to close unnecessary applications I'm not using at this moment.


The screen is frozen, but all the processes carry on working, I can see them in the SSH session from the other computer, how downloads are updating, or I can connect to mysql, or stop it succesfully.


Everything works, except the User Interface in the Mac which is frozen.

Dec 2, 2012 5:30 AM in response to czuriaga

I am having the exact same problem, with the exact same symptoms on my late 2009 iMac. I can be working on something, pause for a second and when I attempt to continue I can only move the cursor, nothing else reponds, clicks, keyboard, etc. The machine is still active though, since I can access it on the network. I don't remember exactly when it started, perhaps only sonce the last Mountain Lion update.

Dec 2, 2012 8:49 AM in response to czuriaga

I have a similar issue. Looking around here I found there is an issue with the appleeventsd process.


Check on your events log. On mine, it was taking up 97% of processor time. End the process here, or in terminal

"Sudo killall -KILL appleeventsd" seems to solve it, for a while. But the process starts up again before long and you have to keep doing it...

Dec 2, 2012 1:28 PM in response to nextraterly

Thanks much for the suggestion. I've started Console and Activity Monitor so I can keep an eye out for anything suspicious. Thus far nothing. I had also found a post about the same symptons related to Safaris. I recently started having a lot of open tabs so I followed that advice as well. It suggested resetting Safari and cleaning the cookies and cache.

Dec 2, 2012 4:30 PM in response to LousyFool

I downloaded the MemTest 4.22, rebooted in Single-User, and made a "memtest all 2". Memory is OK.


I see many people complaining about the same problem. I haven't notice a process appleeventsd taking the processor time, but I'll check next time.


If this problem is affecting so many people, probably is a bug in the Mountain Lion, I hope Apple identifies the problem and release a bug fix soon.

Jan 22, 2013 12:35 PM in response to nextraterly

I'm having somewhat similar frezes on a 2009 iMac, since I upgraded to Mountain Lion form Snow Leopard. Except I can't move the mouse cusor in my freezes.


I am have a few other issues too. Two of which, a hanging Archive Utility and a broken Spotlight Cmd+Clickfunction, were fixed by force quitting appleeventsd in Activity Monitor.


Its worth noting that it will automatically activate again, but the two issues remained fixed even with appleeventsd running again. I haven't done a reboot yet though.


So perhaps it may fix the freeze issue too?


Before killing appleeventsd, see can you uncompress a zipped or .bzp2 file using Archive Utility. If it hangs you have that issue too.

Jan 25, 2013 6:46 PM in response to czuriaga

Have you tried running the Adobe Flash Uninstaller and seeing if that helps? I tried everything but - fingers crossed - I have not had the issue happen since I uninstalled Flash five days ago. I am curious to know whether I just happened to hit some good luck by coincidence or if removing Flash cured the freezes.


Some background - 2007 imac, froze after lion/mountain lion upgrade, tried everything apple support could throw at me with no results. Programs like Click to Flash did not help.

Mar 6, 2013 2:42 AM in response to czuriaga

On my case this problem have been going on for months, and I am starting to think it does only affect iMacs, as I have found posts on MacBooks freezing but they can't use SSH to access so it is not the same thing. I have found no posts on Minis or Pros showing this problem either. My experience with this problem is long and I am not sure why it is happening, but I can tell you what is NOT making it happen:


- Age of iMac is not an issue. Mine is an i3 3.06 Ghz, mid-2010 and my problems started almost a year ago.

- It is not Memory size or quality. I started with 4 Gb, when I read was memory size, I added another 4 Gb and now have 16 Gb of certified identical modules.

- It is not only Mountain Lion. My problems started when I upgraded to Lion, and after months of frustration I upgraded to Mountain Lion hoping that would solve and see where we are.


I would return to Snow Leopard but I can't. I cannot run the development tools I use on SL. :-(


I tend to think that the problem resides on the event manager, as the mouse is drawn by hardware and that is why it works, which also indicates the graphic card is working. My suspiction comes from the fact that when the problem happens, if I wait long enough doing nothing, the screen dims, so I tried to make the computer sleep by leaving it all night on, but it didn't go to sleep, but the screen blanked. I also logged in using SSH and tried to make it sleep with this command: sudo osascript -e ‘tell application “System Events” to sleep’ but it didn't work. I am now waiting for it to happen to try another one: pmset sleepnow to see if making it sleep takes it out of whatever loop it is in.

Mar 6, 2013 3:03 AM in response to guilleamodeo

Forgot to say that I noticed that the mouse stops sometimes prior to the problem happening. E.g. I am going to click somewhere and the mouse just stops in 'middle air' por a second or two and then keeps going. This tends to be an indicator. When I see this, I stop several apps and it paliates the problem. Actually, by doing this I have avoided it for a while, although I am thinking its not this but pure luck, that the problem is waiting for me to have critical unsaved data before struck me again.

iMac with Mountain Lion freezes

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