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

Hold 住你的好奇心...

  •  
  •   gkiwi · Apr 23, 2014 · 4840 views
    This topic created in 4580 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
    duzhe0
    Apr 23, 2014
    1
    就是一个递归函数,每次调用并行调用两次自己, 使系统进程数指数级增长最终占完所有资源。
    gkiwi
    gkiwi
    OP
    Apr 23, 2014
    2
    @duzhe0 已重启.
    Lucius
    Lucius
    Apr 23, 2014
    3
    Lucius
    Lucius
    Apr 23, 2014
    4
    @gkiwi
    @duzhe0
    让同事输入了下,然后他重启电脑了
    mahone3297
    mahone3297
    Apr 23, 2014
    5
    有机会要试试。。。
    aliuwr
    aliuwr
    Apr 23, 2014
    6
    可以在虚拟机里尝试一下.
    deepjia
    deepjia
    Apr 23, 2014
    7
    让同学保存了一个bat
    %0|%0

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