digdeep

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

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 37 下一页

2019年12月9日

摘要: 应用突然被hang住了,tomcat日志报错,所有涉及到数据库的操作都报错,卡死。 show processlist 查看到大量的:Waiting for table flush 应该是 进行了 ddl 或者 flush tables 了, 想到是被 mysqldump 进行flush tables 阅读全文
posted @ 2019-12-09 14:50 digdeep 阅读(1062) 评论(0) 推荐(0)

2019年12月5日

摘要: 有个特殊需求,一个普通的类,定时任务,需要获取SpringMVC的controller对应的bean: 方法: 如果报错,找不到bean fluController,那么就把这个controller配置到 applicationContext.xml中即可。 阅读全文
posted @ 2019-12-05 15:42 digdeep 阅读(2424) 评论(0) 推荐(0)

2019年12月2日

摘要: 将CSV格式数据导入 mysql,报错: load data infile 'f:/nmg.csv' into table nmg fields terminated by ',' optionally enclosed by '"' escaped by '"' lines terminated 阅读全文
posted @ 2019-12-02 09:55 digdeep 阅读(8078) 评论(0) 推荐(0)

2019年11月23日

摘要: 重启redis所在的centos之后,启动 redis-server,使用redis-cli 连上去,执行 dbsize时报错: 错误的字面含义是:redis正在重新从磁盘加载数据到内存中,我们看到 内存 从 1.83G增加到了3.00G, 最后增加到了7.87G,在执行 dbsize就不报错了。恢 阅读全文
posted @ 2019-11-23 23:19 digdeep 阅读(8250) 评论(1) 推荐(0)

2019年10月30日

摘要: svn update时报错,处理方法,将报错的文件夹压缩备份一下,然后删除报错的文件夹,重新update即可。 阅读全文
posted @ 2019-10-30 08:42 digdeep 阅读(5564) 评论(0) 推荐(0)

2019年10月7日

摘要: 参考文档: https://www.zabbix.com/download?zabbix=4.0&os_distribution=centos&os_version=7&db=mysql 1. httpd 和 php的安装 yum -y install httpd php 2. mysql的安装 略 阅读全文
posted @ 2019-10-07 16:28 digdeep 阅读(729) 评论(0) 推荐(0)

2019年10月4日

摘要: 1. 安装iptables yum install iptables centos7: yum install -y iptables-services 2. service命令 查看iptables是否在运行:service iptables status 启动iptables:service i 阅读全文
posted @ 2019-10-04 21:08 digdeep 阅读(573) 评论(0) 推荐(0)

摘要: maxKeepAliveRequests=“1”: nginx动态的转给tomcat,nginx是不能keepalive的,而tomcat端默认开启了keepalive,会等待keepalive的timeout, 默认不设置就是使用connectionTimeout。所以必须设置tomcat的超时时 阅读全文
posted @ 2019-10-04 14:14 digdeep 阅读(1134) 评论(0) 推荐(0)

摘要: Windows下面startup.bat启动Tomcat时,因为日志都打印到了cmd里面,存在偶发卡死Tomcat的问题,该问题确认是Windows系统的问题,而且一直没有解决。解决的办法是把日志重定向到日志文件。 dump了JVM的堆栈,如下所示: 2018-05-24 11:30:41Full 阅读全文
posted @ 2019-10-04 11:50 digdeep 阅读(836) 评论(0) 推荐(0)

2019年9月27日

摘要: 前端调用这个方法报错: HTTP Status 406 – Not Acceptable Type Status Report Description The target resource does not have a current representation that would be a 阅读全文
posted @ 2019-09-27 21:47 digdeep 阅读(2923) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 37 下一页
不懂数据库和Web安全的架构师不是一个好的程序员。