Quota Exceeding

A common culprit for quota-exceeding is the Mozilla browser. By default, it will store cache files in your home directory's .mozilla directory. A helpful solution to this problem is to use your desktop's /tmp directory for cache storage:

Place the following commands in your shell startup files:

sh/ksh/bash: Add to .profile:
 
if [ ! -d "/tmp/$USER" ]; then
  mkdir -p /tmp/$USER
fi
 
csh/tcsh: Add to .login:
 
if (! -d "/tmp/$USER")  then
   mkdir -p /tmp/$USER
endif

Then, configure mozilla to use this directory for its cache:

  • Open the 'Edit' menu.
  • Select 'Preferences'
  • In the 'Category' menu on the left, expand 'Advanced'
  • Select 'Cache'
  • Press the 'Choose Folder' button
  • Navigate the directory browser to /tmp
  • Select the directory with your username, and press 'Select'
  • Restart Mozilla, and your cache will be stored in the /tmp directory.

Also, the “du” command can be used to determine where your disk usage is:

% cd
% du -sh * .smb .mozilla | grep M
 28M    root_v3.02.07.source.tar
 13M    .smb
4.6M    .mozilla

This tells us that the user's Windows profile (.smb), a tar file (root_v3.02.07.source.tar) and the .mozilla directory are consuming a good deal of space.

wiki/software/unix_systems/exquota.txt · Last modified: 2008/12/02 10:37 by Tomas Ratkus