1 Session Inactivity Cleanup Mechanism Overview
This Operating Instruction gives the details about how to configure the Session Inactivity Cleanup mechanism. This periodical mechanism is in charge of deleting all the inactive Gx sessions. A Gx session is considered inactive or obsolete when no CCR-I or CCR-U is received or RAR sent during a configurable period of time.
There is a set of five parameters which allows setting up the Session Inactivity Cleanup mechanism. The SAPC uses COM to configure them, offering a Managed Object Model (MOM). Every parameter can be modified and for an easier use default values are set.
2 Session Inactivity Cleanup Mechanism Prerequisites
This section describes the prerequisites, which must be fulfilled before using the feature. Before configuring the SAPC in an operational network, assure that:
3 Session Inactivity Cleanup Mechanism Procedure
3.1 Enabling/disabling the mechanism
The Session Inactivity Cleanup mechanism is a feature which has the possibility of being enabled or disabled through the parameter enabledCleanup. The mechanism is enabled by default. To enable/disable this function, do the following:
Steps
Results
The Session Inactivity Cleanup mechanism receives a notification of change of this parameter to react immediately to the new value. After enabling this function, the mechanism will start at the time indicated by the cleanupStartTime parameter. In case of disabling this function, no further executions of the Session Inactivity Cleanup mechanism are scheduled and ongoing executions are immediately stopped.
3.2 Scheduling the mechanism
The Session Inactivity Cleanup mechanism starts up at the time indicated by the cleanupStartTime parameter. Any change in this parameter only
takes effect if the feature is enabled. Its syntax is hh:mm:ss, where hh is the hour in 24-hour clock convention, mm the minutes and ss the seconds. Its
default value is 00:30:00. To change the time when this function starts,
do the following:
Steps
Results
When the start time is updated, the next Session Inactivity Cleanup mechanism will be triggered at that time, even if there is a cleanup already in progress.
3.3 Setting up the session inactivity time
The SAPC considers a Gx session as inactive after not receiving/sending any message in a period of time. This period of time is configurable through the inactivityPeriod parameter (by defaultis 36, expressed in hours). To change this value do the following:
Steps
3.4 Setting up the cleanup duration
The cleanupDuration parameter establishes the boundary in time of the Session Inactivity Cleanup mechanism to restrict the execution time of it. It is measured in minutes with a default value of 180. To change the value do the following:
Steps
3.5 Setting up cleaning mode
The checkForSessionAlive parameter allows to configure the way the SAPC performs the cleanup:
By default the SAPC is able to verify if the Gx session is still alive in the PCEF before removing it, but this behavior can be disabled so the SAPC does not send RAR messages. To change the value of this parameter, do the following:
Steps
3.6 Showing the current configuration
This section describes how to show the current Session Inactivity Cleanup mechanism configuration.
Steps

Contents