Differences
This shows you the differences between two versions of the page.
|
wiki:software:unix_systems:exquota [2008/12/02 09:19] Tomas Ratkus Created- Tom |
wiki:software:unix_systems:exquota [2008/12/02 10:37] (current) Tomas Ratkus h1ed and codebashed |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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: | ||
| + | |||
| + | <codebash>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</code> | ||
| + | |||
| + | 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: | ||
| + | |||
| + | <codebash>% cd | ||
| + | % du -sh * .smb .mozilla | grep M | ||
| + | 28M root_v3.02.07.source.tar | ||
| + | 13M .smb | ||
| + | 4.6M .mozilla</code> | ||
| + | |||
| + | |||
| + | 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. | ||
