Forum: Cfengine Help
Subject: cf-serverd launches multiple instances from inittab on Solaris 10?
Author: sdodier
Link to topic: https://cfengine.com/forum/read.php?3,19503,19503#msg-19503

Hello,

I am running cfengine 3, and have an issues with cf-serverd that I would like 
your input on.

I have put the following line in my /etc/inittab on a Solaris 10 10/08 
s10x_u6wos_07b X86 server:

cf3::respawn:/var/cfengine/bin/cf-serverd -f /var/cfengine/inputs/serverd.cf

ISSUE: 
After I run a "telinit Q", the cf-serverd process shows up in a ps command as 
expected, but within about 10 minutes another cf-serverd process shows up.  
Then in another couple minutes another cf-serverd shows up, and another.  This 
continues indefinitely. 

POSSIBLE SOLUTION:
I have changed the /etc/inittab line to be, 
"cf3::respawn:/var/cfengine/bin/cf-serverd --no-fork -f 
/var/cfengine/inputs/serverd.cf". 

QUESTIONS:
This has fixed the issue, but will this negatively affect the functionality of 
the cf-serverd process?  Is the forking necessary for the 250 clients that I 
will have checking in at various times?  If the --no-fork is not a solution, 
what other solutions would allow me to use the inittab and only have one 
process running?

Thanks in advance,
Steve

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to