无法编译 64 位 redis-server
Can't compile 64bit redis-server
我正在尝试编译 Redis 的最新稳定版 (2.8.19)。构建以及所有测试都成功了,但意外地服务器 运行s 在 32 位架构上。
日志条目:
# Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
Redis 2.8.19 (00000000/0) 32 bit
Running in stand alone mode
Port: 6582
PID: 2381
Redis-cli INFO
显示 arch_bits:32。以前的实例(版本 2.4.6)在 arch_bits64 上运行良好,但我不知道它是通过哪种方式安装的。
OS 版本信息:
root:~# uname -a
Linux localhost 2.6.32-5-amd64 #1 SMP Tue Mar 8 22:49:26 UTC 2011 x86_64 GNU/Linux
root:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.1 (squeeze)
Release: 6.0.1
Codename: squeeze
root:~# arch
x86_64
有什么方法可以解决这个问题,运行 最新的 redis 为 64 位?
UPD
尽管上面的命令输出,dpkg --print-architecture
returns i386
并且系统中的所有包都是 all
或 i386
。只有redis-server 2.4.*,打包安装,奇怪的是ia64
.
在这种情况下我能做什么?服务器是别人很久以前搭建的,我还是Unix新手
看来,我的服务器需要从 32 位架构完全迁移到 64 位架构。
当前任务通过下载已编译的 64 位 DEB 包并手动安装来解决。
我正在尝试编译 Redis 的最新稳定版 (2.8.19)。构建以及所有测试都成功了,但意外地服务器 运行s 在 32 位架构上。
日志条目:
# Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
Redis 2.8.19 (00000000/0) 32 bit
Running in stand alone mode
Port: 6582
PID: 2381
Redis-cli INFO
显示 arch_bits:32。以前的实例(版本 2.4.6)在 arch_bits64 上运行良好,但我不知道它是通过哪种方式安装的。
OS 版本信息:
root:~# uname -a
Linux localhost 2.6.32-5-amd64 #1 SMP Tue Mar 8 22:49:26 UTC 2011 x86_64 GNU/Linux
root:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.1 (squeeze)
Release: 6.0.1
Codename: squeeze
root:~# arch
x86_64
有什么方法可以解决这个问题,运行 最新的 redis 为 64 位?
UPD
尽管上面的命令输出,dpkg --print-architecture
returns i386
并且系统中的所有包都是 all
或 i386
。只有redis-server 2.4.*,打包安装,奇怪的是ia64
.
在这种情况下我能做什么?服务器是别人很久以前搭建的,我还是Unix新手
看来,我的服务器需要从 32 位架构完全迁移到 64 位架构。
当前任务通过下载已编译的 64 位 DEB 包并手动安装来解决。