projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d0c9c
)
cpu-watcher.tac: improve error message
author
Brian Warner
<warner@lothar.com>
Thu, 7 Aug 2008 04:38:01 +0000
(21:38 -0700)
committer
Brian Warner
<warner@lothar.com>
Thu, 7 Aug 2008 04:38:01 +0000
(21:38 -0700)
misc/cpu-watcher.tac
patch
|
blob
|
history
diff --git
a/misc/cpu-watcher.tac
b/misc/cpu-watcher.tac
index 4546454e0dc459464758bdbbc411f500412779be..da8d29abedaae08b0e7c6db5ded1e2926b05bd85 100644
(file)
--- a/
misc/cpu-watcher.tac
+++ b/
misc/cpu-watcher.tac
@@
-197,6
+197,7
@@
class CPUWatcher(service.MultiService, resource.Resource, Referenceable):
while len(self.history[pid]) > max_history+1:
self.history[pid].pop(0)
except:
+ log.msg("error reading process %s (%s), ignoring" % (pid, name))
log.err()
pickle.dump(self.history, open("history.pickle", "wb"))
for (pid, name) in processes: