锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲人成色77777在线观看,久久精品国产亚洲AV麻豆王友容,亚洲欧洲无码AV电影在线观看 http://www.tkk7.com/liuyf8688/category/53878.htmlzh-cnTue, 10 Sep 2013 12:30:11 GMTTue, 10 Sep 2013 12:30:11 GMT60Redis閰嶇疆鏂囦歡redis.confhttp://www.tkk7.com/liuyf8688/articles/403818.html椋庢矙椋庢矙Sun, 08 Sep 2013 07:23:00 GMThttp://www.tkk7.com/liuyf8688/articles/403818.htmlhttp://www.tkk7.com/liuyf8688/comments/403818.htmlhttp://www.tkk7.com/liuyf8688/articles/403818.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/403818.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/403818.html  1 # Redis configuration file example  2 ...  闃呰鍏ㄦ枃

椋庢矙 2013-09-08 15:23 鍙戣〃璇勮
]]>
Failed opening .rdb for saving: Permission deniedhttp://www.tkk7.com/liuyf8688/articles/403801.html椋庢矙椋庢矙Sat, 07 Sep 2013 16:38:00 GMThttp://www.tkk7.com/liuyf8688/articles/403801.htmlhttp://www.tkk7.com/liuyf8688/comments/403801.htmlhttp://www.tkk7.com/liuyf8688/articles/403801.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/403801.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/403801.html
1 [2963] 07 Sep 09:15:07.053 * 10 changes in 300 seconds. Saving
2 [2963] 07 Sep 09:15:07.055 * Background saving started by pid 3143
3 [3143] 07 Sep 09:15:07.058 # Failed opening .rdb for saving: Permission denied
4 [2963] 07 Sep 09:15:07.156 # Background saving error

鏍規(guī)嵁鎻愮ず錛屽彲浠ョ湅鍑烘槸鏉冮檺闂銆?br />榪涘叆redis.conf閰嶇疆鏂囦歡銆?br />鎼滅儲(chǔ)dir錛屾壘鍒板涓嬪唴瀹癸細(xì)

 1 # The working directory.
 2 #
 3 # The DB will be written inside this directory, with the filename specified
 4 # above using the 'dbfilename' configuration directive.
 5 # 
 6 # The Append Only File will also be created inside this directory.
 7 # 
 8 # Note that you must specify a directory here, not a file name.
 9 dir ./

濡傛灉鏄?/琛ㄧず錛氳繍琛宺eides鍛戒護(hù)鐨勭洰褰?渚嬪錛?redis_home涓紝鎵ц./bin/redis-server etc/redis.conf鍛戒護(hù)錛?/鍒欎唬琛ㄧ殑鏄?redis_home)銆?br />
鏌ョ湅褰撳墠鐢ㄦ埛瀵筪ir鎵閰嶇疆鐨勮礬寰勬槸鍚︽湁鍐欐潈闄愩?br />
璋冩暣鏉冮檺鍚庯紝搴旇鑳界湅鍒板涓嬩俊鎭細(xì)

1 [3223] 07 Sep 09:29:57.007 * 10 changes in 300 seconds. Saving
2 [3223] 07 Sep 09:29:57.008 * Background saving started by pid 3270
3 [3270] 07 Sep 09:29:57.028 * DB saved on disk
4 [3270] 07 Sep 09:29:57.029 * RDB: 6 MB of memory used by copy-on-write
5 [3223] 07 Sep 09:29:57.112 * Background saving terminated with success

琛ㄧず鎴愬姛鍐欏叆紓佺洏鏂囦歡錛屽嵆璇ラ棶棰樿В鍐熾?br />鐜板湪鏌ョ湅dir鎵閰嶇疆鐨勭洰褰曚笅搴旇鏈塪ump.rdb鏂囦歡銆?img src ="http://www.tkk7.com/liuyf8688/aggbug/403801.html" width = "1" height = "1" />

