Has anyone noticed extra processes being started in spite of promises? 
Currently my process list is
ps -ef|grep cf-
    root 23518     1   0 13:46:07 ?           0:00 
/var/cfengine/bin/cf-serverd
    root 27244 23420   0 14:49:08 pts/2       0:00 grep cf-
    root 26631     1   0 14:45:35 ?           0:00 
/var/cfengine/bin/cf-monitord
    root 26648     1   0 14:45:40 ?           0:00 
/var/cfengine/bin/cf-execd
    root 23509     1   0 13:45:58 ?           0:03 
/var/cfengine/bin/cf-monitord
    root 23528     1   0 13:46:17 ?           0:08 
/var/cfengine/bin/cf-execd
    root 26640     1   0 14:45:37 ?           0:00 
/var/cfengine/bin/cf-serverd

Note the pids and 
bash-3.00# cat /var/cfengine/cf-execd.pid 
26610

That pid is not even there.

processes promises:

            "cf-monitord"
                comment => "Ensure cf-monitord is running.",
                restart_class => "start_cfmonitord";

            "cf-serverd"
                comment => "Ensure cf-serverd is running.",
                restart_class => "start_cfserverd";

            "cf-execd(?! -F)"
# cf-exec is also added to the root cron table in cron.cf
                comment => "Ensure cf-execd is running forked.",
                restart_class => "start_cfexecd";

A few minutes prior there was only one process of each.  After a cronjob 
of cf-execd -F the doubling up appeared.  This host is a Solaris 10 Sparc 
system.  It is the only system I've seen that displays this behaviour. 
I've seen the same result using community 3.0.2 and 3.0.4.

Sincerely,
--
Neil Watson
416-673-3465

CONFIDENTIALITY WARNING 
This communication, including any attachments, is for the exclusive use of 
addressee and may contain proprietary and/or confidential information. If you 
are not the intended recipient, any use, copying, disclosure, dissemination or 
distribution is strictly prohibited. If you are not the intended recipient, 
please notify the sender immediately by return e-mail, delete this 
communication and destroy all copies.

AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
exclusif de la personne à laquelle il s’adresse et peut contenir de 
l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
distribution, reproduction ou utilisation de son contenu est strictement 
interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to