Sun GlassFish Communications Server 2.0 Administration Guide

Memory Overload Protection

Communications Server enables you to regulate incoming HTTP and SIP requests based on the memory usage.

To enable memory overload protection, set the memory-overload-protection attribute to true. By default, this value this set to false. Use the following command to set this attribute:

asadmin set config.overload-protection-service.memory-overload-protection=true

Memory Overload Protection attributes of the Overload Protection Service are as follows:


config1.overload-protection-service.mem-http-threshold = 85
config1.overload-protection-service.mem-ir-threshold = 85
config1.overload-protection-service.mem-mm-threshold = 99
config1.overload-protection-service.mem-overload-activation-algorithm = MEDIAN
config1.overload-protection-service.mem-overload-deactivation-algorithm = CONSECUTIVE
config1.overload-protection-service.mem-sr-threshold = 85
config1.overload-protection-service.memory-overload-protection = false
config1.overload-protection-service.mm-threshold-http-wait-time = 2
config1.overload-protection-service.number-of-samples = 5
config1.overload-protection-service.retry-after-interval = 10
config1.overload-protection-service.sample-rate = 2

You can configure the following threshold levels: