Search

GlobalSCAPE Knowledge Base

Calculate, show, or hide user disk quota

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT v7.4.11 and later

DISCUSSION

Disk space management is an important aspect of server administration. A disk quota is a limit set by a system administrator to restrict the amount of file space allocated to each user. Users do not have a specified disk quota by default. In EFT v7.4.13, to improve startup performance, disk quota is set to 0 upon EFT server service start, even when users have files in their folders. With this change, the EFT server service is not bogged down calculating every user's baseline at service startup. Once a user logs in to EFT, the disk quota is calculated for that user. Upon each upload/download by that user, the user's disk quota value is incremented or decremented accordingly. The resulting value is stored for that user (or template), and it becomes the new baseline. When the quota reaches the max specified in EFT, no more uploads are allowed. When files are added to a user's folder "out of process" (e.g., an administrator manually copies files to the user's folder), the size of the files is not added to the user's total until the next calculation. Therefore, what EFT sees as the new "Used disk space" value may not be the same as the actual size of the folder. This can also occur during parallel uploads from clients like CuteFTP, because EFT evaluates each request independently, not in aggregate, when determining whether the request exceeds the quota limit.

The administrator can manually initiate a baseline re-calculation by clicking Recalculate on the user account's General tab, or set the registry override described below to specify a re-baseline period. Another setting can be created to write to the EFT log after a period of seconds if the calculation takes longer than specified.

To specify the disk quota options, create the following registry settings or advanced properties

 

Registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GlobalSCAPE Inc.\EFT Server 7.4\
Type: DWORD
Cached: yes
Backup/Restore: yes

Value name Description Values
ShowQuotaControls Show or hide quota controls

Type: bool
Default Value: false
Description: Show quota controls

DiskQuotaBaselineCalculationFrequencyInDays Specify number of days before EFT is to calculate used disk space.

Type: uint32_t
Default Value: 1
Minimum Value: 0
Maximum Value: 30
Description: Disk quota baseline calculation frequency in days

DiskQuotaBaselineCalculationTimeoutInSec Specify how long EFT is to wait for the disk calculation to complete. Type: uint32_t
Default Value: 20
Minimum Value: 1
Maximum Value: 4294967295
Description: Disk quota baseline calculation timeout in seconds
For versions prior to 7.4.13; not applicable to 7.4.13:    
CalculateQuotaForNeverLoggedInUsers When defined, do not calculate disk quota for a user until their first log-in Type: bool
Default Value: true
Description: Calculate disc quota for a user even if the user has never logged in.
CalculateQuotaForDisabledUsers When defined, do not calculate disk quota for a user that is disabled Type: bool
Default Value: true
Description: Calculate disc quota for a user even if the user account is disabled.

Details
Last Modified: 8 days ago @ 10:13 PM
Last Modified By: Aarongskns
Type: HOWTO
Rated 2 stars based on 13 votes.
Article has been viewed 61K times.
Options
Also In This Category
Tags