How do I set maximum queue connection for nginx port in Windows?

0 votes

 I have created two servers which are listening to the port 27016 and 27015, and are returning "HelloWorld!" response. I had set listen(ListenSocket, SOMAXCONN) for both the servers when creating them in Visual studio following Winsock tutorial. Using jmeter performed load test on each of them individually (1000 request per sec) and got everything OK.

I am using nginx which is listening to port 80 and load balancing the requests (1000 req per sec) among the two servers I mentioned above, many requests are being dropped down while performing load test using jmeter.

I want to tune queue size for port 80. How to set the queue size to maximum possible value either from nginx config or cmd command?

Can anyone help me with this?

Thanks

Aug 22, 2018 in DevOps Tools by shubham
• 6,890 points
55 views

1 answer to this question.

0 votes

Since increasing queue size did not fix your problem here is what you can try. The way to increase queue size modifying backlog value can be understood with this example.

listen       server_port backlog=queue_size;

I hope it will resolve your query.

answered Aug 22, 2018 by Damon Salvatore
• 5,510 points

Related Questions In DevOps Tools

0 votes
1 answer

For Gradle & Spring Boot, how do I choose dependency with implementation?

Below is the answer to your question: Both ...READ MORE

answered Jun 16, 2018 in DevOps Tools by shubham
• 6,890 points
59 views
+1 vote
3 answers

How do I check and export sonarqube analysis reports in embedded db?

Browse to sonarqube web instance to access ...READ MORE

answered Jul 2, 2018 in DevOps Tools by DareDev
• 6,810 points
2,679 views
0 votes
1 answer

How do I run “ant update” in Hybris with only “Update Running System”?

Here is what you can try. You can ...READ MORE

answered Jul 10, 2018 in DevOps Tools by Atul
• 10,240 points
1,099 views
0 votes
1 answer

How do I find OpsWorks deploy user in a recipe ?

Here is a concept which you can ...READ MORE

answered Jul 25, 2018 in DevOps Tools by Atul
• 10,240 points
26 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
110 views
0 votes
1 answer

How do I manage code that *removes* users in chef?

No, I don't think this will prove ...READ MORE

answered Aug 6, 2018 in DevOps Tools by Damon Salvatore
• 5,510 points
23 views
0 votes
1 answer