S
文章平均质量分 77
firehive
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php-fpm占用内存过高分析
1、查看每个php-fpm占用的内存大小ps -ylC php-fpm --sort:rss2、查看单个php-fpm进程消耗内存的明细pmap $(pgrep php-cgi | head -1)这里可以根据需要减少不必要的模块加载。php-fpm的参数优化 pm = dynamic #对于专用服务器,pm可以设置为static。#如何控制子进程,选...转载 2018-10-22 10:51:00 · 2013 阅读 · 1 评论 -
监控CPU占比较高的进程
[root@i-9kz28k1q test]# cat monitor_process.sh#!/bin/bashwhile(true)do day=$(date +"%Y-%m-%d") if [[ ! -d /tmp/monitor/${day} ]];then mkdir /tmp/monitor/${day};fi time=$(date +"%Y-%m-%...原创 2018-08-29 18:52:46 · 1160 阅读 · 0 评论 -
linux系统rm误删文件恢复 ext4
https://blog.youkuaiyun.com/xwl145/article/details/38896699转载 2018-08-16 11:10:59 · 627 阅读 · 0 评论 -
Nginx使用limit_req_zone对同一IP访问进行限流
nginx可以使用ngx_http_limit_req_module模块的limit_req_zone指令进行限流访问,防止用户恶意攻击刷爆服务器。ngx_http_limit_req_module模块是nginx默认安装的,所以直接配置即可。首先,在nginx.conf文件中的http模块下配置limit_req_zone $binary_remote_addr zone=one:10m...原创 2018-08-03 15:37:01 · 590 阅读 · 0 评论 -
nginx timeout
https://www.cnblogs.com/derekchen/archive/2012/04/20/2459106.html原创 2018-08-09 17:34:51 · 476 阅读 · 0 评论
分享