下载 http://www.canonware.com/jemalloc/download.html 下载 wget http://www.canonware.com/download/jemalloc/jemalloc-3.5.0.tar.bz2 tar jxvf jemalloc-3.5.0.tar.bz2 cd jemalloc ./configure && make && make install echo '/usr/local/lib' > /etc/ld
redis官网 https://redis.io/download 安装 $ wget http://download.redis.io/releases/redis-5.0.4.tar.gz $ tar xzf redis-5.0.4.tar.gz $ cd redis-5.0.4 $ make 启动 src/redis-server make时候可能报错 xx command not found CentOS7默认没有安装gcc,这会导致我们无法make成功.使用yum安装: yum -y
配置了 sudo vim /etc/security/limits.conf * soft nofile * hard nofile 单独起进程没问题, 放到supervisor下监管启动,则报错 max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 原因: 应该是supervisor监管的进程配置来自于supervisor所在环境配置, supervi
jemalloc在linux上从安装到使用 上次在引导大家安装Redis时提到可能会报错: 发现了redis有用到jemalloc. 首先,jemalloc是干什么的? 我们看看作者自己的介绍: jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support 意思是说jemalloc干了malloc干的活