Zend Server User Guide > Tasks > Controlling Resource Usage

Controlling Resource Usage

This page describes how to limit the disk space used by Zend Server components.

Code Tracing

This section explains how to limit the resources used by the Zend Code Tracing component.

 

 

Instructions on how to complete a procedure

To control Zend Code Tracing resources:

  1. In the UI, go to the Configurations | Components page.
  2. From the Components list, select the Zend Code Tracing component.
    The Expanded view displays all available component directives.
  3. Locate the 'zend_codetracing.max_disk_space' directive.
  4. Enter the maximum disk size for saved code traces (default value is 5120 MBytes).
  5. In the Action bar, click .
  6. In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes.
    For information on restarting in Zend Server, see Server Restart.

    Zend Server will check your file system once an hour, and clean oldest files should the stored data exceed the defined size limit.

 

 

Job Queue

This section explains how to limit the resources used by the Zend Job Queue component.

 

 

Instructions on how to complete a procedure

To control Zend Code Tracing resources:

  1. In the UI, go to the Configurations | Components page.
  2. From the Components list, select the Zend Job Queue component.
    The Expanded view displays all available component directives.
  3. Select the Daemon Directives tab.
    The Expanded view displays all available daemon directives.
  4. Locate the 'zend_jobqueue.db_size_completed' directive (default value is 1024 MBytes).
  5. Enter the maximum database size for completed jobs.
  6. Locate the 'zend_jobqueue.db_size_failed' directive (default value is 1024 MBytes).
  7. Enter the maximum database size for failed jobs.
  8. In the Action bar, click .
  9. In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes.
    For information on restarting in Zend Server, see Server Restart.

    Zend Server will check your database once an hour, and clean oldest data should the stored data exceed the defined size limit.

 

 

 

 

Related Links

Related Links:

Resource Control

Configuring Code Tracing

Configuring the Zend Job Queue

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.