Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launch command worker earlier #470

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 5, 2024

  1. launch command worker earlier

    since the command worker forks the main naemon process, it inherits all open
    files like ex.: pidfile, logfiles, etc... It will keep those references open, even
    if the main process rotates and reopens those files.
    
    This patch closes query handler and pid file references after starting the
    command worker and also moves starting the command worker before initializing
    the neb modules, so it won't inherit open logfiles from neb modules.
    
    references:
    
    - ConSol-Monitoring/omd#146
    
    Signed-off-by: Sven Nierlein <[email protected]>
    sni committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    e842ca7 View commit details
    Browse the repository at this point in the history