changes:

    core:

        -   Childs didn't exit after CHILDIDLE expired. Fixed.

        -   Cache startup routines left a socket open, which was inherited
            and thus being used by childs, causing confusion in the family.
            Lots of chatting on this socket, and no one knew for which it
            was.

        -   Cache spawn routine now also looks for a existing socket and 
            whether we can connect to it, if so, don't spawn.
            Previously we just unlinked the socket file and spawned.

    options:
    
        - $MIN_PROC = 2; # keeping this many childs alive

        - $CHILDIDLE changed to 120 instead of 600

NOTE:

If you have for some reason more than one cache process running you should
do:

# ./policyd-weight -k stop
# ps xa | grep policyd-weight | awk {'print $1'} | xargs kill
# ./policyd-weight start

If you have still more than one cache instance, then there are issues which
should be tracked down.

If you decide to run in daemon mode, you should also delete the 
check_policy_service unix:private/policy main.cf entry. Or make sure that
the same version for daemon and master.cf is being used. Otherwise
the caches restart because of CVERSION mismatches.



-- 
    Robert Felber (PGP: 896CF30B)
    Munich, Germany

____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/

Reply via email to