0

I am using ruby on rails with phusion passenger with apache and I am getting below error. Sometime my server is hangged and ssh login not working. I have to reboot instance then it will work.

[Client 2-10588] Returning HTTP 503 due to: Request queue full (configured max. size: 100)
Pablo Salcedo T.
  • 874
  • 1
  • 16
  • 27
Jigar Bhatt
  • 4,217
  • 2
  • 34
  • 42

1 Answers1

2

Increase the max request queue size:

passenger_max_request_queue_size 200;

https://www.phusionpassenger.com/library/config/nginx/reference/#passenger_max_request_queue_size

Guillaume Bihet
  • 625
  • 1
  • 9
  • 17
  • 1
    Please tell me file name where i should put this kine. – Jigar Bhatt May 11 '19 at 08:06
  • 1
    I'm not familiar with Apache but should be in your passenger configuration: https://www.phusionpassenger.com/library/config/apache/, probably in your Passengerfile.json (https://www.phusionpassenger.com/library/config/standalone/intro.html), as per the Apache/Passenger intro doc: https://www.phusionpassenger.com/library/config/apache/intro.html . Hope this helps! – Guillaume Bihet May 11 '19 at 13:49
  • where i will make this changes. I have nginx and passenger on my machine – KCS Aug 21 '22 at 08:51
  • PassengerMaxRequestQueueSize this what should go in the apache configuration file – Shuaib Zahda Oct 30 '22 at 07:25