Hi everyone,  

I’m trying to optimize mail-proxy. 
My performance test is 1 client sends many request to 1 nginx server.

This is my current settings:

worker_processes auto;
worker_rlimit_nofile  100000;

#error_log  /var/log/nginx/error.log debug;
#error_log  /var/log/nginx/error.log warn;
error_log /var/log/nginx/error.log crit;
events {
  worker_connections 1024;
  #worker_connections 4000;
  #multi_accept on;
  #use epoll;

mail {
  auth_http localhost:80/auth/smtp;
  proxy_pass_error_message on;
  proxy on;
  smtp_auth login plain;
  xclient   on;
  server {
      listen    25;
      protocol  smtp;
  server {
      listen    465;
      protocol  smtp;
      ssl       on;
      ssl_certificate      /etc/nginx/ssl/server.crt;
      ssl_certificate_key  /etc/nginx/ssl/server.key;

      ssl_session_cache shared:SSL:20m;
      ssl_session_timeout 180m;

      #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
      #ssl_prefer_server_ciphers on;
      #ssl_dhparam /etc/nginx/cert/dhparam.pem;
      #ssl_stapling on;
      #ssl_stapling_verify on;
      #ssl_trusted_certificate /etc/nginx/cert/trustchain.crt;

Low cpu usage, but the performance result is not good.
Do yoy know how to take full advantage of nginx?

Thank you for your time. 
Azusa Taroura

Posted at Nginx Forum: 

nginx mailing list

Reply via email to