• Tollef Fog Heen's avatar
    Merge r4648: Keep track of file descriptors · f2d5f83f
    Tollef Fog Heen authored
    We clean the child process of unwanted open filedescriptors, but this
    can
    take time if there are hundreds of thousands of possible
    filedescriptors.
    
    Instead do it once, right at startup in the manager process, and then
    keep track of the fd's we use there, and have the child clean only
    up to the max seen, with an allowance for filedescriptors held by
    libraries (syslog, resolver, pidfiles etc)
    
    Fixes   #699
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@4676 d4fa192b-c00b-0410-8231-f00ffab90ce4
    f2d5f83f
mgt_vcc.c 13.6 KB