ECN No Name Newsletter: February, 1997

The ECN No Name Newsletter is no longer being published. This is an archived issue.

[previous article] [next article]

Netscape Cache: A Quota Killer

Stacey L. C. Clark
stacey@ecn.purdue.edu

One piece of software that plagues many users' efforts to manage their disk usage is Netscape.Netscape is a great web browser that opens the treasure of information on the WWW.But be warned that surfing the Web using Netscape, in addition to being addictive, can also sabotage your quota.

What is a quota?

Quota is a means of tracking and limiting disk space usage on ECN general access file servers. Except for certain laboratory disk systems, quotas are used on all ECN home user files systems. Why? Because there IS a limited amount of disk space, and without the quota system, one person could accidentally fill all the disk space of a file system! Then no one else would be able to create or change files on that file system.

What does this have to do with Netscape? Netscape stores a copy of visited web pages on the local disk. Subsequent visits to the page use the local copy, thus, providing enhanced performance. This is called "caching to disk."

By default, Netscape will use up to 5,000K of local disk space for caching. Since, in many schools, students have a quota that is equal to or lower than 5,000K, this can cause problems:

Dot Files

Actually, this invisible dot feature is convenient. Files that start with a dot are usually system files, like .login, that you only want to see when working on them. To see files that start with a dot, type ls -a , using the "-a" flag of the ls command. Some typical dot files you might see include:
 .cshrc       .dt         .dtprofile
 .login       .logout     .netscape
 .newsrc

Emptying Netscape Cache

Since I have been using Netscape Version 2 and Netscape Version 3, I have cache files in TWO different directories. (Ack!) .netscape-cache is the cache depository for the older version of Netscape, while the current version of Netscape has a cache in the .netscape/cache directory. Contents of the cache might look like this:
52 cache319386D200B0318.html
12 cache319386F100E0318.gif

Determining Disk Usage

What can you do if you have accumulated tons of files? How can you prevent Netscape from sabotaging you?

Resolving Cache Problem Via Netscape 3

If you are using Netscape 3, you click on Options, and a menu will appear.

Choose Network Preferences, and a dialog box will appear.

You can then set Disk Cache to a small number (100). There is also a box, Clear Disk Cache Now, that lets you wipe out all your old cached files. This is an easy one-button fix!

Resolving Cache Problems Via UNIX

BE CAREFUL! This is a powerful command and UNIX will do as instructed. A typo could accidentally result in wiping out everything your own.

Over Quota Blues

If you are already over quota and have hit your hard limit, you are not allowed to write one more bit to disk. Since many Suns & HPs use the Common Desktop Environment (CDE), this can be a problem. CDE starts up a session log file in the .dt directory. If you are trying to figure out what went wrong, this session log is very handy. However, if you are just trying to log onto the computer but cannot because you can't write to .dt/startlog, this is very frustrating! What you can do is log in to a "dumb" terminal or log into a Sun terminal in "dumb terminal" mode. To do this, use the mouse to open the Options menu of the Login screen. Holding down the mouse button, choose the Command Line Login and release the mouse button. The normal login screen should disappear, and a white screen with text should come up. Press return once or twice to get a prompt and then log in as usual.


webmaster@ecn.purdue.edu
Last modified: Thursday, 17-Apr-97 11:29:33 EST

[HTML Check] HTML