Forum: Cfengine Help
Subject: Re: cf-serverd stops working after a day
Author: Metabaron
Link to topic: https://cfengine.com/forum/read.php?3,18083,18348#msg-18348

phnakarin Wrote:
-------------------------------------------------------
> I didn't experience this problem on 3.0.5p1 either
> or maybe I didn't notice that. 
> 
> My cf-execd will run failsafe.cf before
> promises.cf and in failsafe.cf, I have a promise
> to ensure cf-serverd and cf-monitord would be
> running every 5 minutes.

The server is still running but in a state where it doesn't finnish the 
connections. When I restart it I get "connection reset" messages from our 
clients. I simple check if the servers is up doesn't work. I tried to solve if 
with a cronjob that checked the number of sessions in SYN_RECV state was above 
2 and restarted it. But that solution is way to ugly and is not acceptable. I 
guess I have to dig in the code to find what have been changed when I find time 
for it. If I can create a simplified test case for it I will send it in.

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

Reply via email to