上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 203 下一页
摘要: 一,代码: opcache的各项参数设置效果怎么样?是否需要调整?我们需要了解一个opcache使用情况的统计,以供调整参数时处理 看php代码: <?php // 确保已经启用了Opcache if (extension_loaded('Zend OPcache') && function_exi 阅读全文
posted @ 2024-09-30 11:43 刘宏缔的架构森林 阅读(179) 评论(0) 推荐(0)
摘要: 一,列出所有监听中的端口 #-l: 仅显示处于监听状态的套接字#-n: 以数字格式显示地址和端口。使用此选项可以避免将地址和端口转换为主机名或服务名,从而加快查询速度#-t: 仅显示TCP套接字信息#-p: 显示与每个套接字相关联的进程信息,包括进程ID和进程名称 ss -lntp 二,查看所有状态 阅读全文
posted @ 2024-09-29 19:12 刘宏缔的架构森林 阅读(251) 评论(0) 推荐(0)
摘要: 一,客户端浏览器报错: nginx 503 Service Temporarily Unavailable 问题的原因: http下: limit_req_zone $binary_remote_addr zone=peripreq:20m rate=10r/s; 此server下: limit_r 阅读全文
posted @ 2024-09-29 16:40 刘宏缔的架构森林 阅读(688) 评论(0) 推荐(1)
摘要: 一,问题现象: firewalld未重新加载规则前,可以看到fail2ban添加的防火墙规则: [root@web ~]# firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfa 阅读全文
posted @ 2024-09-29 11:08 刘宏缔的架构森林 阅读(181) 评论(0) 推荐(0)
摘要: 一,使用ip命令: 命令: ip -s link -s[tatistics] : 统计 [root@web mysql]# ip -s link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFA 阅读全文
posted @ 2024-09-28 17:44 刘宏缔的架构森林 阅读(542) 评论(0) 推荐(0)
摘要: 一,删除所有别名 #!/bin/bash # Elasticsearch 地址 ES_HOST="http://localhost:9200" content=$(curl -s -X GET "$ES_HOST/_alias/*") # echo $content # 获取所有alias inde 阅读全文
posted @ 2024-09-27 14:32 刘宏缔的架构森林 阅读(198) 评论(0) 推荐(0)
摘要: 一,报错信息: Next Illuminate\\Contracts\\Container\\BindingResolutionException: Target class [view] does not exist. in /web/api/vendor/laravel/framework/sr 阅读全文
posted @ 2024-09-26 15:53 刘宏缔的架构森林 阅读(426) 评论(0) 推荐(0)
摘要: 一,问题现象: 1,一台新服务器上安装了snoopy之后,发现一个问题,它只能记录root的操作命令,其他用户的操作命令完全记录不下来 2,查看配置: [root@backup ~]# snoopyctl conf ; Options from config file (or defaults): 阅读全文
posted @ 2024-09-26 14:04 刘宏缔的架构森林 阅读(66) 评论(0) 推荐(0)
摘要: 一,关于limit_req和limit_conn的区别 what is the difference between connection and request? connection是连接,即常说的tcp连接,通过三次握手而建立的一个完整状态机。建立一个连接,必须得要三次握手。断开连接时要有四次 阅读全文
posted @ 2024-09-26 11:32 刘宏缔的架构森林 阅读(61) 评论(0) 推荐(0)
摘要: 一,nginx限流有哪些? 目前来说在nginx上面我们常见的三种限速操作分别是:限制请求数(request)、限制连接数(connection)、限制响应速度(rate),对应在nginx的模块相关指令分别是limit_req、limit_conn和limit_rate三个系列 二,limit_c 阅读全文
posted @ 2024-09-26 10:54 刘宏缔的架构森林 阅读(638) 评论(0) 推荐(0)
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 203 下一页