From f14b4925245880ff11d420d3714cfd980ebec806 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 10 Jul 2009 12:51:06 -0400 Subject: [PATCH] Close opened LogManager instances to avoid issues with too many open files. --- bin/runalyzer-gather | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/runalyzer-gather b/bin/runalyzer-gather index 7c75e9f..6359937 100644 --- a/bin/runalyzer-gather +++ b/bin/runalyzer-gather @@ -157,6 +157,8 @@ def scan(fg, dbnames, progress=True): ftype = "text" features[fname] = ftype + logmgr.close() + if progress: pb.finished() @@ -236,6 +238,8 @@ def gather_single_file(outfile, infiles): transfer_data_table(db_conn, qname, logmgr.get_table(qname)) + logmgr.close() + pb.finished() db_conn.commit() -- GitLab