You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

UserEventAgent not responding.

In Activity Monitor, the process called 'UserEventAgent' keeps showing up as 'Not Responding' I can force-quit it, and a new instance appears working correctly. However after a few minutes, it shows up as 'Not Responding' again.

There doesn't seem to be any significant performance problems; nevertheless it is a little concerning.

Any ideas what this process is, or what the problem might be?

Thanks.

Macbook Pro 15", Mac OS X (10.5), Just installed Leopard

Posted on Oct 26, 2007 10:53 PM

Reply
55 replies

Oct 29, 2007 4:15 AM in response to PhilZombie

I am getting this as well. Upgraded from 10.4.10 and I thought perhaps it was some incompatible third-party software causing it.. but people in this thread have done clean installs and still get it?

In my case the process is responding but constantly using 100% cpu, same problem as others have mentioned about not being able to reboot.. it just beachballs.

While UserEventAgent is at 100% cpu, Airport regularly drops out and reconnects (every 1-2 minutes), and if I'm typing at the same time, my key-repeat becomes hyper sensitive and I end up with lines and lines of the same character.

Since not everyone is experiencing these symptoms, I wonder if we all share a similar peripheral? It seems to happen shortly after I (un)plug USB mouse/keyboard/hub .. but it's possible that's just co-incidence.

I'm using some no-name hub, a Kinesis Freestyle USB keyboard and a Logitech LX7 cordless mouse. I also have a bus-powered external 2.5" USB2.0 disk. I'm going to try a fresh boot and introduce all of these one by one and I'll post if I find anything interesting.

I am also going to try switching to wired ethernet and turning off bluetooth.

If you have any more info on this problem, please share!

Oct 29, 2007 6:23 AM in response to pinkhandbag

Good idea, lets get a profile of the systems that are having problems.

I am using an iMac core duo, the first intel iMac. 2 gigs of Apple ram. I also run a dual monitor setup.

I have a Logitech MX Revolution mouse and a Wolfking Timberwolf keyboard. Neither of these had any driver software installed.

I also have a Belkin USB hub, and a Logitech USB Microphone.

Bluetooth is on but not paired to anything, and airport is disable. I used a wired connection.

Oct 29, 2007 6:40 AM in response to pinkhandbag

For those of you who are seeing 100% CPU usage and performance issues, here's an update:

In my case (see my previous post for background), I've narrowed it down to a conflict between one of the UserEventAgent plugins (AppleHIDMouseAgent.plugin) and my USB keyboard (Kinesis Freestyle).

I edited /System/Library/LaunchAgents/com.apple.UserEventAgent-Aqua.plist and changed the command-line arguments for UserEventAgent to include -v (verbose logging to stderr) and -d (runs each plugin in a separate thread).

The -v option did not produce anything interesting. The -d option helped though.

Following a fresh reboot with no peripherals plugged in and no applications loaded, the system idles as normal. The moment I plug in my USB keyboard (to either USB port), the UserEventAgent process running AppleHIDMouseAgent.plugin jumps straight to 100% CPU and stays there even after I unplug the keyboard. The only way out that I've found is power-cycling. I also tried booting up with the keyboard plugged in with the same results.

All my other USB devices work fine (Logitech LX7, Hub, HDD, Flash drive), although I do not have another USB keyboard to test with.

While stuck at 100% CPU, watching the inspect pane in Activity Monitor for the AppleHIDMouseAgent.plugin shows the number of faults growing at around 100K+ per second, context switches at 1 per second, while all other fields remain static.

The version of my AppleHIDMouseAgent.plugin (taken from version.plist):

BuildVersion 116
CFBundleShortVersionString 1.2.0
CFBundleVersion 1.2.0b3
ProjectName AppleHIDMouse
SourceVersion 1200303

I no longer use the Apple mouse so I've been able to fix the issue in my case by moving the plugin out of /System/Library/UserEventPlugins. After about an hour of testing, everything seems to be working fine.

Oct 29, 2007 10:20 AM in response to Damon Uyeda

Hi Damon,

Damon Uyeda wrote:
I have this problem too. I've tracked it down the the Kinesis Freestyle keyboard.


Interesting! Michael Wertz1 mentions he has the same problem too, although not with a Freestyle but another non-Apple keyboard.

I've filed a bug report with Apple on this, and referenced this thread in my report. If anyone else has the same problem, it might pay to add your 2 cents here, and/or file a bug report (bugreport.apple.com).

FWIW, the workaround I posted above has been working fine for me all day now.

Oct 29, 2007 5:17 PM in response to pinkhandbag

Looks like you nailed it. On my testing partition I unplugged my keyboard and booted to it. Things were fine until I plugged the keyboard in, then UserEventAgent shot back to 100% and stayed there even after I unplugged it. Its definalty a problem with the keyboard.

I removed AppleHIDMouseAgent.plugin and turned UserEventAgent back on for my main partition, and so far things are fine. UserEventAgent is running with a very small footprint. That is clearly what is causing my issue. I dont use an Apple Mouse either, is that all that plugin is for?

I dont use the same keyboard you guys were talking about. The really odd part is my keyboard requires no drivers to work. Here is a link to what I use (and I cant say enough about it as an awsome gaming keyboard): http://www.amazon.com/WolfKing-DK2588U-Timberwolf-Gaming-Keyboard/dp/B000F0E2Z4

I am going to pass on what I learned to the rep I worked with. Nice work tracking it down.

Oct 30, 2007 7:18 AM in response to pinkhandbag

I also have this problem. Whenever I connect my Kinesis Freestyle USB keyboard to my MacBook Pro, the CPU goes to 100% because UserEventAgent uses all the CPU (according to Activity Monitor). Even after removing the keyboard, the problem persists.

I'm not too happy with the workaround, because it seems that I must be losing some functionality---there must be some other option? I have also filed a bug report with Apple.

Josh

UserEventAgent not responding.

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