<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      服務(wù)器中 ulimit 的配置

      系統(tǒng)級別 查看并修改 ulimit

      ulimit

      ulimit -a 
      # 命令的輸出信息: 
      # core file size           (blocks, -c) 0
      # data seg size            (kbytes, -d) unlimited  # 一個進程的數(shù)據(jù)段的最大值
      # scheduling priority              (-e) 0
      # file size                (blocks, -f) unlimited  # Shell創(chuàng)建文件的最大體積, 1block = 512bytes
      # pending signals                  (-i) 1031426    # 最多允許多少個待處理的信號
      # max locked memory        (kbytes, -l) 64         # 每個進程可以鎖住的物理內(nèi)存的最大值
      # max memory size          (kbytes, -m) unlimited  # 每個進程可以使用的常駐內(nèi)存的最大值
      # open files                       (-n) 65536      # 每個進程可以同時打開的最大文件數(shù), 不能是unlimited
      # pipe size             (512 bytes, -p) 8          # 管道的最大值, 1block = 512bytes
      # POSIX message queues      (bytes, -q) 819200     # POSIX的消息隊列的最大值
      # real-time priority               (-r) 0
      # stack size               (kbytes, -s) 10240      # 單個進程能夠使用的最大棧大小
      # cpu time                (seconds, -t) unlimited  # 單個進程的最大CPU時間, 也就是可使用CPU的秒數(shù), 到硬極限時, 這個進程就會立即自殺; 到軟極限時, 每秒發(fā)送一次限制超時信號SIGXCPU
      # max user processes               (-u) 131072     # 單個用戶可同時運行的最大進程數(shù), 不能是unlimited
      # virtual memory           (kbytes, -v) unlimited  # 每個進程可使用的最大虛擬內(nèi)存
      # file locks                       (-x) unlimited  # 每個進程能鎖住的最大文件個數(shù)
      

      修改 ulimit

      sed -i '/\# End of file/i * soft nofile 65535' /etc/security/limits.conf
      sed -i '/\# End of file/i * hard nofile 65535' /etc/security/limits.conf
      echo ulimit -SHn 65535 >> /etc/profile
      source /etc/profile
      

      查看 nginx ulimit

      # ps aux | awk '{print $11}'
      # netstat -anlp | grep 80 | awk '{print $7}' | grep nginx
      # netstat -anlp | grep nginx | grep 80 | awk '{print $7}'  | awk '{split($0,a,"/");print a[1]}'
      
      cat  /proc/$(cat /var/run/nginx.pid)/limits
      # Limit                     Soft Limit           Hard Limit           Units
      # Max cpu time              unlimited            unlimited            seconds
      # Max file size             unlimited            unlimited            bytes
      # Max data size             unlimited            unlimited            bytes
      # Max stack size            8388608              unlimited            bytes
      # Max core file size        0                    unlimited            bytes
      # Max resident set          unlimited            unlimited            bytes
      # Max processes             13165                13165                processes
      # Max open files            65535                65535                files
      # Max locked memory         65536                65536                bytes
      # Max address space         unlimited            unlimited            bytes
      # Max file locks            unlimited            unlimited            locks
      # Max pending signals       13165                13165                signals
      # Max msgqueue size         819200               819200               bytes
      # Max nice priority         0                    0
      # Max realtime priority     0                    0
      # Max realtime timeout      unlimited            unlimited            us
      
      grep 'open files' /proc/$(cat /var/run/nginx.pid)/limits
      
      # Max open files            1024                 4096                 files
      
      vim /usr/lib/systemd/system/nginx.service
      
      # 在[Service]模塊下添加
      
      # LimitNOFILE=65535
      
      systemctl daemon-reload 
      systemc	restart nginx
      
      grep 'open files' /proc/$(cat /var/run/nginx.pid)/limits
      # Max open files            65535                65535                files 
      
      
      # 查看某個進程打開的文件及文件描述符
      ll proc/$(cat /var/run/nginx.pid)/fd
      ll proc/430315/fd
      
      
      tail -f /var/log/nginx/access.log
      tail -f /var/log/nginx/access.json
      
      tail -f /var/log/nginx/error.log
      
      curl http://t1.wwwfff.top/get_json
      curl http://119.29.161.77/get_json
      
      curl http://127.0.0.1/get_text
      
      # https://t1.wwwfff.top/my/wql.html
      
      

      參考

      https://blog.csdn.net/qq_43233213/article/details/104379607

      https://zhuanlan.zhihu.com/p/60799795

      http://www.rzrgm.cn/grey-wolf/p/13335275.html

      排查規(guī)則錯誤

      posted @ 2025-04-22 11:56  cerofang  閱讀(37)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 亚洲卡1卡2卡3精品| 国产95在线 | 亚洲| 亚洲av无码成人精品区一区| 欧洲精品色在线观看| 日本道播放一区二区三区| 九九热在线免费播放视频| 亚洲人成电影在线天堂色| 剑阁县| 久久欧洲精品成av人片| 国产精品呻吟一区二区三区| 免费午夜无码片在线观看影院| 国产成人精品无码免费看夜聊软件| 无码精品人妻一区二区三区中| 免费无码国模国产在线观看| 亚洲成人av在线资源| 伊人久久大香线蕉av色婷婷色| 日韩亚洲精品中文字幕| 色综合久久久久综合体桃花网| 成人国产精品一区二区网站公司 | 国产av午夜精品福利| 中文熟妇人妻av在线| 亚洲一区二区中文字幕| 中文在线最新版天堂| 蜜桃av亚洲精品一区二区| 四虎成人精品无码| 青青国产揄拍视频| 黄色免费在线网址| 国产国产午夜福利视频| 成人午夜视频在线| 日本精品不卡一二三区| 99精品全国免费观看视频| 久久人妻国产精品| 日韩在线视频一区二区三区| 国产欧美日韩亚洲一区二区三区 | 亚洲第一无码专区天堂| 一卡2卡三卡4卡免费网站| 国产麻豆成人精品av| 在线观看精品日本一区二| 亚洲各类熟女们中文字幕| 亚洲国产欧美在线人成大黄瓜| 人成午夜免费大片|