美文网首页
Nginx jmelloc

Nginx jmelloc

作者: zhicheng_li | 来源:发表于2017-03-28 11:32 被阅读0次

    安装:
    wget http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2
    tar -xvf jemalloc-3.6.0.tar.bz2
    cd jemalloc-3.6.0
    ./configure
    make && make install
    echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf
    ldconfig
    与nginx的集成
    ./configure --prefix=/usr/local/nginx --with-http_gzip_static_module --with-http_realip_module --with-http_concat_module --with-http_lua_module --with-luajit-lib=/opt/luajit/lib/ --with-luajit-inc=/opt/luajit/include/luajit-2.1/ --with-jemalloc=/usr/local/src/jemalloc-3.6.0 --with-ld-opt=-Wl,-rpath,/opt/luajit/lib --user=nginx --group=nginx
    //jemalloc 4.x和tengine不兼容

    相关文章

      网友评论

          本文标题:Nginx jmelloc

          本文链接:https://www.haomeiwen.com/subject/uvdznttx.html