youzan / ngx_http_ipip_module Goto Github PK
View Code? Open in Web Editor NEWnginx http module for ipip.net
License: Other
nginx http module for ipip.net
License: Other
ipip官方通知,2019年1月1日不再更新datx格式库,新的库使用ipdb格式,麻烦大佬支持下
你好,
试了一下这个模块运行一段时间就把内存占尽了,而且nginx起来就占用接近2G的内存,有啥解决办法吗?
1170 nobody 20 0 331568 278492 1144 S 0.0 7.2 0:00.25 nginx: worker process
1173 nobody 20 0 331280 278220 1144 S 0.0 7.2 0:00.22 nginx: worker process
1169 nobody 20 0 331016 277972 1144 S 0.0 7.2 0:00.18 nginx: worker process
1176 nobody 20 0 330828 277720 1144 S 0.0 7.2 0:00.14 nginx: worker process
1174 nobody 20 0 330620 277708 1140 S 0.0 7.2 0:00.12 nginx: worker process
1171 nobody 20 0 330472 277444 868 S 0.0 7.1 0:00.11 nginx: worker process
1172 nobody 20 0 330472 277436 868 S 0.0 7.1 0:00.11 nginx: worker process
1175 nobody 20 0 330472 277436 868 S 0.0 7.1 0:00.11 nginx: worker process
首先,非常感谢提供这个模块,不过我在使用过程中发现了比较严重的问题。
我是作为一个接口提供给公司内部服务访问,处理速度也是非常快的,今天发现nginx单个子进程占用内存居然达到了650MB(真没开玩笑),凌晨5点更新完ipip库后reload的,6个小时,处理总请求数500W次,平均QPS 230,怀疑是不是存在内存泄露问题,请帮忙看下
环境:
系统:CentOS6.3
openresty/1.11.2.2
编译参数: --prefix=/usr/local/openresty/ --add-module=ngx_http_ipip_module
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.