Skip to content

vCenter 6.0 free space

August 8, 2017


To work around this issue, decrease the maximum backup size and the maximum backup index in the file.
Note: In external Platform Service Controller (PSC) environments, log in to the Platform Service Controller instead.

  1. Log in to the vCenter Server Appliance or PSC console as root user.
  2. Run this command to enable access the Bash shell:

    shell.set –enabled true

  3. Type shell and press Enter.
  4. Navigate to this directory:

    cd /usr/lib/vmware-sso/vmware-sts/webapps/sts/WEB-INF/classes/

  5. Run this command to back up the file:


  6. Open the file using a text editor.
  7. Locate the  log4j.appender.LOGFILE.MaxFileSize and  log4j.appender.LOGFILE.MaxBackupIndex parameters after this entry:


  8. Change the value of parameters to 50 and 5 respectively:

    For example:


    Note: The default values are MaxFileSize=100MB and MaxBackupIndex=10.

  9. Locate the log4j.appender.PERFLOG.MaxBackupIndex parameter after this entry:


  10. Change the value of parameter to 3.

    For example:


    Note: The default value is MaxBackupIndex=10.

  11. Run this command to restart the STS service:

    service vmware-stsd restart

  12. Navigate to:

    cd /storage/log/vmware/sso/

  13. Remove the old localhost_access_log,vmware-identity-sts and  vmware-identity-sts-perf log files by running these commands:

    rm localhost_access_log.*
    rm vmware-identity-sts.*
    rm vmware-identity-sts-perf.*

    Note: Restart the STS service again for new log files to be created in the  /storage/log directory.

du -h -d1 /storage/log/vmware/

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: