Uninote
Uninote

2020年8月10日

  1. dev.m.dajxyl.com配置error重定向到首页
  2. centos6.9项目部署脚本测试
  3. 新测试环境docker项目端口映射和云服务器安全组配置
  4. 新测试环境测试开发修改后dajx-api初始化数据脚本,数据导入无报错

2020年8月11日

  1. 修改自动化部署脚本,测试centos6.9和docker环境下自动部署
  • 增加第一次申请证书expect脚本
  • 提交到git
  1. test2测试环境端口开放
  2. test3环境部署测试
  3. online服务器续费1月

2020年8月12日

  1. 编写配置文件导出脚本
  2. dev环境和测试test2环境配置对比和修改
  3. test2环境部署workerman,测试环境数据导入到test2,mysql日志开放和位置修改
  4. dajxyl.com域名续费1年

2020年8月13日

  1. 自动化部署脚本合并
  2. 配置文件导出脚本编写
  3. 配置数据导出

2020年8月14日

  1. test2环境代码更新
  2. 测试test2新发代码
  3. redis报错解决
  • 报错提示:
Uncaught RedisException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. in
  • 报错原因:
redis持久化fork主进程一个子进程,子进程占用主进程相同内存,服务器内存不够,持久化的fork进程会失败,导致rdb数据持久化失败,写入redis数据时报错。

  • 解决方案: 临时解决方案:
	redis-cli
	config set stop-writes-on-bgsave-error no ##此选项忽略后台rdb快照失败的报错,继续向redis中写入新数据

其他解决方案(修改linux内存分配机制):

	echo "vm.overcommit_memory=1" >> /etc/sysctl.conf#表示内存不足时也提交内存申请.
	sysctl -p

2020年12月4日

2020年8月21日

点赞(0) 阅读(1) 举报
目录
标题