Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Under my user a hidden system folder .cache/upstart/ is getting insanely large - 99G. This is mainly due to a file gnome-session.log. Does anybody know what this folder is and why it may get so large? Can I safely remove the file?

share|improve this question
up vote 0 down vote accepted

It's just a log, so yes, you can safely remove this file.

share|improve this answer
1  
I would also like to understand what is growing so much this file - it seems full of log of this error kbuildsycoca4(21468) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/shotwell-viewer.desktop" specifies undefined mimetype/servicetype "image/x-mrw" – Luca Fiaschi Mar 2 '14 at 18:12
1  
I don't know, however there is a bug on Launchpad which describe similar situation. bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1269838 Maybe there you will be able to find solution. – kubahaha Mar 2 '14 at 19:51

I had this problem also, gnome-session-Unity.log file was getting large.

Before this I installed the scratch programming environment, this programm has the squeak-vm dependencies also installed 1st time on this machine. The squeak-vm was locked on the launcher, the line in the gnome-session-Unity log file

    (zenity:3190): GLib-WARNING **: /build/buildd/glib2.0-2.40.2/./glib/giounix.c:410Error while getting flags for FD: Bad file descriptor (9) 

this entry was repeated and the file getting bigger.

Also a window from squeak-vm was opened and couldn't normally close that window.

In order to solve the problem I uninstalled the scratch package and the squeak-vm package, close the window from squeak-vm with xkill.

Environment: Ubuntu 14.04 , scratch 1.4.0.6~dfsg1-5, squeak-vm 1:4.10.2.2614-1ubuntu2, zenity 3.8.0-1ubuntu1

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.