log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /opt/logs/log.log (没有那个文件或目录) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.ja...
分类:
其他好文 时间:
2014-11-21 18:44:20
阅读次数:
288
log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /opt/logs/log.log (没有那个文件或目录) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.ja...
分类:
其他好文 时间:
2014-11-21 18:43:13
阅读次数:
205
log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /opt/logs/log.log (没有那个文件或目录) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.ja...
分类:
其他好文 时间:
2014-11-21 18:42:59
阅读次数:
324
log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /opt/logs/log.log (没有那个文件或目录) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.ja...
分类:
其他好文 时间:
2014-11-21 18:42:40
阅读次数:
205
log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /opt/logs/log.log (没有那个文件或目录) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.ja...
分类:
其他好文 时间:
2014-11-21 18:41:13
阅读次数:
240
以前一直用5.1版本的,由于新业务需要用5.6的,就安装并做了笔记MySQL5.6部分新特性:InnoDB现在可以限制大量表打开的时候内存占用过多的问题(第三方已有补丁)InnoDB性能加强。如分拆kernelmutex;flush操作从主线程分离;多个perge线程;大内存优化等InnoDB死锁信息可以记录到err..
分类:
数据库 时间:
2014-11-21 16:34:58
阅读次数:
194
nginx允许针对不同的server做不同的log #access_log ?logs/host.access.log ?main; 说明 该server,它的访问日志的文件是logs/host.access.log, 使用的格式“main”格式 除了main格式,你可以自定义其他格式。 ...
分类:
其他好文 时间:
2014-11-20 18:56:00
阅读次数:
803
#!/usr/bin/pythonimportreimportosimporturllibimportjsondefbuffer_line(monitor_log):buf=open("/etc/sae/apns_buffer.txt","r").read()bytes=os.popen(‘wc-c/data0/logs/%s‘%monitor_log).read().split("")[0]ifint(bytes)<int(buf):return0else:returnint(re.findall("..
分类:
编程语言 时间:
2014-11-20 15:43:01
阅读次数:
181
tar包解压mkdir -p $mongodb_dir/data/dbmkdr $mongodb_dir/logs新建配置文件#$mongodb_dir/mongod.cfg--dbpath=$mongodb_dir/data/db--logpath=$mongodb_dir/logs/mongod...
分类:
数据库 时间:
2014-11-20 01:25:53
阅读次数:
197
其实对于我们一般理解的计算机内存,它算是CPU与计算机打交道最频繁的区域,所有数据都是先经过硬盘至内存,然后由CPU再从内存中获取数据进行处理,又将数据保存到内存,通过分页或分片技术将内存中的数据再flush至硬盘。那JVM的内存结构到底是如何呢?JVM做为一个运行在操作系统上,但又独立于os运行的...
分类:
其他好文 时间:
2014-11-20 01:19:09
阅读次数:
153