help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Still having issues with multiple cfagents starting on clients


From: Chris Kacoroski
Subject: Still having issues with multiple cfagents starting on clients
Date: Wed, 13 Oct 2004 10:17:01 -0700
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)

Hi,

I am still getting several clients getting started (e.g.

[10-171-246-144:~] root# ps ax | grep cf
  431  ??  Ss     0:00.00 /usr/local/sbin/cfservd
438 ?? Ss 0:43.63 /usr/sbin/ntpd -c /etc/ntp.cf -p /var/run/ntpd.pid
  445  ??  Ss     2:06.81 /usr/local/sbin/cfenvd
14336  ??  Ss     0:00.02 /usr/local/sbin/cfexecd -F
14377  ??  S      0:00.08 /var/cfengine/bin/cfagent
15091  ??  Ss     0:00.03 /usr/local/sbin/cfexecd -F
15155  ??  S      0:00.12 /var/cfengine/bin/cfagent

When this happens, the client cfengine locks up and nothing happens until I go in by hand and kill all the cfexecd -F and cfagent processes. I then run cfagent -IqK and it runs perfectly. The crontab is:

[10-171-246-144:~] root# crontab -l
0 * * * * /usr/local/sbin/cfexecd -F

So these are running once each hour.  My update.conf looks like:

classes:
  Night = ( Hr23 Hr00 Hr01 Hr02 Hr03 Hr04 Hr05 Hr06 )

control:
  actionsequence = ( copy tidy links )
  AddClasses = ( ExecResult(/usr/local/scripts/ldapnames --cfengine) )
  domain = ( nsd.org )
  workdir = ( "/var/cfengine" )
  !cfengine.!Night::
    SplayTime = ( 40 )
  !cfengine.Night::
    SplayTime = ( 360 )

copy:
  /dist/sys/apps/cfengine    dest=${workdir}/
    recurse=inf mode=700 type=binary

where cfengine is the cfengine server itself.

Hmmm, could it be because at night I run cfexecd each hour, but have a splaytime of 6 hours?

Any ideas appreciated.

Thanks,

ski


--
"When we try to pick out anything by itself, we find it
  connected to the entire universe"                John Muir

Chris "Ski" Kacoroski, ckacoroski@nsd.org, 425-489-6263




reply via email to

[Prev in Thread] Current Thread [Next in Thread]