Xcode: fun with fork-bombs

This isn't a question; just an FYI so that when people search for 'zombie python' in the forums they'll find something.

I came back from a week-long trip and found hundreds of python zombie processes on my system, for all users [even root].

Was a bit worried that my machine had been compromised until I saw this:

http://elliotth.blogspot.com/2006/06/attack-of-mac-python-zombies.html

It turns out the latest XCode has a bug which creates many zombie python processes. If you do not reboot frequently, your machine will run out of processes.

This is caused by the distributed build component; when installed, XCode launches a daemon to volunteer your machines for distributed builds, regardless of whether you even enable distributed builds [bad Apple! I'm glad I've got a good firewall].

The fix is simple enough:

cd /System/Library/LaunchDaemons
sudo launchctl unload -w com.apple.dnbobserver.plist

A more in-depth discussion is here:

http://groups.google.de/group/comp.sys.mac.system/browse_thread/thread/dfc0557a3 bdf862c/e8368455c0510120?hl=de

Other OS

Posted on Aug 15, 2006 8:32 PM

Reply
3 replies

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.

Xcode: fun with fork-bombs

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