wxin 发表于 2018-11-6 08:15:57

【Python之旅】第七篇(二):Redis使用基础

xpleaf@xpleaf-machine:/mnt/hgfs/Python/day7/redis-2.8.9/src$ ./redis-server  
16 Oct 00:06:52.964 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf
  
16 Oct 00:06:52.967 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
  
16 Oct 00:06:52.968 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted.
  
16 Oct 00:06:52.968 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
  
                _._
  
         _.-``__ ''-._
  
      _.-``    `.`_.''-._         Redis 2.8.9 (00000000/0) 64 bit
  
.-`` .-```.```\/    _.,_ ''-._
  
(    '      ,       .-`| `,    )   Running in stand alone mode
  
|`-._`-...-` __...-.``-._|'` _.-'|   Port: 6379
  
|    `-._   `._    /   _.-'    |   PID: 12681
  
`-._    `-._`-./_.-'    _.-'
  
|`-._`-._    `-.__.-'    _.-'_.-'|
  
|    `-._`-._      _.-'_.-'    |         http://redis.io
  
`-._    `-._`-.__.-'_.-'    _.-'
  
|`-._`-._    `-.__.-'    _.-'_.-'|
  
|    `-._`-._      _.-'_.-'    |
  
`-._    `-._`-.__.-'_.-'    _.-'
  
      `-._    `-.__.-'    _.-'
  
          `-._      _.-'
  
            `-.__.-'
  

  
16 Oct 00:06:52.974 # Server started, Redis version 2.8.9
  
16 Oct 00:06:52.974 # 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.
  
16 Oct 00:06:52.976 * DB loaded from disk: 0.002 seconds
  
16 Oct 00:06:52.977 * The server is now ready to accept connections on port 6379


页: [1]
查看完整版本: 【Python之旅】第七篇(二):Redis使用基础