Project

General

Profile

Actions

Bug #18177

closed

The autosign checker does not close its file descriptor

Added by Paul Kelly about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Over a period of time lsof shows that the autosign.conf file is being opened repeatedly but not closed.

I am working with a very old code base but the fault is still there in development.

Actions #1

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/497 added
Actions #2

Updated by Anonymous about 7 years ago

This looks like the culprit: https://github.com/theforeman/smart-proxy/blob/develop/modules/puppetca/puppetca_main.rb#L25. But there are a couple more places where file descriptors will be leaked should an error occur.

Actions #3

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/522 added
Actions #4

Updated by Paul Kelly almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF