<html><head></head><body bgcolor="#FFFFFF"><div>Have you tried doing a strace or gcore of it when it's running with --daemon?</div><div><br></div><div>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.<br><br>Steve on iPhone</div><div><br></div><div><br></div><div><br>On 27 Jun 2011, at 22:52, "Jason Moran" &lt;<a href="mailto:jmoran@secureachsystems.com">jmoran@secureachsystems.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>


<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->




<div class="Section1">

<p class="MsoNormal">I’ve been playing around with IVONA’s new unimrcp
plugin with unimrcp 1.0.0 (r1725) on OpenSuse 11.4<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">Anyway, when I start it up with the following, it stays in
the foreground of my SSH w/ the following command:<o:p></o:p></p>

<p class="MsoNormal">./unimrcpserver<o:p></o:p></p>

<p class="MsoNormal">That works! However, since it’s in the foreground when
I close the SSH window, it kills the process.<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">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.<o:p></o:p></p>

<p class="MsoNormal">./unimrcpserver –d<o:p></o:p></p>

<p class="MsoNormal">./unimrcpserver --daemon<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">If I attempt to background it by either using “&amp;”
or ctrl-z it says [1]+&nbsp; Stopped&nbsp; ./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”<o:p></o:p></p>

<p class="MsoNormal">./unimrcpserver &amp;<o:p></o:p></p>

<p class="MsoNormal">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.<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">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.<o:p></o:p></p>

<p class="MsoNormal">nohup ./unimrcpserver &amp;<o:p></o:p></p>

<p class="MsoNormal">nohup ./unimrcpserver –o 0 &amp;<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">Ideas??<br>
Thanks,<o:p></o:p></p>

<p class="MsoNormal">Jason Moran<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>




</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Join us at ClueCon 2011, Aug 9-11, Chicago</span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE</span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>