[New-bugs-announce] [issue12361] Memory Leak in File Logging

Jacob Perkins report at bugs.python.org
Sun Jun 19 01:37:00 CEST 2011

New submission from Jacob Perkins <japerk at gmail.com>:

I have a custom proxy server that was using a WatchedFileHandler for logging requests (the files were rotated with logrotate). It was leaking memory, and I had to use supervisord's memmon plugin to restart it whenever it exceed a certain threshold. I eventually tried disabling the WatchedFileHandler, and memory usage flattened out. I also have a StreamHandler logging the requests, so I have to conclude the leak is in WatchedFileHandler or FileHandler. This is with Python 2.6.6.

components: Library (Lib)
messages: 138620
nosy: japerk
priority: normal
severity: normal
status: open
title: Memory Leak in File Logging
type: resource usage
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list