• 请不要在回答技术问题时复制粘贴 AI 生成的内容
gkiwi
V2EX  ›  程序员

Hold 住你的好奇心...

  •  
  •   gkiwi · Apr 23, 2014 · 4462 views
    This topic created in 4408 days ago, the information mentioned may be changed or developed.
    .(){.|.};.

    之前看到过,一直忍住没尝试,刚刚...呵呵了
    refer:http://en.wikipedia.org/wiki/Fork_bomb
    14 replies    1970-01-01 08:00:00 +08:00
    duzhe0
        1
    duzhe0  
       Apr 23, 2014
    就是一个递归函数,每次调用并行调用两次自己, 使系统进程数指数级增长最终占完所有资源。
    gkiwi
        2
    gkiwi  
    OP
       Apr 23, 2014
    @duzhe0 已重启.
    Lucius
        3
    Lucius  
       Apr 23, 2014
    Lucius
        4
    Lucius  
       Apr 23, 2014
    @gkiwi
    @duzhe0
    让同事输入了下,然后他重启电脑了
    mahone3297
        5
    mahone3297  
       Apr 23, 2014
    有机会要试试。。。
    aliuwr
        6
    aliuwr  
       Apr 23, 2014
    可以在虚拟机里尝试一下.
    deepjia
        7
    deepjia  
       Apr 23, 2014
    让同学保存了一个bat
    %0|%0

    然后他正准备重启……
    yakiang
        8
    yakiang  
       Apr 23, 2014
    @deepjia 偷偷在打印店试过这个~
    superbear
        9
    superbear  
       Apr 23, 2014
    fork炸弹,试过,直接卡到死
    ChiangDi
        10
    ChiangDi  
       Apr 23, 2014
    没 hold 住...
    虽然我明明已经知道了结局...
    mortal
        11
    mortal  
       Apr 23, 2014
    看楼上笑尿。
    lm902
        12
    lm902  
       Apr 24, 2014
    在PaaS上跑个fork炸弹不知会怎样。。。(Azure貌似是基于Windows的没有ulimit限制)
    babytomas
        13
    babytomas  
       Apr 24, 2014 via Android
    Windows 就:%0|%0
    lfzyx
        14
    lfzyx  
       Apr 25, 2014
    常备虚拟机
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1112 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 18:18 · PVG 02:18 · LAX 11:18 · JFK 14:18
    ♥ Do have faith in what you're doing.