<div dir="ltr">I have an issue that from what I can tell is related to forking.  My configuration works just fine, and makes a request out to execute curl to hit an external API:<div><br></div><div><div>$var(my_query) = "curl -m 2 -s <a href="http://x.x.x.x/service/method?fromAddr=">http://x.x.x.x/service/method?fromAddr=</a>" + $var(fu) + "\&toAddr=" + $var(tu);</div></div><div><br></div><div>Normally this gives us back a nice JSON response, no problems.  All I do is enable snmpstats module, and it fails.</div><div><br></div><div>Mar  5 16:51:30 server-name /usr/sbin/kamailio[1051]: ERROR: exec [exec.c:291]: exec_avp(): cmd curl -m 2 -s <a href="http://x.x.x.x/service/method?fromAddr=me@mydomain.com\&toAddr=someone@mydomain.com">http://x.x.x.x/service/method?fromAddr=me@mydomain.com\&toAddr=someone@mydomain.com</a> failed. exit_status=-1, errno=10: No child processes<br></div><div><br></div><div>I have edited this for security reasons of course.  If I disable SNMP, the problem goes away.</div><div><br></div><div>Thoughts?</div></div>