April 23, 2020
Estimated Post Reading Time ~

AEM DISK I/O Running out of Disk Space issues

Issue:
Running out of diskspace,
Disk thrashing

Solution :
Make sure to disable the collection of debugging information; this can be configured in various locations, including:
Go to this path: http://localhost:4502/system/console/configMgr and search for the below config service
Apache Sling JSP Script Handler
Apache Sling Java Script Handler
Apache Sling Logging Configuration
CQ HTML Library Manager
CQ WCM Debug Filter
Loggers
Version Purging
Too Many Open Files
Journal consumes too much diskspace

Apache Sling GET Servlet
  • Configure some aspects of rendering:
  • Auto Index to enable/disable directory rendering for browsing.
  • Enable (or disable) default renditions, such as HMTL, Plain Text, JSON or XML.
  • You should not disable JSON.
Apache Sling Java Script Handler
  • Configure settings for the compilation of .java files as scripts (servlets).
  • Certain settings can affect performance, these should be disabled where possible, in particular for a production instance.
  • Source VM and Target VM, define the JDK version as that used as the runtime JVM
  • for production instances:
  • disable Generate Debug Info
Apache Sling JSP Script Handler
  • Configure performance relevant settings for the JSP script handler. To improve performance you should disable as much as possible.
  • In particular for production instances:
  • disable Generate Debug Info
  • disable Keep Generated Java
  • disable Mapped Content
  • disable Display Source Fragments
Adobe Granite HTML Library Manager
  • Configure this to control the handling of client libraries (css or js); including, for example, how the underlying structure is seen.
  • For production instances:
  • enable Minify (to remove CRLF and whitespace characters).
  • enable Gzip (to allow files to be gzipped and accessed with one request).
  • disable Debug
  • disable Timing
  • For JS development (especially when firebugging/debugging):
  • disable Minify
  • enable Debug to separate the files for debugging and use with firebug.
  • enable Timing in the case of interest in timing.
  • enable Debug console to see JS console log messages.
Day CQ WCM Debug Filter
Day CQ WCM Filter
Configure:
  • WCM Mode to define the default mode.
  • On an author instance, this might be edit, disable, preview, or analytics.
  • The other modes can be accessed from the sidekick, or the suffix ?wcmmode=disabled can be used to emulate a production environment.
  • On a publish instance this must be set to disable to ensure that no other mode is accessible.
Day CQ WCM Version Manager
  • Control if, and how, versions are managed in your system:
  • Create Version on Activation, enabled in a standard installation
  • Enable Purging
  • Purge Paths, the paths that a search action will search
  • Implicit Versioning Paths, the paths where implicit versioning is active.
  • Max Version Age, the maximum age (in days) of a version
  • Max Number Versions, the maximum number of versions to keep


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.