i setup nginx because the reverse proxy server before an apache + mod_wsgi + python2.7 after sales. nginx and apache have been in 2 physical machines with 24 threads cpu (Xeon E5645). basically run the "ab -c 20000 -n 40000" bench test straight to the apache server, it labored fine, actually the apache server could handle an "ab -c 20000 -n 80000" bench test. however when i place the nginx before apache (in another server as effective because the one apache resides), the bench test will fail on around 32000 demands.

this is actually the nginx config file:

worker_processes  24;
events {
    worker_connections  65536;

    server {
        listen       80;
        server_name  example.net;

        location / {
            proxy_pass  http://example.org;

internet.core.somaxconn continues to be modified to 1048576

what exactly may be the problem?