环境:centos7 效果:监控所有接口,连续失败两次,发送信息给运维人员 思路:执行check.sh—读取interface接口内容—调用http-check脚本判断接口是否成功,失败写入文件fail.txt中—est-faile-time脚本判断失败的次数,两次及以上检测都失败——调用脚本sed ...
分类:
Web程序 时间:
2021-05-24 00:58:58
阅读次数:
0
使用云服务器git clone某个项目时,遇到如下问题: fatal: Out of memory, malloc failed (tried to allocate 2000000000 bytes) 百度后找到如下解决方法: sudo mkdir -p /opt/temp sudo dd if= ...
分类:
其他好文 时间:
2021-05-24 00:26:08
阅读次数:
0
运行时出现下面的错误: C:/cb/pytorch_1000000000000/work/aten/src/ATen/native/cuda/IndexKernel.cu:142: block: [0,0,0], thread: [17,0,0] Assertion `index >= -sizes ...
分类:
其他好文 时间:
2021-05-03 12:58:43
阅读次数:
0
2021-05-01,9点51 自己写测试debug redis代码:错误:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':(.text+0x20): undefined re ...
分类:
其他好文 时间:
2021-05-03 12:30:41
阅读次数:
0
稳定复现的 coredump打开 dpdk 相关的 debug开关,重新编译mbuf debugmalloc debug mempool debug给 dpdk 源码加检查或日志,重新编译无法稳定复现的 coredump打开大页内存的 coredump案例字节序导致取地址不对,从而踩内存多线程竞争资 ...
分类:
其他好文 时间:
2021-04-30 12:15:53
阅读次数:
0
一、InitializingBean接口说明InitializingBean接口为bean提供了属性初始化后的处理方法,它只包括afterPropertiesSet方法,凡是继承该接口的类,在bean的属性初始化后都会执行该方法。 /* * Copyright 2002-2018 the origi ...
分类:
编程语言 时间:
2021-04-30 12:07:56
阅读次数:
0
我总结了下启动dhcp服务报这个错误原因,大概有三种情况: 1、默认配置文件默认为空 2、配置文件配置错误导致 3、与网卡设置有关,不能自动获取到地址,导致dhcp服务不能启动。 上面两种错误一般很少出现,只要正确配置就能成功,但第三种配置正确后也不一定会成功,今天我就遇到了这个问题,后面发现是网卡 ...
分类:
其他好文 时间:
2021-04-29 11:55:36
阅读次数:
0
You need to activate the Developer Options and USB Debugging for the purpose. Follow the below mention steps and you would be good to go: 1.Slide into ...
分类:
其他好文 时间:
2021-04-28 11:44:14
阅读次数:
0
使用debug模式不对代码加密保护,当使用用Release模式自动对编译成功项目加密保护,这样真的方便不少。 if $(ConfigurationName) == Release goto Release goto Debug:Debugxcopy /y /k "$(TargetPath)" D:\ ...
分类:
Web程序 时间:
2021-04-28 11:40:34
阅读次数:
0
在每次初始化VB前,都会去先初始化MPP系统,再去初始化VB 1 HI_MPI_SYS_Exit(); 2 HI_MPI_VB_Exit(); 但是去初始化不会清楚先前对缓存池的设置,且若有VB被占用,去初始化就会失败 1 HI_MPI_VB_SetConf failed with 0xa00180 ...
分类:
其他好文 时间:
2021-04-27 14:32:21
阅读次数:
0