Public bug reported:

Size of .xsession-errors file should be capped.


I was rather surprised to be notified that I had under 1% of disk space left on 
my / drive since this is a 1TB partion on a 3TB drive.
Using du and sort to provide lists of large directories, I couldn't figure out 
where all the space had gone.   I moved and deleted some stuff to make room.   
Included in that was the .xsession-errors file which was absolutely enormous.  
At the time, I thuoght it was due to years of accumulation.    The drive soon 
(hour timeframe) filled up again.   I couldnt' account for where this space was 
used.   When I rebooted the machine, I had about 773GB free.

Effectively, by deleting the file which xsession still had open, I had
created an open and unlike style temporary file.   Guaraneteed to go
away on program exit or reboot, but unaccountable.   Well, it probably
shows up in lsof as "(deleted)" if you think to look there.   And the
following command could be executed BEFORE your disk fills up as it can
be rather difficult afterwards.  These are applications which help break
down disk usage.  Not they will necessarily run when the disk is full.

sudo apt-get install baobab xdiskusage filelight kdirstat gdmap


I was running a number of applications at the time, but with no disk to write 
to I didn't keep good notes.   gnome-terminal, emacs, firefox, evince, and 
googleearth open. I was probably using eog and display (imagemagick).   imagej 
was having problems not displaying the image window (still is).  gcx was run.  
psensor was running.  I had been using a number of web browsers I don't 
normally use on this machine including konquror,composer, amaya, archne 
(dosemu), netsurf, uzbl, midori, google chrome, linx, links2, etc.  The page I 
was viewing in the extra browsers had an embeded pdf.   fldigi might have been 
running.   Scrbus probably wasn't.  localc might have ben.  Nautilus.  k3b but 
that was run after problems started to move stuff off.  splat was run (new, 
radio propagation program) but was non-graphical - or rather the graphical 
output was displayed by google-earth and other programs.  gpodder was killed so 
it couldn't fill disk.  update-manager was probalby running.

  I probably had chirpw (radio programming software) open.   I had run
flighgear recently but it probably was not open.  I was using enguage-
digitizer.     I was using totem to play a blu-ray which had been ripped
to a 37GB mkv.

 rerunning all the graphical browser  and .xsession-errors has not
grown.  Likewise psense, enguage, flightgear, imagej, and eog, gcx, and
display.   Likewise totem, but have only played a few minutes.   And
fldigi.  And localc.

Thus, I can't tell you exactly how to reproduce but I am sure there is a
short piece of code that could be written to generate unlimted errors.
Make more than one error type, though, if it has the "last error
repeated xx times feature".

I had very recently purged the ATI proprietary display driver (beta)
and reinstalled xorg to get glx to work.  System had been up pretty much
since that upgrade (a week or so?).

 I have a 6 headed display card with 2 DVI monitors and 1 display-port->VGA.   
xrandr --addmode DisplayPort-0 1600x1200
xrandr --fb 4800x1200 --output DVI-1 --mode 1600x1200 --pos 0x0 --output 
DisplayPort-0 --mode 1600x1200 --right-of DVI-1 --output DVI-0 --mode 1600x1200 
--right-of DisplayPort-0

There are currently a few menu errors like this in the file.
indicator-weather:2731): LIBDBUSMENU-GLIB-CRITICAL **: 
dbusmenu_menuitem_get_children: assertion `DBUSMENU_IS_MENUITEM(mi)' failed
Would not surprise me if dbus is to blame because it has a history of failing 
sporadically and breaking GUI applications.

An error just recently appeared.   I don't run evolution intentionally.
(evolution-alarm-notify:3249): evolution-alarm-notify-WARNING **: alarm.c:260: 
Requested removal of nonexistent alarm!

Ubuntu-bug discouraged me from filing this bug report because "Precise"
(12.04) is no longer supported.   Yet it is the current long term
support version.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+12ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: amd64
CheckboxSubmission: 1e1a99f31ec2933306456e1f141c45d8
CheckboxSystem: edda5d4f616ca792bf437989cb597002
CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,gnomecompat,resize,regex,mousepoll,snap,imgpng,grid,place,unitymtgrabhandles,move,vpswitch,animation,workarounds,wall,session,expo,fade,ezoom,scale,unityshell]
CompositorRunning: compiz
Date: Sat Jul 13 22:58:32 2013
DistUpgraded: 2013-03-03 03:13:32,823 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 fglrx, 8.85, 2.6.38-12-generic, x86_64: installed
 fglrx, 8.85, 2.6.38-8-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI Cayman PRO [Radeon HD 6950] [1002:6719] 
(prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:03d4]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: System manufacturer System Product Name
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-18-generic 
root=UUID=02f53b93-8fd3-44ee-911b-a2d656e2d4d2 ro
SourcePackage: xorg
UpgradeStatus: Upgraded to precise on 2013-03-03 (132 days ago)
dmi.bios.date: 02/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1902
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: Crosshair IV Formula
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1902:bd02/17/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnCrosshairIVFormula:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.12-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.45+git20130607.a0178c00-0ubuntu0sarvatt~precise
version.libgl1-mesa-dri: libgl1-mesa-dri 
9.2.0~git20130701.acc6a141-0ubuntu0sarvatt~precise
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 
9.2.0~git20130701.acc6a141-0ubuntu0sarvatt~precise
version.xserver-xorg-core: xserver-xorg-core 
2:1.12.3+git20120709+server-1.12-branch.60e0d205-0ubuntu0ricotz~precise
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 
1:2.7.0+git20120504.f28507e8-0ubuntu0sarvatt~precise
version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:7.1.99+git20130531.bd2557ea-0ubuntu0sarvatt~precise
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.21.10+git20130624.c88d911d-0ubuntu0sarvatt~precise
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.7+git20130516.bf72ae1f-0ubuntu0sarvatt~precise

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug compiz-0.9 precise running-unity third-party-packages 
ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1201047

Title:
  .xsession filled entire disk partation ~773GB.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1201047/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to