摘要:
上一篇文章说到还是产生 accpet open too many files的错误。 这个一般是通过修改ulimit就可以了,但是修改这个参数有一个误区,就是生效的时机。虽然你登录终端看ulimit -a看到open files连接数是够大了,但是对于app运行的环境并不一定是这个数目。具体可以通过 阅读全文
摘要:
1. 问题背景 线上服务变得卡顿。发现 open too many files错误。 2. 定位经过 首先查看linux服务器负载是否高,CPU,MEM,磁盘读写IOPS(发现高,但是很快排除了,因为是错误日志打印太多到本地磁盘)使用netstat 查看当时的连接情况,有条件的可以看监控软件。发现整 阅读全文
摘要:
Step 2: Add EPEL repository to CentOS 7 A number of dependencies are on the EPEL repository. Run the following command to install epel repository in y 阅读全文