Solaris Nginx Performance Tuning
This is kind of old by now, but might still work.
This is a huge performance win for Solaris. Nginx can avoid the 0(n) file descriptor problem with event ports support.
Note: On solaris 12 this might not be an issue
To enable event ports add this to your nginx.conf
events { use eventport; }
Below is an example performance tuning configuration.
worker_processes 8; worker_rlimit_nofile 10240; events { worker_connections 8024; use eventport; } http { keepalive_timeout 20; server_names_hash_bucket_size 64; sendfile on; tcp_nopush on; client_max_body_size 150m; gzip on; gzip_comp_level 5; gzip_vary on; gzip_proxied any; gzip_types text text/plain text/css text/xml application/xml text/javascript text/html application/x-javascript; }
Additional Performance tuning references
https://www.linode.com/docs/websites/nginx/configure-nginx-for-optimized-performance