blekhmanlab / rxivist

API providing access to papers and authors scraped from biorxiv.org
https://rxivist.org
GNU Affero General Public License v3.0
59 stars 11 forks source link

***Nginx can't handle lots of connections to origin #210

Closed rabdill closed 5 years ago

rabdill commented 5 years ago
nginx.1    | 2018/10/19 16:05:32 [alert] 42#42: *2602 socket() failed (24: Too many open files) while connecting to upstream, client: 54.87.141.190, server: origin.rxivist.org, request: "GET / HTTP/1.1", upstream: "http://172.19.0.5:80/", host: "origin.rxivist.org"
nginx.1    | origin.rxivist.org 54.87.141.190 - - [19/Oct/2018:16:05:32 +0000] "GET / HTTP/1.1" 500 193 "-" "loader.io;d947546b8d2817a9163c339aaa202026"
nginx.1    | 2018/10/19 16:05:32 [crit] 42#42: accept4() failed (24: Too many open files)
nginx.1    | 2018/10/19 16:05:32 [alert] 42#42: *2603 socket() failed (24: Too many open files) while connecting to upstream, client: 35.173.132.50, server: origin.rxivist.org, request: "GET / HTTP/1.1", upstream: "http://172.19.0.5:80/", host: "origin.rxivist.org"
rabdill commented 5 years ago

Threw out Nginx