NC - log files growing to over 1,5 Gb

Case number:671071-996848
Topic:Game: Other
Opened by:Bletchley Park
Opened on:Thursday, February 6, 2014 - 01:05
Last modified:Friday, February 7, 2014 - 20:19

My disk ran out of free disk space this evening. Upon inspection it turned out that log.txt had grown to over 1,5 gigabytes. That should not happen.

(Thu, 02/06/2014 - 01:05  |  8 comments)

Joined: 05/19/2009
Groups: Contenders

It is stuff like this that fills it up:

Autosaved puzzles/0000996813/0000108474/default/autosave.ir_solution.


core.scoring.CartesianBondedEnergy: Creating new peptide-bonded energy container (129)


core.pack.pack_rotamers: built 247 rotamers at 10 positions.

Thousands and thousands of lines of useless debug info.

brow42's picture
User offline. Last seen 3 weeks 5 days ago. Offline
Joined: 09/19/2011
Groups: None

Alright. Seriously. Foldit should be using a rotating log system so that the latest log is only 100 kb. We pretty much only look at these when it crashes, right?

Joined: 09/21/2011
Groups: Void Crushers

Even better, it should use debug, info, warn and fatal log levels and only warn and fatal in the players logfiles.

Joined: 05/19/2009
Groups: Contenders

The rotating log approach fails if you have multiple clients running. Each client should open its individual log file. And indeed, the logs should include only severe errors. That way you do not have to worry about deleting them either. If there is a log file, there is trouble.

v_mulligan's picture
User offline. Last seen 3 years 43 weeks ago. Offline
Joined: 03/04/2009
Groups: None

Just to reassure you, this complaint isn't falling on deaf ears. This will be corrected. The reason it's coming up is that Foldit uses many of the core components of Rosetta, the automated structure prediction and design software developed in the Baker lab. The NewChapter update brought much of the new functionality added to Rosetta recently into Foldit -- but that meant some additional output messages that were added recently to these core components now need to be turned off (and some of these were evidently overlooked). The developers are busily troubleshooting now, and this will be one of the issues that they'll address soon, I'm sure. (It should be one of the easier ones to fix.)

Angus's picture
User offline. Last seen 3 hours 48 min ago. Offline
Joined: 06/04/2008
Groups: Beta Folders

@ v_mulligan

I think you either missed or didn't address one of the big issues with log files -

When you run multiple clients from the same folder, each client should have its own log file. Can you make this happen ?

jflat06's picture
User offline. Last seen 6 hours 5 min ago. Offline
Joined: 09/29/2010
Groups: Window Group

Would the preferred solution be a rotated logfile for each running client?

jflat06's picture
User offline. Last seen 6 hours 5 min ago. Offline
Joined: 09/29/2010
Groups: Window Group

For now I've reduced the verbosity of Rosetta's output. You should see a lot less spam from running actions.


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons