home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.apps
- Path: sparky!uunet!destroyer!gatech!concert!unccsun.uncc.edu!jta
- From: jta@unccsun.uncc.edu (joey adams)
- Subject: Re: Large hvtmp files left in /tmp?
- Message-ID: <1993Jan26.101340@unccsun.uncc.edu>
- Sender: usenet@unccsun.uncc.edu
- Nntp-Posting-Host: ws86.uncc.edu
- Reply-To: jta@unccsun.uncc.edu (joey adams)
- Organization: University of NC at Charlotte
- References: <ghawkins.727730217@unix1.tcd.ie> <tim.727916824@andy.hssc.scarolina.edu> <16612@auspex-gw.auspex.com>
- Date: Tue, 26 Jan 1993 15:13:40 GMT
- Lines: 50
-
- In article <16612@auspex-gw.auspex.com>, guy@Auspex.COM (Guy Harris) writes:
- |> >>Some program here keeps on leaving behind a large (greater than
- |> >>0.5Mb) file called hvtmpBAAa06214 (letters after hvtmp appear to
- |> > I notice this last week on a user's workstation. Since it is a
- postscript
- |> > file I used pageview to look at it. It was the Sun Postscript
- introduction
- |> > to the desktop.
- |> "hv" probably stands for Help Viewer, then.
-
- This problem bit us about a year ago. We have a few labs with Sun
- Workstations and only ~20 Meg. of /tmp space on each machine.
- During an upgrade the Help viewer was placed in every student's
- .openwin-init file. The systems are always in high demand and within
- a day all of our workstations /tmp directory was full of hvtmp* files.
- Checking into the problem I found out the following characteristics of
- Help viewer.
-
- 1. If you use the Window->Close function Help viewer WILL delete
- the /tmp/hv* files.
-
- 2. If you send a signal (TERM, etc., I can't remember every signal
- that I tried) such as "kill -TERM pid" then Help viewer WILL
- delete the /tmp/hvtmp* files. BTW, as most should know "kill -9
- pid"
- will not give the process a chance to clean up anything.
-
- 3. If you go Workspace->Exit..., or you use the Openwin abort key
- sequence (default is L1-Alt-Delete) then Help viewer will NOT
- remove the /tmp/hvtmp* files.
-
- Since ~99% of the students and most other users only exit openwindows
- and not every application, we had every machine's /tmp directory full.
- The immediate fix was to delete the Help viewer from the .openwin-init
- file and clean the directories by a reboot. (Trust me in our case, a
- reboot was easier than logging in to every one of our 120+ machines and
- hand cleaning the directory.)
-
- The permanent fix was to write a program that cleaned every file from
- /tmp
- excluding the lost+found directory. We added this onto our own login
- program so that after every user would log out /tmp would be cleaned.
- Hope this helps explain the problem.
-
- -----------------------------------------------------------------
- Joey Adams
- University of NC at Charlotte
- jta@unccsun.uncc.edu
- -----------------------------------------------------------------
-
-