会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Binz
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2022年6月21日
查看指定java pid的类内存占用
摘要: jmap -histo:live 12484 | head -n 20 12484:pid head -n 20 前20个
阅读全文
posted @ 2022-06-21 11:04 Binz
阅读(89)
评论(0)
推荐(0)
2022年3月2日
redis aof异常增大解决 appendonly.aof异常增大
摘要: 1、在低版本2.4以下,需要手动触发BGREWRITEAOF 进行重写操作 2、其他版本出现异常的时候,先看看服务器内存是否够用 剩余可用 > 2G,如果不够,建议加内存,我就是增加内存后就好了 内存不够,没法触发BGREWRITEAOF(AOF文件重写操作),或者是内存不够,触发了 BGREWRI
阅读全文
posted @ 2022-03-02 18:52 Binz
阅读(1064)
评论(0)
推荐(0)
2022年2月27日
设置eclipse tab为4个空格
摘要: window 1、Window > Preference > Text Editors : 勾选Insert spaces for tabs ,如果要在删除时也同时删除4个,就勾选remove multiple spaces on backspace/delete ,然后apply 2、Window
阅读全文
posted @ 2022-02-27 09:28 Binz
阅读(832)
评论(0)
推荐(0)
2022年1月5日
docker 容器时间不正确问题
摘要: 进入容器 cd /usr/share/zoneinfo/Asia cp -i Shanghai /etc/localtime
阅读全文
posted @ 2022-01-05 15:47 Binz
阅读(101)
评论(0)
推荐(0)
2022年1月3日
centos常用命令
摘要: centos统计服务器当前IP连接数 netstat -tun | awk '{print $5}' | cut -d: -f1 |sort | uniq -c | sort -n
阅读全文
posted @ 2022-01-03 12:07 Binz
阅读(39)
评论(0)
推荐(0)
2021年12月17日
feign抛出异常自定义属性code feign抛出异常自定义字段code
摘要: 默认feign服务提供者发生异常后只返回固定几个属性,有些属性是默认关闭的需要配置开启 具体查看org.springframework.boot.web.servlet.error.DefaultErrorAttributes.getErrorAttributes { "timestamp": 16
阅读全文
posted @ 2021-12-17 14:21 Binz
阅读(894)
评论(0)
推荐(0)
2021年12月13日
docker 安装 nacos2.x
摘要: 重要重要重要:https://nacos.io/zh-cn/docs/auth.html?spm=a2c6h.12873639.article-detail.13.57944500n0h1Dj要么纯内网/安全组固定IP访问,要么按照文档开启鉴权,不然会有配置泄露风险 拉镜像,版本查看:https:/
阅读全文
posted @ 2021-12-13 17:44 Binz
阅读(2392)
评论(0)
推荐(1)
2021年9月27日
feign异常丢失 springboot2.3.x版本发生异常时,响应的message和exception为空问题
摘要: 原因:因为boot2.3.x版本可能考虑信息安全问题,把以下两个值默认为 server: error: include-message: never include-exception: false 发生异常是返回 { "timestamp": 1632713940269, "status": 50
阅读全文
posted @ 2021-09-27 11:43 Binz
阅读(407)
评论(1)
推荐(0)
2021年9月10日
docker 搭建 RocketMQ docker搭建RocketMQ 可视化界面 ,开启控制台密码和acl密码
摘要: 1、拉取镜像 docker pull foxiswho/rocketmq:4.8.0 2、创建数据目录 mkdir -p /home/dockerdata/rocketmq/namesrv/logs mkdir -p /home/dockerdata/rocketmq/broker/storemkd
阅读全文
posted @ 2021-09-10 17:40 Binz
阅读(6665)
评论(0)
推荐(0)
2021年7月29日
docker 搭建 seafile服务端
摘要: 1、拉取镜像 docker pull seafileltd/seafile:latest 2、创建数据目录 mkdir -p /home/dockerdata/seafile 3、运行容器 docker run -d --name seafile \ -e SEAFILE_SERVER_HOSTNA
阅读全文
posted @ 2021-07-29 15:53 Binz
阅读(910)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告