zoukankan      html  css  js  c++  java
  • too many open files

    too many open files

    too many open files

    1 too many open file终极解决方案

    
    echo “” >> /etc/security/limits.conf
    echo “* soft nproc 65535″ >> /etc/security/limits.conf
    echo “* hard nproc 65535″ >> /etc/security/limits.conf
    echo “* soft nofile 65535″ >> /etc/security/limits.conf
    echo “* hard nofile 65535″ >> /etc/security/limits.conf
    echo “” >> /root/.bash_profile
    echo “ulimit -n 65535″ >> /root/.bash_profile
    echo “ulimit -u 65535″ >> /root/.bash_profile
    #最后重启机器或者执行 ulimit -u 655345 && ulimit -n 65535
    
    
    

    Date: 2013-03-29 Fri

    Author: liweilijie

    Org version 7.9.2 with Emacs version 23

    Validate XHTML 1.0
  • 相关阅读:
    Codeforces Round #644 (Div. 3)(A~G)
    【】BZOJ3687: 简单题(dp+bitset)
    [LeetCode] 275. H-Index II
    [LeetCode] 1028. Recover a Tree From Preorder Traversal
    [LeetCode] 1014. Best Sightseeing Pair
    [LeetCode] 468. Validate IP Address
    [LeetCode] 701. Insert into a Binary Search Tree
    [LeetCode] 658. Find K Closest Elements
    [LeetCode] 787. Cheapest Flights Within K Stops
    [LeetCode] 1300. Sum of Mutated Array Closest to Target
  • 原文地址:https://www.cnblogs.com/liweilijie/p/2988602.html
Copyright © 2011-2022 走看看