• 首页
  • 归档

0x1 nginx官方其实已经带了升级的办法,会根据 ./configure 在 Makefile 文件中显示出来,如下: default: build clean: rm -rf Makefile objs .PHONY: default clean build: $(MAKE) -f objs/Makefile install: $(MAKE) -f objs/Makefile install modules: $(MAKE) -f objs/Makefile modules...

nginx平滑升级

  • 2023-08-24
  • 0

0x1 # luajit下载 https://github.com/openresty/luajit2 # lua nginx下载 https://github.com/openresty/lua-nginx-module # ngx_devel_kit 下载 0x2 make && make install PREFIX=/usr/local/luajit-2.1 && ln -s /usr/local/luajit-2.1 /usr/local/luajit # tell nginx's build system ...

nginx lua的安装

  • 2022-06-28
  • 0

0x1 虽然nginx的性能很高,但是在互联网高并发的场景下长期运行,仍然需要尽可能提升其性能/保持稳定,那么修改默认内存分配器glibc为jemalloc是一个不错的选择 0x2 nginx的默认内存分配器,通过以下命令做了简单的判断: lsof | grep nginx # 无malloc相关的内容 strings ./nginx # 有malloc关键字,但是无明显j...

nginx更换默认内存分配器为jemalloc

  • 2022-06-15
  • 0
© 2023
Theme by Wing
  • {{ item.name }}
  • {{ item.name }}