Issue - I can't log on to the Linux Machine or it gives "Could not Update ICEauthority"
When you try to log onto a Linux Machine, you get an error message saying "Could not Update ICEauthority" and it won't let you on.
This is due to your account hitting either a Space or File Count quota limit. When you reach either a space or file count limit, the system will no longer be able to create new files, one of which is needed for the Linux Graphical Login.
NOTE: Most users in the College are given 2GB of disk space and about 30k file count with their account. If you are a student you can request an increase with written (email) permission from your instructor. For projects related to a class, we can also create 'scratch' space. For more information please contact firstname.lastname@example.org.
How to get under quota: Finding and removing excess files.
It is the user’s responsibility to monitor and manage disk usage and keep it under quota. If you happen to go over your quota, you will be unable to log in graphically to any Unix computer. You can, however, still log in remotely through SSH or through the "failsafe" login when sitting at the computer.
In order to get to a non-graphical login screen, just hold CTRL-ALT and any one of the function keys F3-F6. Once you have followed the steps below and wish to re-attempt a graphical login, simply hold CTRL-ALT and either F1, F2 or F7 to return to the graphical login screen.
One way to help with quota issues is deleting Firefox's cache.
- Go to the directory: cd ~/.cache/mozilla/firefox
- View the contents: ls
- You should see a folder that looks like RandomString.default.
- cd into this directory.
- Delete the Cache folder: rm -r Cache
- Check your quota again and see if that helped: quota -v
Finding Out if You Are Over Quota
For Linux or Unix machines, you can view your current disk usage and quota by executing the following command:
You should see output similar to this:
Disk quotas for user test_user (uid 65331):
Filesystem blocks quota limit grace files quota limit grace
/filesys 140732 200000 210000 4362 20000 21000
There are two resources limited by our quota systems: disk space and number of files. Disk space used is listed under "blocks," with the corresponding limits listed after it under "quota" and "limit." Your number of files used is listed under "files," with the quota also following.
If either your disk space or number of files used is greater than the "quota" (soft limit) or "limit" (hard limit) you should attempt reduce your resource usage. This is often indicated with a '*' next to the number if you have exceeded one of the two quotas.
Determining Your Current Disk Space Usage
When in your home in directory, use the command:
du -sm * .??* | sort -rn | head
to see a list of your 10 largest files or directories (biggest displayed first). This command also works from within sub-directories allowing you to get a finer-grain view of usage. You can judge which are good candidates to delete or compress.
Determining Your Current File Usage
When in your home directory, use the command:
to see your 10 directories with the most amount of files in them. This command also works from within sub-directories allowing you to get a finer-grain view of usage. You can judge which are good candidates to delete or archive.
Removing/Archiving Files and Directories
When near or over quota, look for your cache (or temporary files) in your web browser. These unneeded and space gobbling cache (or temporary) files are often the worst offenders. They can best be deleted from within your browser program.
Delete any core dump files when you are finished analyzing them.
Your user interface can also produce extraneous cache files. They are located in the hidden subdirectories, .kde/share, .gnome/share. You can examine all of your hidden files, when in your login directory, with the command: ls –la | more
You can also combine multiple files into one (archive) and compress large files to reduce your file and space usage. The "tar" program takes many files and turns them into one. To learn more about it type "man tar." The "gzip" program is used to compress files in size. Type "man gzip" to learn more about it. Also there are many tutorials available on the web, google "tar gzip" to find some.
If you believe that the quota program is not accurately listing your current disk usage you can run the following command from within your home directory:
du . -s
it will give you a quick summary of current disk usage.
SImilarly the count files program (/usr/local/bin/countfiles) will give a total of all the files in the current directory.
If either of these counts are different from that listed my the quota program, please email email@example.com.