默认情况下,innodb的参数设置的非常小,在生产环境中远远不够用 比如最重要的两个参数 innodb_buffer_pool_size 默认是8M innodb_flush_logs_at_trx_commit 默认设置的是1 也就是同步刷新log(可以这么理解) inn...
分类:
数据库 时间:
2014-07-21 10:37:36
阅读次数:
343
安装说明系统环境:Centos-5.5安装软件:mongodb-linux-x86_64-2.6.3.tgz下载地址:http://www.mongodb.org/downloads安装机器:192.168.3.206上传位置:/root/soft软件安装位置:/usr/local/mongodb数据存放位置:/data/mongodb/日志存放位置:/data/logs/mongodb/安装groupad..
分类:
数据库 时间:
2014-07-20 06:43:37
阅读次数:
254
How to Housekeep logs without restarting process1) Go to the log folder2) run the command:mv access_log access_log.oldkill -1 `cat httpd.pid`
分类:
其他好文 时间:
2014-07-19 20:10:20
阅读次数:
244
1、启动journalnode时存在警告信息,sbin/hadoop-daemon.shstopjournalnodestartingjournalnode,loggingto/app/hadoop-2.2.0/logs/hadoop-root-journalnode-qasdba.outJavaHotSpot(TM)64-BitServerVMwarning:Youhaveloadedlibrary/app/hadoop-2.2.0/lib/native/libhadoop.sowhi..
分类:
其他好文 时间:
2014-07-19 02:31:55
阅读次数:
275
All relative paths in this config are relative to php's install prefix
Pid file
/usr/local/php/logs/php-fpm.pid
Error log file
/usr/local/php/logs/php-fpm.log
Log level
notice
Whe...
分类:
Web程序 时间:
2014-07-13 16:26:05
阅读次数:
248
在成功编译nginx的mips平台后,将其make install生成的文件打包放在rt5350的文件系统。
其中需要注意的是,在放入文件系统需要和编译安装的目录保持一致:如编译的时候有release的目录,所以在文件系统也需要相应的目录
release,并将conf ,html,logs文件拷贝,nginx放在sbin目录下。
另外在编译的时候指定了user及group如果文件系统尚未...
分类:
其他好文 时间:
2014-07-08 19:35:05
阅读次数:
373
代码块的重定向是指在代码块内将标准输入或标准输出重定向到文件,而在代码块外还是保留默认状态,换句话说,代码块重定向指对标准输入或者标准输出的重定向只在代码块内有效。可以重定向的代码块是while、until、for,也可以是if/then,甚至是函数。
while重定向
#!/bin/bash
ls /etc> logs
while [ "$filename" != "rc.d" ...
分类:
系统相关 时间:
2014-07-08 18:42:10
阅读次数:
278
1#!/bin/bash2set-x3dir=/export/servers/nginx45stop()6{7#pkill-f$dir/perl-fcgi.pl8kill$(cat$dir/logs/perl-fcgi.pid)9rm$dir/logs/perl-fcgi.pid2>/dev/nul...
分类:
移动开发 时间:
2014-07-07 10:00:30
阅读次数:
252
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:
数据库 时间:
2014-07-06 16:43:00
阅读次数:
284
user www www;worker_processes 2;error_log /usr/local/nginx/logs/nginx_error.log crit;pid /usr/local/nginx/logs/nginx.pid;#Specifies the valu...
分类:
其他好文 时间:
2014-07-05 20:48:19
阅读次数:
245