Zend Session Clustering - Configuration Directives

This topic lists all the configuration directives for Zend Session Clustering.

Configuration Directives Summary

The table below is a summary of all the Zend Session Clustering configuration directives, and displays the directive name, its default value, and a description:

Directive

Default Value

Description

zend_sc.enable

0

Enables the Session Clustering.

zend_sc.scd_port

10062

The port the SC daemon is listening to.

zend_sc.use_unix_sockets

1

Communication with mod cluster: 0 TCP, 1 Unix socket.

zend_sc.unix_socket_filename

scd.sock

Unix socket filename to communicate with daemon.

zend_sc.lock_timeout

1

Used when accessing locked sessions.

zend_sc.lock_retry_timeout

1000

Used when retrying to access locked sessions.

zend_sc.log_rotation_size

10

Size of log before it's rotated.

zend_sc.session_compression_enabled

0

When enabled, compress the sessions' data before passing it to the session clustering daemon.

zend_sc.log_verbosity_level

2

The log verbosity level [0-5].

Configuration Directives Details

The list below contains information for all the available configuration directives for Zend Session Clustering: their description, type, units, default value, modification scope, and the Zend Server version they became available in.

zend_sc.enable

Enables the Session Clustering.

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.scd_port

The port the SC daemon is listening to.

Default Value: 10062

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.use_unix_sockets

Communication with mod cluster: 0 TCP, 1 Unix socket.

Applicable On: Linux, Mac OS X, IBMi

Default Value: 1

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.unix_socket_filename

Unix socket filename to communicate with daemon.

Applicable On: Linux, Mac OS X, IBMi

Default Value: scd.sock

Type: string

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.lock_timeout

Used when accessing locked sessions.

Default Value: 1

Units: minutes

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.lock_retry_timeout

Used when retrying to access locked sessions.

Default Value: 1000

Units: milliseconds

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_sc.log_rotation_size

Size of log before it's rotated.

Default Value: 10

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.session_compression_enabled

When enabled, compress the sessions' data before passing it to the session clustering daemon.

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_sc.log_verbosity_level

The extension's log verbosity level. Level 1 includes very important info messages, errors and warnings. Level 2 displays notices. Greater levels (up to 5) server debug purposes only.

Default Value: 2

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0