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

It would be better if you mention exactly which version of Xcode you've got installed. Do you mean 2.4? That's the latest version.

Similar Messages

  • Would Arch survive a "fork bomb?"

    I was reading this on SecurityFocus.com and they mention that RedHat, Gentoo, and Mandrake all crashed.
    http://www.securityfocus.com/columnists … f=rssdebia
    I then proceeded to fork bomb every Unix machine I could get my hands on. My FreeBSD server at home shrugged it off (even after inviting other connected users to try), as did my OpenBSD gateway. This, too, is exactly what I expected to happen.
    Next, I asked several my associates who use Linux to try it out on their machines, and we didn't have to go far to find more Linux distributions that succumbed to the same painfully effective fork bomb attack. Both Gentoo and Red Hat followed in the footsteps of Mandrake, and each died quicker than you can say "unreasonable default settings." I'll quickly mention here that Debian did not suffer the same fate as the others; congrats to the Debian development team.
    For those who are not aware, let me briefly explain the cause of fork bombing. First, the shell must be configured to operate with what I consider to be unreasonable limits. This itself has nothing to do with the kernel. Second, the kernel must allow many more processes to be created than should be. Since shells often default to the maximum number of processes supported by the kernel, together we have a problem.

    This topic has been discussed here.
    The gist of it is Arch would not survive a fork bomb and we need to look into ways to secure Arch form this type of attack.

  • Parallel processing in workflow with fork

    Hello,
    I have a case in production system. the workflow has parallel processing with fork. This fork has 2 branches as inputs.
    It has 2 necessary branches with no other condition.
    Does anyone know of any scenario where the workflow proceeds ahead with one branch executed even though 2 branches are mandatory.
    Thanks.

    Hi,
    Take at look at the following 2 articles. Using the concepts outlined in them you should be able to achieve what you are trying to do.
    http://odiexperts.com/interface-parallel-execution-a-new-solution
    http://odiexperts.com/processing-multiple-interface-through-single-package

  • Going for fun with x-men and godzilla at cinemas

    Going for fun with x-men and godzilla at cinemas, yeah i planned to watch both movie on cinema today but i cancelled because finally i found a real working link for both movie, and of course i watch another movies from same site, check the movie list that
    i watch it today online.enjoy!
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6202-watch-the-other-woman-online-free-streaming-2014]Watch The Other Woman Online Free Streaming 2014[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260413.aspx]((Putlocker)) Watch The Other Woman Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58390]Megashare> Watch The Other Woman Online Free 2014 Putlocker[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-the-other-woman-online-free-2014-full-movie-stream]+Putlocker+ Watch The Other Woman Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6205-watch-x-men-days-of-future-past-online-free-2014]Watch X-Men Days of Future Past Online Free 2014[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260416.aspx]((Putlocker)) Watch X-Men Days of Future Past Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58413]Watch X-Men Days of Future Past Online Free 2014 [Putlocker][/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-xmen-days-of-future-past-online-free-2014-full-movie-stream]+Putlocker+ Watch X-Men Days of Future Past Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6211-watch-godzilla-2014-online-free-putlocker-stream]Watch Godzilla (2014) Online Free Putlocker Stream[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260433.aspx]((Putlocker)) Watch Godzilla Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58458]Megashare> Watch Godzilla Online Free 2014 Putlocker[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-godzilla-online-free-2014-full-movie-stream]+Putlocker+ Watch Godzilla Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6228-watch-neighbors-online-free-2014-putlocker-stream]Watch Neighbors Online Free 2014 Putlocker Stream[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260437.aspx]((Putlocker)) Watch Neighbors Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58504]Megashare> Watch Neighbors Online Free 2014 Putlocker[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-neighbors-online-free-2014-full-movie-stream]+Putlocker+ Watch Neighbors Online Free 2014 Full Movie Stream[/url]
    [url=http://www.pvlt.co.uk/kunena/welcome-mat/6246-watch-the-amazing-spider-man-2-online-free-2014]@Watch The Amazing Spider Man 2 Online Free 2014[/url]
    [url=http://blogs.atkins.com/Blogs/sukasorosi/Archive/2014/5/27/260448.aspx]((Putlocker)) Watch The Amazing Spider Man 2 Online Free 2014 Full Movie Stream[/url]
    [url=http://l2inception.com/forum/viewtopic.php?f=6&t=58546]Megashare> Watch The Amazing Spider Man 2 Online Free Stream[/url]
    [url=http://wayne.patch.com/groups/enews/p/putlocker-watch-the-amazing-spider-man-2-online-free-2014-full-movie-stream]+Putlocker+ Watch The Amazing Spider Man 2 Online Free 2014 Full Movie Stream[/url]

    % Looks like the Windows 7 Upgrade Advisor is still a POS, and still beta. Yes your card will work with 7. Most are using this,
    http://forums.creative.com/t5/Sound-...09/td-p/527485
    with little to no problems (more no) on 7. I know that my Xtreme Music is working just fine in 7 x64.

  • Does xcode come with snow leopard

    Hi,
    I was wondering if xcode comes with snow leopard? If so, where do you find it?

    do u need to be a dev to use it?
    You can sign-up for a "Free" Apple Developer Connection account which gives you access to newer versions of Xcode, as well as additional developer resources.
    <http://developer.apple.com/programs/register/>

  • Fork-bomb detection

    I run a server that I use when I give a "intro to bash" workshop at my school
    I allow a guest user to login; but a "smart" user, or one aware of fork-bombing could easily detonate one on my server. I have the limits for the guest user pretty tight, so they really cant any damage.
    I was just wondering if there was a way to actually detect a fork-bomb detonation?

    ivoarch wrote:
    Try limit the number of processes.
    http://linuxmafia.com/faq/VALinux-kb/pr … -user.html
    https://wiki.archlinux.org/index.php/Re … management
    $> cat /etc/security/limits.conf
    * hard nproc 1000
    Yeah I know how to protect against it, but it would be nice if i could somehow detect when its going on.
    If there was some kind of tool that could moniter the rate of new proc's by a user, and if its above a certain threshold, then we know its some kind of bad program or a bomb
    Google is no help tho

  • How to add files to xcode project with the help of applescript

    i am tried but got some of the error which is enable to solve by myself becuase i am new in applescripting
    tell application "Xcode"
    open "Macintosh HD:Users:Nitesh:Desktop:sumeet:RND:iPhone:iPhone_V2_Ref_2.5.01:iPhone_V2.xcodep roj"
              tell project "iPhone_V2"
                        set resourcepath to "/Users/Nitesh/Desktop/sumeet/RND/images" (*full path of my folder that i want to add*)
    set filelist to {}
                        tell application "Finder"
                                  set filelist to (name of items of (POSIX file resourcepath as alias))
                        end tell
                        tell group "images" of root group
                                  repeat with i in filelist
                                            set filepath to resourcepath & (contents of i)
                                            set myfile to make new file reference with properties {namecontents of i), full path:filepath}
                                            add myfile to first target of front project
                                  end repeat
                        end tell
              end tell
    end tell
    the issues is:
    error "Xcode got an error: Can’t get group \"images\" of root group of project \"iPhone_V2\"." number -1728 from group "images" of root group of project "iPhone_V2"

    Applescript for this issue is more simple . Try to use my script that is here

  • Problem with Fork

    Hi,
    I have created a Scenario using a fork step Which has 2 branches. The first branch consits of a  Transformation and a send step with in a switch statement. The second branch consists of a Transforamtion, Send (synchronous), Send (synchronous) , Transformation and send step. The BPM starts with a  Receive and followed by a Fork step.
    The problem is whenever BPM receives a message, FORK is sending the message to the second branch and trying to execute  the same branch if one of the step fails.
    Thanks,
    Kiran.

    The BPM starts with a Receive and followed by a Fork step
    Any reason for having the above BPM design?
    Normally we use Fork at the start when we receive messages from multiple senders.
    Is your requirement to execute either of the branches (logic in branch1 or branch2)? If yes then you should use a Switch step. If your requirement is to execute the logic in both the branches then have the steps placed sequentially (steps of branch1 placed first and then of branch2 or vice-versa)....remove the fork then.
    Regards,
    Abhishek.

  • Using Xcode 4 with Open Directory Users

    We have a lab of iMacs (10.7.2) with Xcode 4.2 that are bound to an OD server (10.6.8).
    At the moment only a local admin user can build and run an iOS project in Xcode.
    I already changed the Primary Group for the OD users to Group ID: 204 (_developer) which resolved some issues but OD Users still can't run an iOS project in the iOS Simulator.
    Does anyone have a working solution?

    9 months later, XCode 4.4 is out and we still have the above mentioned issue.
    Is no one else using XCode with OD users?

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

  • AS Droplet in XCode - Problem with display dialog with title

    hi,
    i am using XCode to create an AS droplet.
    wondering why i cant set a title to my display dialog code.
    during search in this forum i found this thread:
    http://discussions.apple.com/thread.jspa?messageID=6364939&#6364939
    but to be honest, i didn't expect that i am limited in Xcode too.
    Short code example:
    display dialog "foo"
    works
    but
    this code:
    display dialog "foo" with title "bar"
    not.
    Would be great to find a workaround to get dialogs with titles.
    And on the other hand to understand why i cant use title in Xcode.
    btw: is it possible to format the output of a display dialog ?
    i.e. creating new lines ?
    best regards
    fidel

    Hello
    I'm not sure but you may try 'run script' to invoke 'display dialog' of Standard Additions.
    Something like this.
    --SNIPPET
    set t to "line 1
    line 2
    line 3
    line 4"
    run script "display dialog \"" & t & "\" ¬
    with title \"Testing\" ¬
    buttons {\"OK\"} default button 1"
    --END OF SNIPPET
    As for 'display dialog' in AS Studio, it differs from and overrides 'display dialog' command in Standard Additions. Don't know why it does not have 'with title' which is rather new parameter introduced with AS 1.10 (OSX 10.4).
    cf.
    AppleScript Studio Terminology Reference (pdf)
    Panel Suite > Terminology > Commands > display dialog
    Regards,
    H
    Message was edited by: Hiroto

  • Xcode "fails with exit code 1"

    I'm new to xcode, 13 years old, and it stopped compiling my code! I'm working in C++ command line. My first project worked fine, but when I tried to run a new project, the build failed (not from syntax errors or anything) and gave me this notification:
    Ld /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Products/Debug/Test2 normal x86_64
        cd /Users/cal/Documents/Application-Specific/XCode/Test2
        setenv MACOSX_DEPLOYMENT_TARGET 10.7
        /Developer/usr/bin/clang++ -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk -L/Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfr szqr/Build/Products/Debug -F/Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfr szqr/Build/Products/Debug -filelist /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Intermediates/Test2.build/Debug/Test2.build/Objects-normal/x86_64/Test2 .LinkFileList -mmacosx-version-min=10.7 -o /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Products/Debug/Test2
    ld: duplicate symbol _main in /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Intermediates/Test2.build/Debug/Test2.build/Objects-normal/x86_64/File. o and /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Intermediates/Test2.build/Debug/Test2.build/Objects-normal/x86_64/Calcu lator.o for architecture x86_64
    Command /Developer/usr/bin/clang++ failed with exit code 1
    I bolded the part that seemed most important. Did it lose a file? Even my earlier project, which worked fine, won't run anymore.
    Please respond, because I'm brand new and this means I can't code anymore.
    Thanks!

    This is the line that describes exactly what is wrong:
    ld: duplicate symbol _main in /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Intermediates/Test2.build/Debug/Test2.build/Objects-normal/x86_64/File . o and /Users/cal/Library/Developer/Xcode/DerivedData/Test2-dddrxmdmqydygiejxapflqfrsz qr/Build/Intermediates/Test2.build/Debug/Test2.build/Objects-normal/x86_64/Calc u lator.o for architecture x86_64
    You have main defined in both 'File' and 'Calculator'.

  • Iphone - xcode - problem with loading reference library

    hello,
    I try to develop on iphone, with xcode.
    because I don't find any documentation, I have tried to download the ihpoen reference libray, un der xcode.
    I choos the menu help, then xcode workspace guide.
    on the page that apear, I choose Apple Iphone OS 2.0, and in this section, I choose Iphone os library.
    then, it was asking me a login and password.
    I put my login and password from my computer.
    now, the loading is locked.
    I don't know what login and password I have to use
    I don't know how to unlock the login and password.
    where is the keychain ? how can I delete it ?
    thank you for any help.
    best regards,
    Olivier

    I solved my problem

  • Xcode compatible with mountain lion 10.8?

    Hi guys.
    I have a computer with mountain lion 10.8 and I need to install simulink. This software requires a c compiler that should be xcode. The last versión of xcode is not commpatible with lino 10.8, so I need an older version. May you please help me? I do not want to split my drive to install windows.
    Regards

    Apparently yes!
    http://roaringapps.com/apps:table/tags/_x/index_tags/_x

  • Fun with fully-qualified class names

    In Java, AFAIK, there are three forms of fully-qualified class names:
    1) the name you get from Class.getName(), e.g. java.lang.String
    2) the name that the VM spec defines as appropriate for (e.g.) constant pool info, e.g. java/lang/String
    3) the type name as we see it in bytecode viewers, or in JNI signatures, e.g. Ljava/lang/String;
    Here's where it gets fun. I work in CA's Wily division, where we do bytecode instrumentation for app performance management. That is, our code needs to actually insert data into constant pools, and (for obvious reasons, like avoiding VerifyErrors) that data needs to follow type specifications exactly. For the above String example, that works just fine, exactly as specified in the JVMSpec, for JVMs up to 1.5. In 1.6, however, the JNI-ish format is also accepted, that is, I can use Ljava/lang/String; in the constant pool.
    Curious.
    It gets better. For String[] arrays, I don't know what the "specified" format is -- the JVMSpec is silent on the subject of arrays. I do know that I CANNOT use java/lang/String[], but for 1.5 and 1,6, I CAN use [Ljava/lang/String; -- an apparent contradiction.
    Any VM expert wanna chime in on the subject?  What IS the proper format for array types in the constant pool, and why does 1.6 tolerate a seemingly-improper format for scalar Objects?
    - todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    The -link and -linkoffline options enable the documents to link to other API documentation
    generated in separate runs of javadoc. Linkoffline is usually the one you want.
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javadoc.html#linkoffline
    With 1.4.0, you can also choose to omit the package name even if -link or -linkoffline
    is not used by using -noqualifier.
    -Doug Kramer
    Javadoc team

Maybe you are looking for

  • Kernel panic after loading YouTube homepage in Safari

    Hi, Starting about a day ago, I've encountered problems with Safari locking up my entire system, and ultimately causing a kernel panic when I visit YouTube's homepage.  Typically, what happens is that the entire screen locks up, though I can continue

  • My Macbook Pro is running slow, possible malware

    Hi there, I know this is an annoying redundant question but I am an idiot and I did it.  A couple months ago, I made the mistake of downloading Trojan.  I tried deleting the application but the pop ads (Mackeeper) continued.  I looked further into th

  • More than one business component (views) in the same JSP page

    Hi, I am trying to have more than one business component (views) in the same JSP page as Input Form. For example: There are two BC4J: Person: Code. Name. Address:      Person_code      Street.      City. There is a master detail relationship between

  • PR04 - Weekly report BAPI for change

    Hi all, We have WDJ applications for Weekly Reports managing (creation, modification, delete and approval). They are working well but I need to implement some improvements to modification one. Actually when the user modifies the weekly report mi RFC

  • My files is double in itunes.

    How can I remove all the double files in Itunes? In some strange way, all my files is double, and it is double on my hardrive in Itunes folder. The songs are stored like this in the folder: fame.m4a and fame1.m4a. It is too much work to delete them o