摘要: 操作系统:centos7 jdk版本8 --提前下载安装依赖 yum -y install gcc gcc-c++ -- 下载安装包 wget http://download.savannah.gnu.org/releases/libunwind/libunwind-0.99.tar.gz wget 阅读全文
posted @ 2024-06-12 21:48 Me无情 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 8g物理内存 -XX:+PrintCommandLineFlags -Xms4g -Xmx4g -Xmn2g -Xss1m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m -XX:SurvivorRatio=8 -XX:MaxDirectMemory 阅读全文
posted @ 2024-06-06 10:10 Me无情 阅读(6) 评论(0) 推荐(0) 编辑
摘要: cpu飙升排查 top ps -mp 510264 -o THREAD,tid | sort -r printf '%x\n' tid(线程id)7ca0b jstack 510264 |grep 7ca0b -A 50 阅读全文
posted @ 2024-05-30 10:24 Me无情 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 锁等待的对应关系 select * from information_schema.innodb_lock_waits; 当前出现的锁 select * from information_schema.innodb_locks; 当前运行的所有事务 select * from information 阅读全文
posted @ 2024-01-23 16:03 Me无情 阅读(2) 评论(0) 推荐(0) 编辑
摘要: k.attachment();为什么就有值了 a56爆大奖在线娱乐们自己写的nioserversocketchannle 就是null 为啥 ??? bind() > ChannelFuture regFuture = config().group().register(channel) >io.netty.chan 阅读全文
posted @ 2024-01-12 14:47 Me无情 阅读(2) 评论(0) 推荐(0) 编辑
摘要: export REDIS_HOME=/usr/local/Cellar/redis/6.2.5 export PATH=$PATH:$REDIS_HOME/bin 阅读全文
posted @ 2021-09-15 10:46 Me无情 阅读(29) 评论(0) 推荐(0) 编辑
摘要: @Component classA{ @Autowire private ClassB classB; } @Component classB{ @Autowire private ClassA classA; } 代码执行流程 首先进入org.springframework.beans.facto 阅读全文
posted @ 2021-05-13 20:52 Me无情 阅读(252) 评论(0) 推荐(0) 编辑
摘要: public class Console { public static void main(String[] args) { Config config = new Config(); config.setLockWatchdogTimeout(10000); config.useSingleSe 阅读全文
posted @ 2020-12-28 14:17 Me无情 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 综合来说,提升写入速度可以从以下几个方面入手: 1、加大 translog flush ,目的是降低 iops,writeblock 2、加大 index refresh间隔, 目的除了降低 io, 更重要的降低了 segment merge 频率 3、调整 bulk 线程池和队列 4、优化磁盘间的 阅读全文
posted @ 2020-09-26 10:19 Me无情 阅读(208) 评论(0) 推荐(0) 编辑
摘要: package spring; import org.redisson.Redisson; import org.redisson.api.RScript; import org.redisson.api.RedissonClient; import org.redisson.config.Conf 阅读全文
posted @ 2020-09-03 15:13 Me无情 阅读(1594) 评论(0) 推荐(0) 编辑