How to configure the percentage of memory that can be reserved for the cache?

Is there a way to configure the percentage of memory, mainly the L1 cache on the Message processor side ?

Solved Solved
0 1 164
1 ACCEPTED SOLUTION

This can be accomplished by modifying the below property in the cache.properties file.

memoryLimitPercent=35 #default

1. Create if does not exist on all message processor nodes: /opt/apigee/customer/application/message-processor.properties
2. Add following line to message-processor.properties: This is example where I am adding 40% instead of 35% default. Please change it according to your requirement.
conf_cache_memoryLimitPercent=40
3. Make sure message-processor.properties is readable and owned by apigee user.
4. Restart message processor using following command:
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart

Please execute above steps on all message processors.

View solution in original post

1 REPLY 1

This can be accomplished by modifying the below property in the cache.properties file.

memoryLimitPercent=35 #default

1. Create if does not exist on all message processor nodes: /opt/apigee/customer/application/message-processor.properties
2. Add following line to message-processor.properties: This is example where I am adding 40% instead of 35% default. Please change it according to your requirement.
conf_cache_memoryLimitPercent=40
3. Make sure message-processor.properties is readable and owned by apigee user.
4. Restart message processor using following command:
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart

Please execute above steps on all message processors.