increasing open files limit

2014-03-16 Thread bignginxfan
I am trying to increase the limit on open files for nginx. I've set cat /proc/sys/fs/file-max to 100, set worker_rlimit_nofile to 8388608 but I still keep getting errors like: setrlimit(RLIMIT_NOFILE, 8388608) failed (1: Operation not permitted) accept4() failed (24: Too many open files) How

geoip filtering not working

2013-07-12 Thread bignginxfan
Hello, I'm trying to figure out why Nginx's geoip modules doesn't seem to filter out certain ip's from a banned country. I manually tested the GeoIP.dat using 'geoiplookup' against a few ips that successfully connected but were in a banned country. GeoIP.dat was fine, it wasn't the problem. Maybe