Hi
I have created around 7 orgs with each having around 400 APIs.
Now when I have restarted Gateway, the message processor doesn't start and it fails with below error
java.lang.OutOfMemoryError: GC overhead limit exceeded
Also attaching the MP logs
How we can increase the memory to overcome this error ?
Please let us know the file and the location.
Its urgent, any help would be highly appreciated
Thanks
Gaurav
Hi there!
Looks like the message-processor is running out of memory. Can you please modify the min and max values for heap and permgen on Message-processor and Router?
Below is the procedure to change the values. Make sure you assign them the enough memory to accumulate 400 api proxies
On Message-Processors:
File: /opt/apigee/customer/application/message-processor.properties
#Heap memory
bin_setenv_min_mem=1024m
bin_setenv_max_mem=40966m
#Permgen
bin_setenv_max_permsize=512m
On Routers:
File: /opt/apigee/customer/application/router.properties
#Heap memory
bin_setenv_min_mem=1024m
bin_setenv_max_mem=2816m
#Permgen
bin_setenv_max_permsize=512m
Thanks,
Archnedra
Hi @archendra
I am able to increase the router memory and it has updated the setenv.sh file.
But when I have put messageprocessor.properties file and tried to restart mp, it says it's already running. It didn't stop and restarted which was the case with router and then didn't update the setenv.sh file of message-processor.properties.
Please advice
Thanks
Gaurav
Hi @archendra
How we can increase the below values.
Required to avoid Gateway timeout error when API at backend takes more than 10 mins for response
HTTPTransport.io.timeout.millis property under /opt/apigee/edge-message-processor-4.16.01-0.0.557/conf/http.properties file of edge-message-processor
ServerContainer.io.timeout.millis property under /opt/apigee/edge-router-4.16.01-0.0.557/conf/router.properties file of edge-router
Also are these properties updation will resolve Gateway timeout error ?
Thanks
I tried increasing the above values but it is still giving Gateway Timeout error.
Hi @GAURAV
Are you discussing two issues here?
1)java.lang.OutOfMemoryError: GC overhead limit exceeded
2)Gateway timeout error
Are they connected with each other in your issue?
Hi @RK4
The issue which we are currently facing is detailed below
https://community.apigee.com/questions/28500/javaioioexception-broken-pipe-issue-when-target-se.html
Urgent help would be highly appreciated.
Thanks