digdeep

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

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

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 阅读(537) 评论(0) 推荐(0) 编辑

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

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

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