keystone 在同步的时候报出以下错误: CRITICAL keystone [-] DBError: (pymysql.err.InternalError) (1071, u'Specified key was too long; max key length is 767 bytes') [ ...
分类:
数据库 时间:
2017-03-08 13:21:50
阅读次数:
1057
1、日志级别5个: 警告Warning 一般信息Info 调试 Debug 错误Error 致命Critical 2、禁用日志方法 3、将日志写入文件 4、格式化输出日志信息 注意事项: 1、日志输出的文件时,涉及写入日志文件的日志配置应该放到日志配置的首行,否则会受到前面日志配置的干扰。 ...
分类:
编程语言 时间:
2017-02-03 18:22:49
阅读次数:
230
收到一封告警邮件: Load average on xxx_server reached critical threshold values - 169.5 Current Load Avg = 169.5 是个生产环境的, 于是立马登上服务器看下状况 top - 05:01:00 up 88 da ...
分类:
数据库 时间:
2017-01-16 01:05:16
阅读次数:
248
Mutex class A mutex is a lockable object that is designed to signal when critical sections of code need exclusive access, preventing other threads wit ...
分类:
其他好文 时间:
2017-01-14 11:02:49
阅读次数:
161
logging模块是用来记录日志的,有以下5个级别 logging.info() logging.debug() logging.error()logging.warning() logging.critical() logging模块涉及4个主要的类: logger:提供应用程序可以直接使用的接口 ...
分类:
其他好文 时间:
2017-01-13 22:33:57
阅读次数:
195
Noise Model Good noise models in circuit simulators are critical to analog and RF applications. Two types of noise, thermal and flicker, are important ...
分类:
其他好文 时间:
2017-01-11 14:15:48
阅读次数:
268
Cocos2d-x加载图片资源出现libpng error: CgBI: unhandled critical chunk Xcode7.3 设置Remove Text Metadata From PNG Files = NO.就可以正常显示了 ...
分类:
移动开发 时间:
2017-01-07 08:16:25
阅读次数:
425
要求: 子线程输出的线程序号不能重复。(主线程和子线程需要同步) 全局变量g_count的输出必须递增。(子线程之间需要互斥) 1,用临界区CRITICAL_SECTION来解决子线程之间的互斥 2用事件解决主线程和子线程的同步问题 //CreateEvent创建一个事件 HANDLE Create ...
分类:
编程语言 时间:
2017-01-01 23:48:23
阅读次数:
310
多线程使用循环队列其实也不是个很难的东西,主要就是要避免两个线程同时操作队列,加个锁就可以很容易的实现,win32中用临界区就可以做到。 代码: 代码中,一个线程向队列中写数据,另一个从队列中读数据,队列的结构体有成员CRITICAL_SECTION cs ; 用来防止两个队列同时对队列进行访问。 ...
分类:
编程语言 时间:
2016-12-30 22:04:49
阅读次数:
364
Summary of Critical and Exploitable iOS Vulnerabilities in 2016 Author:Min (Spark) Zheng, Cererdlong, Eakerqiu @ Team OverSky 0x00 Introduction iOS se ...
分类:
移动开发 时间:
2016-12-29 16:56:44
阅读次数:
290