![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
山川之水
承蒙关照,欢迎关注。
展开
-
500错误以及java.net.SocketException: Too many open files错误
多线程批量处理任务需要频繁用http请求接口,任务跑了十几天后忽然报错500 error。开始以为是因为频率太快导致错误。因为处理时间完成没要求,所以决定对每个任务进行了延时500ms处理。几天后忽然又报错Caused by: java.lang.NoClassDefFoundError: org/apache/http/impl/client/RequestWrapper看到这个错以为是因为ht...原创 2018-06-26 11:46:23 · 1047 阅读 · 0 评论 -
nginx1.8安装详细过程
1.下载组件安装 gcc安装 Nginx 的编译环境 gccyum install gcc-c++安装 pcre pcre-develnginx 的 http 模块使用 pcre 解析正则表达式,所以安装 perl 兼容的正则表达式库yum install -y pcre pcre-devel安装 zlibnginx 使用 zlib 对 http 包的内容进行 gzip...原创 2018-11-01 15:32:56 · 1584 阅读 · 0 评论