Gateway Time out property in APIGEE server

Not applicable

I have one api .I am doing load testing on this api ,which is a process that takes huge load ending in 15 minutes.

So please tell me how and where do i increase the timeout settings(~10-15 mins) for the router/message processor or any other components before jumping into any performance testing

PLease mention the file paths as well and the properties that i need to change.

@arghya das

@Anil Sagar Could you please suggest .We are on 4.16.01 version of apigee.

Regards

Arpit

1 2 1,303
2 REPLIES 2

@Arpit Sharma,

I suspect your backend is probably taking very long time (10-15 mins) to respond. If yes, then I would suggest you to look at your backend to see if you can optimize so that it doesn't take such a long time to respond.

As requested by you, here are the steps to increase the timeout value for Router and Message Processors on 4.16.01:

1. On the router machine, create the below file (if it doesn't exist already)

/<inst_root>/apigee/customer/application/router.properties
  • Add the below property in the above file with appropriate time in seconds
conf_load_balancing_load.balancing.driver.proxy.read.timeout=<time in seconds>

For ex: If you want to set the timeout value for 300 seconds (5 mins), then it will be

conf_load_balancing_load.balancing.driver.proxy.read.timeout=300

2. On the message processor machine, create the below file (if it doesn't exist already)

/<inst_root>/apigee/customer/application/message-processor.properties
  • Add the below property in the above file with appropriate time in milliseconds
conf_http_HTTPTransport.io.timeout.millis=<time in milliseconds>

For ex: If you want to set the timeout value for 300 seconds (5 mins), then you can do it as follows:

conf_http_HTTPTransport.io.timeout.millis=300000


3. Stop and start the router and message processor

/opt/apigee/apigee-service/bin/apigee-service edge-router restart 
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart 
The configs should get updated.

Regards,

Amar

ccovney
Participant V
@AMAR DEVEGOWDA

This worked! Thanks so much!

Best,

Chris