运行redis-server时出错
来源:互联网 发布:sql left join 编辑:程序博客网 时间:2024/05/16 08:56
描述:
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.
[14904] 27 Apr 23:47:51.811 * The server is now ready to accept connections on port 6379
解决:vim /etc/sysctl.conf
添加vm.overcommit_memory=1
运行sysctl -p
再次运行redis-server。
[root@localhost bin]# ./redis-server
[15378] 28 Apr 00:27:08.241 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf
[15378] 28 Apr 00:27:08.242 * Max number of open files set to 10032
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 2.6.12 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in stand alone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 15378
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
[15378] 28 Apr 00:27:08.243 # Server started, Redis version 2.6.12
[15378] 28 Apr 00:27:08.243 * The server is now ready to accept connections on port 6379
- 运行redis-server时出错
- Redis运行时出错#Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
- Windows Server 2008运行安装包时出错
- iis运行asp出错(Server Application Error)
- Zend server 运行出错的问题解决
- 启用SQL Server报错,尝试运行项目时出错:方法不存在
- linux运行java时出错
- 运行出错,
- 试图运行项目时出错:无法在 Web 服务器上启动调试。未能启动 ASP.NET 或 ATL Server 调试。
- 解决:widonws后台运行redis-server.exe问题
- redis-server运行后,控制台不能继续输入命令解决方法
- QT程序运行时出错集锦
- dorado7运行时虚拟机出错解决办法
- dorado7运行时虚拟机出错解决办法
- 程序运行时提示内存----出错
- 导入工程后运行时出错
- monkey test 运行时出错问题解决
- tomcat服务器运行Cookie时出错
- 魏兴国:深入浅出DDoS攻击防御
- 使用JS获取Repeater中指定单元格的内容(单元格无控件)
- SetAdapter之后getchildat()出错
- 隐藏在QRCode二维码背后的秘密
- 如何正确的启动一个需要传递参数的Activity。
- 运行redis-server时出错
- linux 一个简单的字符设备驱动例子
- Centos6.3 配置LAMP
- haskell(3)
- GO 语言 C/S 编程实例
- C语言简单示例(文件读写1)
- UVA 11489 Integer Game (逻辑推理)
- redis客户端连接
- JAVA程序执行顺序