会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
诗码者
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
16
下一页
2018年1月17日
nginx报错整理
摘要: 一、 1、线上有个域名出现一个访问报错: 413 Payload Too Large 这里贴一下关于这个报错的解释: The 413 (Payload Too Large) status code indicates that the server is refusing to process a
阅读全文
posted @ 2018-01-17 14:12 诗码者
阅读(729)
评论(0)
推荐(0)
2018年1月15日
记一次java程序占用cpu超高排查
摘要: 1、首先通过top命令查看占用cpu过高的pid #top top - 18:07:25 up 48 days, 1:07, 3 users, load average: 11.94, 11.90, 9.46Tasks: 271 total, 1 running, 270 sleeping, 0 s
阅读全文
posted @ 2018-01-15 18:45 诗码者
阅读(551)
评论(0)
推荐(0)
HDFS恢复误删操作的方法
摘要: 1、通过垃圾箱恢复 使用这种方式的前提是在hdfs上面开启trash功能,默认是没有开启的。interval的值默认为0,单位是分钟。只需要在hadoop的配置文件core-site.xml中添加下面的内容: <!--Enable Trash --> <property> <name>fs.tras
阅读全文
posted @ 2018-01-15 17:19 诗码者
阅读(9337)
评论(0)
推荐(1)
2018年1月11日
有趣的工具
摘要: 1、https://github.com/nvbn/thefuck 2、https://github.com/jakubroztocil/httpie 3、https://github.com/justjavac/free-programming-books-zh_CN 4、https://tool
阅读全文
posted @ 2018-01-11 20:49 诗码者
阅读(339)
评论(0)
推荐(0)
2018年1月10日
iptables之端口限速
摘要: 通过限制端口转发数据包的数量来达到限速的目的。 使用的是centos7,默认使用firewalld,需要切换到iptables,将firewalld停掉。 1、安装iptables #yum -y install yum -y install iptables-services-1.4.21-18.
阅读全文
posted @ 2018-01-10 15:20 诗码者
阅读(1859)
评论(0)
推荐(0)
2018年1月4日
微服务之consul(一)
摘要: 一、概述 consul是google开源的一个使用go语言开发的服务发现、配置管理中心服务。内置了服务注册与发现框 架、分布一致性协议实现、健康检查、Key/Value存储、多数据中心方案,不再需要依赖其他工具(比如ZooKeeper等)。服务部署简单,只有一个可运行的二进制的包。每个节点都需要运行
阅读全文
posted @ 2018-01-04 17:02 诗码者
阅读(180606)
评论(9)
推荐(17)
2017年12月29日
mongodb之oplog
摘要: 1、查看master上当前的oplog状态: >rs.printReplicationInfo() configured oplog size: 5000MBlog length start to end: 587282secs (163.13hrs)oplog first event time:
阅读全文
posted @ 2017-12-29 17:27 诗码者
阅读(404)
评论(0)
推荐(0)
2017年12月26日
ELK常用命令
摘要: 1、查询当前所有的索引 #curl 'localhost:9200/_cat/indices?v' 2、查看集群健康状态 #curl 'localhost:9200/_cat/health?v' 绿色表示一切正常, 黄色表示所有的数据可用但是部分副本还没有分配,红色表示部分数据因为某些原因不可用 3
阅读全文
posted @ 2017-12-26 10:14 诗码者
阅读(1509)
评论(0)
推荐(1)
2017年12月20日
nginx之正向代理
摘要: 1、概述 nginx的正向代理,只能代理http、tcp等,不能代理https请求。有很多人不是很理解具体什么是nginx的正向代理、什么是反向代理。下面结合自己的使用做的一个简介: 1)正向代理: 所谓正向代理就是内网服务器主动要去请求外网的地址或服务,所进行的一种行为。内网服务 访问 >外网 2
阅读全文
posted @ 2017-12-20 14:56 诗码者
阅读(40510)
评论(0)
推荐(0)
nginx之代理websocket
摘要: nginx代理websocket:NGINX通过允许一个在客户端和后端服务器之间建立的隧道来支持WebSocket。为了NGINX发送来至于客户端Upgrade请求到后端服务器,Upgrade和Connection头部必须被设置明确 map $http_upgrade $connection_upg
阅读全文
posted @ 2017-12-20 14:38 诗码者
阅读(939)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
16
下一页
公告