Views:

Root Cause

In the current version, the available disk space required for updating depends on full or incremental size of the Smart Scan Pattern or Web Blocking List, which SPS is going to download. The required space is calculated using a formula to decide how much disk space is needed.

As the size of the patterns increase, the formula may require more disk space than the readily available.

Workaround

Below are three (3) workarounds available to help resolve this disk space issue. Use these workarounds when there is no available free disk space.

Minimize the required available disk space by modifying AU.ini.

 
By using this setting, it would require at least three (3) GB available disk space to complete the pattern update.
  • In the iSPS (Windows) environment:

    PCCSRV/WSS/AU.ini:
    [AU]
    NeedDiskSpaceRatio=1
    [FRS]
    DefaultAssumePtnSize=500
    [Common]
    NeedDiskSpaceRatio=6

    PCCSRV/LWCS/AU.ini:
    [WCS]
    DefaultAssumePtnSize=500
    [Common]
    NeedDiskSpaceRatio=6

  • In the standalone SPS (Linux) environment:

    /var/tmcss/conf/AU.ini
    [FRS]
    DefaultAssumePtnSize=500
    [WCS]
    DefaultAssumePtnSize=500
    [Common]
    NeedDiskSpaceRatio=6

  1. Manually remove /var/tmcss/cdt/*.
  2. If the disk space is still not enough, change the log rotation size and numbers.
    1. Back up /etc/logrotate.d/lighttpd using the following command:

      cp /etc/logrotate.d/lighttpd /etc/logrotate.d/lighttpd.default

    2. Modify /etc/logrotate.d/lighttpd using the command below:

      vi /etc/logrotate.d/lighttpd

      /var/log/lighttpd/mgt_access.log {
      missingok
      notifempty
      sharedscripts
      rotate 3 (default = 5)
      size 50M (default = 100)
      postrotate
      /etc/init.d/lighttpd reload
      endscript
      }

      /var/log/lighttpd/access.log {
      missingok
      notifempty
      sharedscripts
      rotate 3 (default = 5)
      size 50M (default = 100)
      postrotate
      /etc/init.d/lighttpd reload
      endscript
      }

      /var/log/lighttpd/lwcs_access.log {
      missingok
      notifempty
      sharedscripts
      rotate 3 (default = 5)
      size 50M (default = 100)
      postrotate
      /etc/init.d/lighttpd reload
      endscript
      }

To increase the disk space, refer to document: Expand the disk size in TMSPS.