Hello, On 05/03/15 23:08, Daniel Goepp wrote: > 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: > > $var(my_query) = "curl -m 2 -s > http://x.x.x.x/service/method?fromAddr=" + $var(fu) + "\&toAddr=" + > $var(tu); > > Normally this gives us back a nice JSON response, no problems. All I > do is enable snmpstats module, and it fails. > > Mar 5 16:51:30 server-name /usr/sbin/kamailio[1051]: ERROR: exec > [exec.c:291]: exec_avp(): cmd curl -m 2 -s > http://x.x.x.x/service/method?fromAddr=m...@mydomain.com\&toAddr=some...@mydomain.com > <http://x.x.x.x/service/method?fromAddr=m...@mydomain.com%5C&toAddr=some...@mydomain.com> > failed. exit_status=-1, errno=10: No child processes > > I have edited this for security reasons of course. If I disable SNMP, > the problem goes away. > > Thoughts? Interesting! Can you run with debug=3 in kamailio.cfg and see if you figure out more about the situation from the log messages?
Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users