<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<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> </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> </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> </o:p></p>
<p class=MsoNormal>If I attempt to background it by either using “&”
or ctrl-z it says [1]+ 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”<o:p></o:p></p>
<p class=MsoNormal>./unimrcpserver &<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> </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 &<o:p></o:p></p>
<p class=MsoNormal>nohup ./unimrcpserver –o 0 &<o:p></o:p></p>
<p class=MsoNormal><o:p> </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> </o:p></p>
</div>
</body>
</html>