You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions on the README and got my app working fine. However, I wanted to limit the max simultaneous requests that can be processed and cannot figure out how to make it work. I have tried setting passenger_max_instances and passenger_max_pool_size in the nginx conf file but the app still handles more than 2 requests at a time.
I followed the instructions on the README and got my app working fine. However, I wanted to limit the max simultaneous requests that can be processed and cannot figure out how to make it work. I have tried setting
passenger_max_instances
andpassenger_max_pool_size
in the nginx conf file but the app still handles more than 2 requests at a time.webapp.conf:
I am using this to simulate simultaneous requests:
ab -c 10 -n 10 http://localhost:3001/
And I got this code on the RoR app:
By looking at the logs, I see that all 10 requests start before any of them having finished.
I wonder if I am using the wrong config.
The text was updated successfully, but these errors were encountered: