THE VIRTUAL SERVER HANDBOOK
Grace
The grace period is a time allowed for being over quota before
a hard limit is reached. The grace period is 7 days. You can go
over quota and still continue to function as long as you do not
go over quota by 10% or more or for over 7 days.
Files
Your quota is also controlled by the number of files you have
and the amount of disk space. The limit on the number of files
can be increased without a charge. We currently give you 200
files per meg (275*200=55000). The files limit has a
quota
and
grace
which function just like the disk space quota.
Note: When you are over the quota you need to take action before the
limit is reached. When the limit is reached, any program that creates or
appends to files does not function.
Exceeding Quotas because of Logs
The server maintains log files for E mail, FTP and the World Wide Web.
The logs grow rapidly on an active server. To avoid going over the limit due
to log files, set up a CRON file that E mails the needed logs to you and then
nukes the logs when finished. See Managing with Cron, later in this
chapter.
To remove log files
At the command prompt, enter the command
vnl r
. This action
removes the following files:
~/usr/log/messages (this is the log file for E mail, ftp and logins)
~/www/logs/error_log
~/www/logs/access_log
~/www/logs/referer_log
To remove subhost log files
At the command prompt, enter the command
vnl d
, where ServerName is the name specified in the
VirtualHost directive ServerName for the subhost you wish to delete
the logs for. This action removes the log files defined for the specified
subhost.
Handling Subhost Quotas
The command used to maintain logs for subhosts is called
vnl
. The
command reads the World Wide Web
httpd.conf
file, checks for
subhosts with log files, and lists the log files. You can then choose which
log files to delete with vnl.
To view your disk usage
While at a command prompt:
% cd
% vdiskuse | more
Note: vdiskuse lists the directory and file usage from your current
directory.
COPYRIGHT
1999 DIGITAL TOOLS LLC.
50