DISK_FULL_ACTION <action> <volume> <limit>
Enables FairCom DB to monitor available disk space and to shut down the database engine when the disk space falls below the specified limit.
This configuration option can include an environment variable name that will be substituted with its value when the configuration file is read.
You can include more than one DISK_FULL_ACTION in a server configuration.
Scriptable actions are supported. See DISK_FULL_ACTION Script (DISK_FULL_ACTION (SUBSYSTEM), DISK_FULL_ACTION (SUBSYSTEM)).
This keyword can be specified multiple times.
This keyword is independent of the DISK_FULL_LIMIT and DISK_FULL_VOLUME keywords.
Windows Examples
DISK_FULL_ACTION shutdown D:\ 500 MB
DISK_FULL_ACTION shutdown "C:\Users\Administrator\My Documents" 1 GB
Unix Examples
DISK_FULL_ACTION shutdown /users/administrator 500 MB
DISK_FULL_ACTION shutdown "/users/administrator/my documents" 1 GB
Messages
The following messages appear in CTSTATUS.FCS when this option is used:
FairCom DB logs a message for each DISK_FULL_ACTION option it finds in ctsrvr.cfg:
- User# 00001 Configuration info : DISK_FULL_ACTION threshold set for volume S:\ to 7516192768 bytes
FairCom DB logs a message to indicate that the available disk space monitoring thread has started:
- User# 00009 Thread Start: ctDISKFULLactionthrd
FairCom DB logs a message when it detects disk space below the specified threshold which causes the database engine to shut down:
- User# 00009 DISK_FULL_ACTION: Space on volume S:\ is 5338173440, which is below threshold of 7516192768. Initiating database engine shutdown.
See Also