You should look at ulimit. Here's mine:
Chapterhouse:Projects bketelsen$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited
I'm on a mac - which defaults to 256 open files max. If I don't change that, I can't do any useful benchmarks. Search for how to change this open file limitation on your operating system. Nginx is probably caching/reusing it's file handles. I'd go read the source code, but it's in very confusing C and I'm allergic.
Brian
I had Go webserver as the web-frontend and I am currently proxing my
backend via Go.
Nothing to complain yet.
--
André Moraes
http://andredevchannel.blogspot.com/