椋庢矙 2013-09-08 00:38 鍙戣〃璇勮
]]>
WARNING overcommit_memory is set to 0! http://www.tkk7.com/liuyf8688/articles/403797.html椋庢矙椋庢矙Sat, 07 Sep 2013 15:31:00 GMThttp://www.tkk7.com/liuyf8688/articles/403797.htmlhttp://www.tkk7.com/liuyf8688/comments/403797.htmlhttp://www.tkk7.com/liuyf8688/articles/403797.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/403797.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/403797.html
1 [29446] 07 Sep 08:14:14.162 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

欏轟究鎻愪竴涓嬶細(xì)overcommit_memory鐨勪綔鐢ㄣ?br />
overcommit_memory:
 
This value contains a flag that enables memory overcommitment.
 
When this flag is 0, the kernel attempts to estimate the amount
of free memory left when userspace requests more memory.
 
When this flag is 1, the kernel pretends there is always enough
memory until it actually runs out.
 
When this flag is 2, the kernel uses a "never overcommit"
policy that attempts to prevent any overcommit of memory.
 
This feature can be very useful because there are a lot of
programs that malloc() huge amounts of memory "just-in-case"
and don't use much of it.

The default value is 0. (寰堝鏄撹仈鎯沖埌涓婇潰鐨勶細(xì)WARNING overcommit_memory is set to 0!)
 
See Documentation/vm/overcommit-accounting and
security/commoncap.c::cap_vm_enough_memory() for more information.
==============================================================
overcommit_ratio:
When overcommit_memory is set to 2, the committed address
space is not permitted to exceed swap plus this percentage
of physical RAM.  See above.

鏄庣櫧浜?jiǎn)鍘熷洜锛岄偅灏辨犚?guī)嵁鎻愮ず榪涜淇敼鍚э紒

鏂規(guī)硶1錛氬彧褰卞搷鏈
1.楠岃瘉緋葷粺涓璷vercommit_memory鐨勫鹼紝鎵ц濡備笅鍛戒護(hù)
sysctl -n vm.overcommit_memory

2.璁劇疆overcommit_memory鐨勫間負(fù)1
sysctl -w vm.overcommit_memory=1

3.楠岃瘉緋葷粺涓璷vercommit_memory鐨勫兼槸鍚﹁鏀規(guī)垚浜?
sysctl -n vm.overcommit_memory

鏂規(guī)硶2:(闇閲嶅惎)
1.灝唙m.overcommit_memory = 1娣誨姞鍒?etc/sysctl.conf涓?br />2.閲嶅惎鐢?shù)鑴?br />


閲嶆柊榪愯redis錛岄獙璇佽鍛婃槸鍚︽秷澶?/div>

椋庢矙 2013-09-07 23:31 鍙戣〃璇勮
]]>Redis瀹夎http://www.tkk7.com/liuyf8688/articles/403792.html椋庢矙椋庢矙Sat, 07 Sep 2013 12:15:00 GMThttp://www.tkk7.com/liuyf8688/articles/403792.htmlhttp://www.tkk7.com/liuyf8688/comments/403792.htmlhttp://www.tkk7.com/liuyf8688/articles/403792.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/403792.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/403792.html
Where to find complete Redis documentation?
-------------------------------------------
This README is just a fast "quick start" document. You can find more detailed
documentation at http://redis.io
Building Redis
--------------
Redis can be compiled and used on Linux, OSX, OpenBSD, NetBSD, FreeBSD.
We support big endian and little endian architectures.
It may compile on Solaris derived systems (for instance SmartOS) but our
support for this platform is "best effort" and Redis is not guaranteed to
work as well as in Linux, OSX, and *BSD there.
It is as simple as:
    % make
You can run a 32 bit Redis binary using:
    % make 32bit
After building Redis is a good idea to test it, using:
    % make test
Fixing problems building 32 bit binaries
---------
If after building Redis with a 32 bit target you need to rebuild it
with a 64 bit target, or the other way around, you need to perform a
"make distclean" in the root directory of the Redis distribution.
In case of build errors when trying to build a 32 bit binary of Redis, try
the following steps:
* Install the packages libc6-dev-i386 (also try g++-multilib).
* Try using the following command line instead of "make 32bit":
    make CFLAGS="-m32 -march=native" LDFLAGS="-m32"
