Pivotal Knowledge Base


How to Increase and Decrease Greenplum Command Center Web Session Timeout


Greenplum Command Center (GPCC) 1.3.X


Greenplum Command Center web sessions automatically time out after a fixed period of time (default is 30 minutes).

This article explains how to modify this value so users can have longer or shorter session timeouts.


1. Confirm what is the current timeout value for your GPCC instance (default is the 1800s)

[gpadmin@localhost ~]$ echo $GPPERFMONHOME 
[gpadmin@localhost ~]$ awk '{if ($1 == "timeout") print $3}' /usr/local/greenplum-cc-web/instances/<your_instance_name>/conf/gpperfmonui.conf

If you don't know the name of your active GPCC instance you can find out by running:

[gpadmin@localhost ~]$ gpcmdr --status

2. Backup the configuration file and change the timeout value

2.1 Backup original configuration file

[gpadmin@localhost ~]$ cp /usr/local/greenplum-cc-web/instances/<your_instance_name>/conf/gpperfmonui.conf /usr/local/greenplum-cc-web/instances/<your_instance_name>/conf/gpperfmonui.conf.old

2.2 Change the value (in this case to 100s)

[gpadmin@localhost ~]$ awk '{if ($1 == "timeout") $3=100; print > "/usr/local/greenplum-cc-web/instances/<your_instance_name>/conf/gpperfmonui.conf"}' /usr/local/greenplum-cc-web/instances/<your_instance_name>/conf/gpperfmonui.conf

To change to a different number of seconds for the timeout, change $3=<timeout_in_seconds> in the previous command.

2.3 Confirm the changes

[gpadmin@localhost ~]$ awk '{if ($1 == "timeout") print $3}' /usr/local/greenplum-cc-web/instances/<your_instance_name>/conf/gpperfmonui.conf

3. Restart the Command Center Console instance

gpcmdr --restart <your_instance_name>

Additional Information

For more information about all the configurable parameters in this configuration file, you can refer to the official GPCC documentation.


Powered by Zendesk