Changes between Initial Version and Version 3 of Ticket #2239


Ignore:
Timestamp:
03/31/2015 04:08:04 AM (5 years ago)
Author:
matze
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2239

    • Property Cc fred added
    • Property Keywords nagios added
  • Ticket #2239 – Description

    initial v3  
    33A short investigation points to the use of `ssh(1)` and `gzip(1)` via Python's `submodule` within function `open_stats_file()`: Here the processes are spawned, but just their `.stdout` property is returned. Thus the later `.close()` outside that scope never terminates the child process, but only stops receiving data. The Garbage collector will eventually pick the now-only-cyclic references up, but here that does not happen before the scripts ends. 
    44 
    5 Please not that the Python 2.* documentation [https://docs.python.org/2/library/subprocess.html recommends against direct use of the stream properties] anyway. 
     5Please note that the Python 2.* documentation [https://docs.python.org/2/library/subprocess.html recommends against direct use of the stream properties] anyway.