03 2022 档案
摘要:官方文档 https://www.percona.com/doc/percona-xtrabackup/2.4/index.html Percona XtraBackup介绍 Percona XtraBackup是基于MySQL的服务器的开源热备份实用程序,在备份期间不会锁定您的数据库。 它可以备份
阅读全文
摘要:背景 接口性能压测 架构 nginx+php_fpm+go 请求方法 POST nginx返回信息 状态码499 nginx 499定义 cat src/http/ngx_http_special_response.c ngx_string(ngx_http_error_494_page), /*
阅读全文
摘要:zabbix agent需要开启远程命令执行 sed -i 's@#EnableRemoteCommands=0@EnableRemoteCommands=1@' /etc/zabbix/zabbix_agentd.conf sed -i 's@#UnsafeUserParameters=0@Uns
阅读全文
摘要:安装tideways拓展 git clone https://github.com/tideways/php-xhprof-extension.git cd php-xhprof-extension/ /usr/local/php-7.4.24/bin/phpize ./configure --wi
阅读全文
摘要:安装xhprof /usr/local/php/bin/pecl install xhprof 配置php.ini文件 echo "extension=xhprof.so" >> /usr/local/php/conf/php.ini echo "xhprof.output_dir=/tmp" >>
阅读全文
摘要:创建cache目录 mkdir -pv /var/cache/nginx/fastcgi_cache 修改/etc/fstab文件 tmpfs /var/cache/nginx/fastcgi_cache tmpfs defaults,size=200m,context=system_u:objec
阅读全文
摘要:安装goaccess $ wget -O - https://deb.goaccess.io/gnugpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/goaccess.gpg >/dev/null $ echo "deb [signed-b
阅读全文
摘要:1.先进入主库,进行锁表,防止数据写入 mysql> flush tables with read lock; 2.进行数据备份 /usr/local/mysql/bin/mysqldump -uroot -p --quick --routines --master-data=2 --single-
阅读全文
摘要:MySQL server has gone away https://dev.mysql.com/doc/refman/5.7/en/gone-away.html Lost connection to server during query 该MySQL server has gone away错误
阅读全文
摘要:max_connections 命令行格式 --max-connections=# 系统变量 max_connections 范围 global 动态的 是的 类型 整数 默认值 151 最小值 1 最大值 100000 允许的最大同时客户端连接数。最大有效值是open_files_limit-81
阅读全文

浙公网安备 33010602011771号