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 |
0 |
Enables the Session Clustering. |
|
10062 |
The port the SC daemon is listening to. |
|
1 |
Communication with mod cluster: 0 TCP, 1 Unix socket. |
|
scd.sock |
Unix socket filename to communicate with daemon. |
|
500 |
Timeout value for the check daemon status API. |
|
1 |
Used when accessing locked sessions. |
|
1000 |
Used when retrying to access locked sessions. |
|
1 |
Enable High Availablity mode. |
|
10 |
Size of log before it's rotated. |
|
0 |
When enabled, compress the sessions' data before passing it to the session clustering daemon. |
|
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, 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, IBMi
Default Value: scd.sock
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
zend_sc.quick_connect_timeout
Timeout value for the check daemon status API.
Default Value: 500
Units: milliseconds
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 5.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.ha_enabled
Enable High Availablity mode.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.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