[Freeswitch-users] UniMRCP Server as daemon won't connect RTSP
steveayre at gmail.com
Tue Jun 28 22:46:40 MSD 2011
Have you tried doing a strace or gcore of it when it's running with --daemon?
If it's running but not listening/responding it could be sonething like a locking problem. Tracing might show you what it is (or isnt) doing. Pid file could be one culprit.
Steve on iPhone
On 27 Jun 2011, at 22:52, "Jason Moran" <jmoran at secureachsystems.com> wrote:
> I’ve been playing around with IVONA’s new unimrcp plugin with unimrcp 1.0.0 (r1725) on OpenSuse 11.4
> Anyway, when I start it up with the following, it stays in the foreground of my SSH w/ the following command:
> That works! However, since it’s in the foreground when I close the SSH window, it kills the process.
> If I use the so-called daemon mode (-d or --daemon) it says it is going into daemon mode, but FS will immediately return that it “Failed to Connect to RTSP Server...” at the IP:port I specified. The unimrcpserver process is running, but doesn’t seem to respond to anything.
> ./unimrcpserver –d
> ./unimrcpserver --daemon
> If I attempt to background it by either using “&” or ctrl-z it says + Stopped ./unimrcpserver and FS will successfully make the RTSP connection but then nothing will happen. Mod_unimrcp will spit out a warning about “MRCP session has not opened after 5000 ms”
> ./unimrcpserver &
> Those are hard to kill. But when I kill -9 it then FS will finally remove the MRCP handle and tell me that it couldn’t allocate the speech engine.
> Lastly, I can nohup it, but then unimrcpserver eats up 95%+ of the CPU (instead of 1-3% as it does when I have it in the foreground), which it does not do when it runs in any other modes. It also makes a very, very large nohup.out file that keeps on growing. Even if I tell it to not log.
> nohup ./unimrcpserver &
> nohup ./unimrcpserver –o 0 &
> Jason Moran
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users