[Bug 1293] New: Swift log files too large
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1293 Summary: Swift log files too large Product: Swift Version: 0.94 Platform: PC OS/Version: Mac OS Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected]
From a discussion on swift-devel a few months ago. There's currently no easy way to reduce very large Swift log files generated while running psim. For full scale runs, the logs were >200GB. I tried minimal and reduced logging, but it didn't make any noticeable difference. log4j can't be easily modified since Swift is coming from a module. We ended up disabling Swift logging altogether by using -logfile /dev/null. Unfortunately by doing this, we're unable to use the log plotters, which would be nice to have.
--- I'm running a script in 0.94.1 that generates a large log file. The script only runs 41 tasks and finishes in under 5 minutes, but the log file is 2.7 gigabytes. I have: provenance.log=false tracing.enabled=false I've tried "-minimal.logging" and "-reduced.logging" but it doesn't make much of a difference. What else can I do to reduce the log file size? I'm running Swift from a module so I can't easily edit any swift-wide log4j settings. The log is at http://web.ci.uchicago.edu/~davidk/logs/combine-20140403-2122-csdnssc1.log.g... (17mb compressed, 2.7 gigabytes uncompressed) Thanks, David --- -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1293 --- Comment #1 from David Kelly <[email protected]> 2014-07-16 16:35:23 --- I talked with Yadu about this briefly, and he thought there may have been a fix for this in the latest 0.95. I'm going to give this a try and see how the log files look. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1293 David Kelly <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from David Kelly <[email protected]> 2014-09-26 18:21:40 --- Updated these scripts to run under 0.95 RC5 and the log file size looks good. The logs now are less than 1 megabyte for ~100 tasks (compared to 2.7 gigabytes for 41 tasks in 0.94). Marking this one as resolved. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1293 --- Comment #3 from Mihael Hategan <[email protected]> 2014-09-26 18:42:42 --- This is still an issue in 0.94 though, right? Combined with #1337, it prevents you from moving forward? If that's the case, I'd keep both open, since fixing this in 0.94 may be easier than fixing #1337 in 0.95. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1293 --- Comment #4 from David Kelly <[email protected]> 2014-09-26 18:52:11 --- I was able to work around 1337 today by splitting up the app tasks into three separate Swift scripts. I'll update that ticket in just a second with more details. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov