Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:00:38+00:00 2026-06-13T23:00:38+00:00

I am referring to this post. Tuning nginx worker_process to obtain 100k hits per

  • 0

I am referring to this post.

Tuning nginx worker_process to obtain 100k hits per min

I have 3 8 core servers for a total of 24 cores. Currently doing 6K qps. In my nginx config I have one worker per core. For uWSGI I am using the gevent loop and I have one process per core. I set nice for nginx to -2 and nice for uWSGI to -1.

So..what is the better explanation for setting the number of workers to two times the number of cpu’s? I was always with the school of thought of one proccess per core. I would love to increase if it will help. Maybee number of cores plus half? i.e 12? I would love to get more juice out of my machines. Latency is very critical. I am a 100ms deadline to respond to a post. So far working great. Think time is 5ms but still….how can i better tune…

user www-data;
worker_processes 8;  
worker_priority -2;
worker_rlimit_nofile 200000;
events {
     worker_connections  30000;
     multi_accept on;
     use epoll;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:00:39+00:00Added an answer on June 13, 2026 at 11:00 pm

    The official documentation recommends one worker per core (in common case):
    http://nginx.org/r/worker_processes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Referring to this post I have zipped and unzipped folders successfully - TrueZip -
Referring back to this SO post If there is a Grouping category Category which,
referring to yesterday's post, this woke me up this morning. Why does this actually
I'm referring to a problem similar to the one in this post , because
Currently i am referring to this post and am able to create a 2*2
(Referring to this post: How to throw an exception from an enum constructor? )
Referring to this post and this one . I'm trying to implement tag search
The post I am referring to is this. Not only does the first one
When referring to this post here: http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/ it tells you to run php -q
Referring to Ayende's post here: http://ayende.com/blog/3941/nhibernate-mapping-inheritance I have a similar situation that can be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.