what is usbmuxd process

All of a sudden Little Snitch is telling me that this process is looking to connect....

Is this safe? I did not have an iphone or ipad....connected. Did d/l to itouch 2 days agao, but nothing at the moment.

Thanks.

MacBook Pro, Mac OS X (10.7.2)

Posted on Jan 13, 2013 2:15 PM

Reply
7 replies

Aug 14, 2014 5:21 PM in response to jbk224bamacophile

During normal operations, iTunes communicates with the iPhone using something called “usbmux” – this is a system for multiplexing several “connections” over one USB pipe. Conceptually, it provides a TCP-like system – processes on the host machine open up connections to specific, numbered ports on the mobile device. (This resemblance is more than superficial – on the mobile device, usbmuxd actually makes TCP connections to localhost using the port number you give it.)

On the Mac, this is handled by /System/Library/PrivateFrameworks/MobileDevice.framework/Resources/usbmuxd, a daemon that is started by launchd (see /System/Library/LaunchDaemons/ com.apple.usbmuxd.plist). It creates a listening UNIX Domain Socket at /var/run/usbmuxd. usbmuxd then watches for iPhone connections via USB; when it detects an iPhone running in normal user mode (as opposed to recovery mode), it will connect to it and then start relaying requests that it receives via /var/run/usbmuxd – this is to say, usbmuxd is the only thing that actually speaks USB to the iPhone. This means that third-party applications which wish to talk to the iPhone must either do so through usbmuxd, or usbmuxd must be replaced.

Jan 10, 2015 4:04 AM in response to kgravity

Hi,


Thank you for the explanation. It looks like since I've installed Yosemite there is a bug in usbmuxd that collapses my kernel TCP/IP stack.


Once you connect our iPhone 4 (maybe iPhone 5 does not suffer this problem) to your mac, then you wait for about 1 or 2 days (it may take longer) then I cannot open TCP connections to my own host (I'm doing Java development and I notice this problem because I can no longer open Java in debug mode).


This is what I do to detect this problem:


open terminal


$ ps -ef | grep usbmuxd


this shows the process number, in my case it was 51


$ netstat -av | grep 51 | wc -l


in other words, grep network status using process number as filter, then count the number of lines.


it shows 1311 in my computer at this moment.


you can see the details using other commands...


I'm going to see if this process can be tuned but a fix in 10.10.2 version is required!

Feb 18, 2016 2:30 PM in response to Motti.Sh

Whether this daemon is safe is up to you to decide. If this is really usbmuxd, then it is normally considered safe. If it's not really usbmuxd you're looking at here, or if the nefarious hackers have cracked your security or infiltrated your system with advanced persistent malware, or the advanced 0day attack launched by elite regional security services have replaced or subverted usbmuxd, then not so much. Or you can remove LittleSnitch and get on with whatever you were doing. Your call.

😝

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

what is usbmuxd process

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