美文网首页
Fork bombs

Fork bombs

作者: Yves_lau | 来源:发表于2015-06-04 17:08 被阅读11次

    Fork bombs operate both by consuming CPU time in the process of forking, and by saturating the [operating system]'s process table.
    A basic implementation of a fork bomb is an infinite loop that repeatedly launches the same process

     :(){ :|:& };:
    

    可以通过修改 /etc/security/limits.conf 限制最大进程数

    相关文章

      网友评论

          本文标题:Fork bombs

          本文链接:https://www.haomeiwen.com/subject/rlmdqttx.html