Allocator
---------
Selecting a non-default memory allocator when building Redis is done by setting
the `MALLOC` environment variable. Redis is compiled and linked against libc
malloc by default, with the exception of jemalloc being the default on Linux
systems. This default was picked because jemalloc has proven to have fewer
fragmentation problems than libc malloc.
To force compiling against libc malloc, use:
    % make MALLOC=libc
To compile against jemalloc on Mac OS X systems, use:
    % make MALLOC=jemalloc
Verbose build
-------------
Redis will build with a user friendly colorized output by default.
If you want to see a more verbose output use the following:
    % make V=1
Running Redis
-------------
To run Redis with the default configuration just type:
    % cd src
    % ./redis-server
    
If you want to provide your redis.conf, you have to run it using an additional
parameter (the path of the configuration file):
    % cd src
    % ./redis-server /path/to/redis.conf
It is possible to alter the Redis configuration passing parameters directly
as options using the command line. Examples:
    % ./redis-server --port 9999 --slaveof 127.0.0.1 6379
    % ./redis-server /etc/redis/6379.conf --loglevel debug
All the options in redis.conf are also supported as options using the command
line, with exactly the same name.
Playing with Redis
------------------
You can use redis-cli to play with Redis. Start a redis-server instance,
then in another terminal try the following:
    % cd src
    % ./redis-cli
    redis> ping
    PONG
    redis> set foo bar
    OK
    redis> get foo
    "bar"
    redis> incr mycounter
    (integer) 1
    redis> incr mycounter
    (integer) 2
    redis> 
You can find the list of all the available commands here:
    http://redis.io/commands
Installing Redis
-----------------
In order to install Redis binaries into /usr/local/bin just use:
    % make install
You can use "make PREFIX=/some/other/directory install" if you wish to use a
different destination.
Make install will just install binaries in your system, but will not configure
init scripts and configuration files in the appropriate place. This is not
needed if you want just to play a bit with Redis, but if you are installing
it the proper way for a production system, we have a script doing this
for Ubuntu and Debian systems:
    % cd utils
    % ./install_server
The script will ask you a few questions and will setup everything you need
to run Redis properly as a background daemon that will start again on
system reboots.
You'll be able to stop and start Redis using the script named
/etc/init.d/redis_<portnumber>, for instance /etc/init.d/redis_6379.
Code contributions
---
Note: by contributing code to the Redis project in any form, including sending
a pull request via Github, a code fragment or patch via private email or
public discussion groups, you agree to release your code under the terms
of the BSD license that you can find in the COPYING file included in the Redis
source distribution.
Please see the CONTRIBUTING file in this source distribution for more
information.
Enjoy!


椋庢矙 2013-09-07 20:15 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 中文字幕亚洲一区二区va在线| 中字幕视频在线永久在线观看免费 | 产传媒61国产免费| 国产小视频在线观看免费| 亚洲熟妇无码八V在线播放| 我要看WWW免费看插插视频| 亚洲一区二区三区乱码在线欧洲| 国产h视频在线观看网站免费| 亚洲明星合成图综合区在线| 美女视频黄是免费的网址| 亚洲国产成AV人天堂无码| 午夜国产精品免费观看| 亚洲中文字幕无码中文字| 性感美女视频在线观看免费精品 | 国产又黄又爽又猛的免费视频播放 | 亚洲综合色区在线观看| 国产高清对白在线观看免费91| 亚洲伊人久久精品影院| 一级毛片免费视频| 亚洲综合久久精品无码色欲| 岛国大片免费在线观看| 一级毛片a免费播放王色电影| 亚洲熟妇无码AV在线播放| 91久久青青草原线免费| 久久精品国产亚洲AV忘忧草18| 最好免费观看韩国+日本| 国产精品亚洲а∨无码播放麻豆| 国产精品亚洲αv天堂无码| 无码精品国产一区二区三区免费 | 粉色视频成年免费人15次| 最新精品亚洲成a人在线观看| 亚欧免费一级毛片| 亚洲国产成人综合精品| 情人伊人久久综合亚洲| 免费在线看v网址| www永久免费视频| 亚洲人成网站在线观看播放动漫| 免费欧洲美女牲交视频| 99久热只有精品视频免费看| 亚洲AV永久无码精品网站在线观看 | 国产亚洲老熟女视频|