digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

06 2019 档案

摘要:系统症状: 某个功能报错: 但是数据库链接并没有用完。重启一下tomcat就好了,但是过十几分钟又报错,如此反复。 怀疑是数据库连接泄露。于是加入下面的配置进行调查: 查到报错信息: [ERROR] com.alibaba.druid.pool.DruidDataSource.removeAband 阅读全文
posted @ 2019-06-10 14:04 digdeep 阅读(5755) 评论(1) 推荐(0)

摘要:1. 禁用 yum插件 fastestmirror 1)修改插件的配置文件 # cp /etc/yum/pluginconf.d/fastestmirror.conf /etc/yum/pluginconf.d/fastestmirror.conf.bak # vi /etc/yum/pluginc 阅读全文
posted @ 2019-06-06 00:04 digdeep 阅读(44281) 评论(0) 推荐(0)

摘要:1. 乱码问题 编辑目标数据库的链接: 配置编码参数即可。 2. 报错 No operations allowed after statement closed. 需要调整wait_timeout: set global wait_timeout=1000000; 3. net_write_time 阅读全文
posted @ 2019-06-03 15:37 digdeep 阅读(2932) 评论(0) 推荐(0)

不懂数据库和Web安全的架构师不是一个好的程序员。