背景 操作系统是 centos 6,RabbitMQ 3.8.1. 服务器突然无法连接,重启后查看/var/log/messages,报错日志如下: epmd: erlang mapper daemon cant fork 2'nd time Cannot allocate memory epmd: ...
分类:
系统相关 时间:
2020-12-29 11:23:04
阅读次数:
0
flume的概述 Apache Flume是一个分布式,可靠且可用的系统,用于有效地从许多不同的source收集,聚合和移动大量日志数据到集中式数据存储。 Apache Flume的使用不仅限于日志数据聚合。由于数据source是可定制的,因此Flume可用于传输大量event 数据,包括但不限于网 ...
分类:
Web程序 时间:
2020-12-29 11:10:09
阅读次数:
0
improt.org.springframework.data.domain.sort包Criterialcritel=newCriterial();criterl.and("createTime").is(req.getCreateTime())Sortsort=Sort.by(sort.Diretion.DESC,mongod库对应属性)mongoTempalate.fin
分类:
数据库 时间:
2020-12-29 11:05:45
阅读次数:
0
spring boot全局捕获异常 制作人:全心全意 @ExceptionHandler:标识拦截异常 @ControllerAdvice:Controller的一个辅助类,最常用的就是作为全局异常处理的切面类 @ControllerAdvice可以指定扫描范围 @ControllerAdvice约 ...
分类:
编程语言 时间:
2020-12-29 11:02:27
阅读次数:
0
体系结构概述: @Bean 之前时候,在xml配置文件使用: <bean id="person" class="com.atguigu.bean.Person" scope="prototype" > <property name="age" value="${}"></property> <pro ...
分类:
编程语言 时间:
2020-12-28 12:01:10
阅读次数:
0
首先Spring Boot项目中都会如下启动类: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application. ...
分类:
编程语言 时间:
2020-12-28 11:58:46
阅读次数:
0
Ceph日志分析#node1日志信息[root@node1~]#ll/var/log/ceph/总用量6264-rw-------1cephceph012月2211:13ceph.audit.log-rw-------1cephceph453212月2108:34ceph.audit.log-20201221.gz-rw-------1cephceph287112月2210:01ceph.audi
分类:
其他好文 时间:
2020-12-28 11:57:21
阅读次数:
0
spring源码有很多值得学习的地方,自己搭建了一套源码框架,方便跟踪和查看。对理解底层的结构有非常大的帮助。下面开始: step1 准备环境: 官方下载spring的源码:记得切换分支,我下的是5.1.x https://github.com/spring-projects/spring-fram ...
分类:
编程语言 时间:
2020-12-28 11:50:19
阅读次数:
0
调试一般用于运行代码是出现的错误。 loadrunner调试方式:断点、单步跟踪、日志输出、值查看器等, 断点设置 断点插入的位置:非空行或非语句的起始,简单来说呢就是断点打在函数前(取消断点就直接在标识断点的位置处单击) 插入方法:1.右击>【Toggle Breakpoint】,2.F9,3.在 ...
分类:
其他好文 时间:
2020-12-28 11:49:18
阅读次数:
0
1,下载自己需要的版本 1,https://github.com/xuxueli/xxl-job 2,https://gitee.com/xuxueli0323/xxl-job/releases (墙内推荐) 3,墙内网络推荐使用第二个地址,笔者下 2.2.0 版本 2,整合到自己的项目 将下载好的 ...
分类:
其他好文 时间:
2020-12-28 11:41:00
阅读次数:
0