Forum: CFEngine Help
Subject: Re: Error in client-server stream
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,24007,24038#msg-24038

I'm so sorry. I was wrong. In my case, I saw this kind of messages as well.


cf3>  -> Accepting a connection
cf3> Accepting connection from "::ffff:192.168.2.104"
cf3> New connection...(from ::ffff:192.168.2.104:sd 6)
cf3> Spawning new thread...
cf3> Too many threads (>=1000) -- increase server maxconnections?


I have no idea about "Resource temporarily unavailable" on the client, but on 
the server,


nova> Couldn't send
nova>  !!! System error for send: "Connection reset by peer"
nova> Send failed in GetFile
nova>  !!! System error for send: "Connection reset by peer"


would be able to replicate by interrupting cf-agent while it was copying files.

I ran cf-agent every 5 minutes so it happened to me when I had maxchildren a 
default value (=1).
http://www.cfengine.com/manuals/cf3-reference.html#max_005fchildren-in-agent

Increasing to "3" help me out a lot. At least I don't get emails from 
/var/cfengine/output with this error message.


Received signal 2 (SIGINT) while doing 


You should try as well.

Cheers,
--Nakarin

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to