会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Binz
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2022年11月26日
seata get global lock fail, xid:xxxx:8091:72313012717367947, lockKeys:
摘要: 方式1、找到seata库,找到lock_table表,把其中的table_name字段长度改成256,然后再试试
阅读全文
posted @ 2022-11-26 16:40 Binz
阅读(615)
评论(0)
推荐(0)
2022年9月20日
Centos时间不正确问题
摘要: 1、设置系统时区为上海时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 2、安装ntpdate yum install -y ntpdate 3、同步网络时间 ntpdate us.pool.ntp.org
阅读全文
posted @ 2022-09-20 10:34 Binz
阅读(143)
评论(0)
推荐(0)
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
阅读(92)
评论(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
阅读(1092)
评论(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
阅读(859)
评论(0)
推荐(0)
2022年1月5日
docker 容器时间不正确问题
摘要: 进入容器 cd /usr/share/zoneinfo/Asia cp -i Shanghai /etc/localtime
阅读全文
posted @ 2022-01-05 15:47 Binz
阅读(112)
评论(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
阅读(47)
评论(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
阅读(911)
评论(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
阅读(2422)
评论(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
阅读(417)
评论(1)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告