Summary: dtlogin chews up space

From: Mark A. Bialik <mbialik_at_infinityhealthcare.com>
Date: Mon Nov 12 2001 - 19:24:39 EST
I only received one reply to my message, and after some digging, I found
the answer on my own.  The original question is at the end of this
email.

Syslog was attempting to write errors to the console.  When the machine
is sitting at a login prompt (CDE Login Screen), the console window is
not present (by default, I guess).

If the error output can't be displayed, it gets stored in a file.  These
files are /var/tmp/wscon*


I copied /usr/dt/config/Xsetup to /etc/dt/config/Xsetup and added the
following lines to /etc/dt/config/Xsetup:

( sleep 3; /usr/openwin/bin/xconsole -geometry 480x130-0-0 -daemon
-notify -verbose -fn fixed -exitOnFail )& 

I also copied /usr/dt/config/Xconfig to /etc/dt/config/Xconfig and in
/etc/dt/config/Xconfig, I uncommented:

Dtlogin*grabServer: False


This now displays a console window in CDE.  The only time the
/var/tmp/ws* files are created now are the few seconds where a user
logs out and the login screen refreshes to normal.  It is also important
NOT to close the console window while loggged in, or the file will
continue to grow until you log out.  Minimizing it is fine.

Hope this helps someone.  Thanks to David Evans for his response:

Mark,

Looks like a temp file or a framebuffer file from X. Why do you say
it's from dtlogin? You may want to use fuser or lsof (from Vic Able)
and see what processes are associated with it first. This will give
the process id and from there you can confirm what the reason is.

David



Original Question:
 
> Hello Managers:
> 
> Any idea why .dtlogin would chew up massive quantities of disk space?
> 
> # ./dtlogin stop
> 
> # df -v
> Mount Dir  Filesystem        blocks     used     free  %used
> /          /dev/md/dsk/d2    818526   471678   289552    62%
> 
> # ./dtlogin start
> 
> # df -v
> Mount Dir  Filesystem        blocks     used     free  %used
> /          /dev/md/dsk/d2    818526   709576    51654    94%
> 
> This file appears to be growing in /var/tmp:
> 
> # cd /var/tmp
> # ls -la
> total 32134
> drwxrwxrwt   3 sys      sys          512 Nov 10 14:47 .
> drwxr-xr-x  21 root     sys          512 Sep  4 21:55 ..
> -rw-------   1 root     other    16439571 Nov 10 14:51
> wsconAAAkjaWN4:0.0
> 
> Thanks for any pointers.
> 
> Mark
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Nov 12 18:26:16 2001

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:28 EST