Summary for Patch 524 rev2 (Verified)

Summary Reduce memory usage in file_space_account when reading directory content
Platform Unix
Category bugfix
Valid for 5.0.3.x, 5.1.x, 5.2.x, 5.3, 5.3.0.1
Requires
Server Required Patch/es
Supersedes 474, 385, 384, 383, 319, 318
Superseded by 635 : Verified / Not hidden
Affects Client: Storage Analyzer
Last Updated September 30, 2009

Download now

Download_red patch524-2.tar.gz

Description

Change code that goes through the directory structure so that it
no longer reads entire directory cataloges into memory at once.
This should reduce the memory usage of file_space_account when
encountering direcories whith a large amount of files.

Supersedes Patch Description

Expand all

Patch 474 — File space: Fix on globbing in file_space config
Fix on handling of multiple matches with globbing in
/var/opt/openit/etc/file_space config. Previously selection of the
desired account would often fail, giving a wrong account in the data.
Patch 385 — File space: Some updates
The STORAGE_AUTOEXCLUDE_LEVEL now defines the first level as the
directory below the top-level directory, e.g. "/*". Earlier the
top-level directory itself, e.g. "/" was defined as the first level,
causing some confusion. The default is two levels from root-dir,
i.e. directories matching "/*" or "/*/*" will be checked for
automounted directories with file_space config file empty and
STORAGE_AUTOEXCLUDE_LEVEL undefined.

"snapshot" directories are now removed by default.

Handling of full disk on the collector host is improved.
Patch 384 — File space: Some updates
The STORAGE_AUTOEXCLUDE_LEVEL now defines the first level as the
directory below the top-level directory, e.g. "/*". Earlier the
top-level directory itself, e.g. "/" was defined as the first level,
causing some confusion. The default is two levels from root-dir,
i.e. directories matching "/*" or "/*/*" will be checked for
automounted directories with file_space config file empty and
STORAGE_AUTOEXCLUDE_LEVEL undefined.

5.1, 5.1.0.1: shapshot directories are now removed by
default. Handling of full disk on the collector host is improved.
Patch 383 — File space: Some updates
The STORAGE_AUTOEXCLUDE_LEVEL now defines the first level as the
directory below the top-level directory, e.g. "/*". Earlier the
top-level directory itself, e.g. "/" was defined as the first level,
causing some confusion. The default is two levels from root-dir,
i.e. directories matching "/*" or "/*/*" will be checked for
automounted directories with file_space config file empty and
STORAGE_AUTOEXCLUDE_LEVEL undefined.

5.0, 5.0.1: shapshot directories are now removed by default. Handling
of full disk on the collector host is improved.
Patch 319 — File space: Fixes handling of space(s) in file names
Accounting of files sometimes needs use of df and ls. This should now
work also when there are spaces in file/path name.
Patch 318 — File space: Fixes handling of space(s) in file names
Accounting of files sometimes needs use of df and ls. This should now
work also when there are spaces in file/path name.

Installation

Unpack tar file in e.g /tmp/patch on the Open iT server. Do the 
following as root:

  cd /tmp/patch
  ./patch.pl

Corresponding Windows Patches

No corresponding Patches available.



Back to Version List