Bug 51489 - Foldingathome logfile fills up hard-disk
Bug#: 51489 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: gvermeylen@pandora.be
Component: Unspecified
URL: 
Summary: Foldingathome logfile fills up hard-disk
Keywords:  
Status Whiteboard: 
Opened: 2004-05-19 10:45 0000
Description:   Opened: 2004-05-19 10:45 0000
The logfile, created by 

nice -n 20 su foldingathome -c "/opt/foldingathome/client${CPU}/foldingathome ${FOLD_OPTS}" 2>&1 >/opt/foldingathome/log-${CPU} &

in /etc/init.d/foldingathome (function start() )
Created a file log-1 of > 6GB (harddisk full)

I just redirected 2>&1> to /dev/null

------- Comment #1 From Patrick Kursawe 2004-05-27 05:31:07 0000 -------
Can you tell me what was written in this logfile? It's not supposed to grow
that fast.

------- Comment #2 From Glen Vermeylen 2004-05-27 06:58:12 0000 -------
No :/.
Stupid mistake of me was to delete the log instantly when I found the cause of my full hd: I edited the /etc/init.d/foldingathome, but didn't drop the 'rm /opt/folding..../LOG{$CPU}' (I'm typing this out of memory under windows, so can't look it up). => next reboot: logfile gone :/.
And th

------- Comment #3 From Glen Vermeylen 2004-05-27 06:58:12 0000 -------
No :/.
Stupid mistake of me was to delete the log instantly when I found the cause of my full hd: I edited the /etc/init.d/foldingathome, but didn't drop the 'rm /opt/folding..../LOG{$CPU}' (I'm typing this out of memory under windows, so can't look it up). => next reboot: logfile gone :/.
And thén I thought about a bugreport.

But foldingathome already creates its own logfile, so I perhaps it isn't necessary to create another?

------- Comment #4 From Patrick Kursawe 2004-06-07 00:34:44 0000 -------
Fixing in -r2, thanks.