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
• 7,340 points
1,205 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,980 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 17, 2018 in DevOps Tools by shubham
• 7,340 points
773 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,890 points
28,328 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
7,162 views
+1 vote
1 answer
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 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,980 points
647 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP