On Mon, Jan 17, 2011 at 10:15:32AM +0000, Willem Jan Palenstijn wrote: > On Mon, Jan 17, 2011 at 09:54:17AM +0000, Willem Jan Palenstijn wrote: > > On Mon, Jan 17, 2011 at 09:34:18AM +0000, Willem Jan Palenstijn wrote: > > > On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: > > > > There's a problem with boxen running out of disk space. I'm not sure > > > > what is causing it. > > > > > > This looks like a big part of it: > > > > > > wjp@boxen:/sagenb/sagenb$ ls -alh /sagenb/sagenb/logs/ > > > total 25G > > > drwxr-xr-x 2 sagenb sagenb 4.0K 2010-08-31 19:36 . > > > drwxr-xr-x 4 sagenb sagenb 4.0K 2010-08-31 19:35 .. > > > -rw-r--r-- 1 sagenb sagenb 5.5K 2010-11-29 11:56 notebook.err > > > -rw-r--r-- 1 sagenb sagenb 25G 2011-01-17 01:31 notebook.out > > P.S. Just removing this file won't help as the running sagenb.org notebook > still has it open.
P.P.S. It _should_ be possible to empty the log file by finding the PID of the process that has it open, and then look for the relevant file descriptor in /proc/pid/fd/#, and then truncate the log file by doing 'echo -en > /proc/pid/fd/n' . -Willem Jan -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org