<p dir="ltr">The biggest issue with ezstream is that for some reason you get multiple instances of the program running.. Not sure exactly what would be the best solution to actually fix this but the cron script is a big bandage with duck tape.. I really wish I knew how to write code..</p>
<p dir="ltr">Loren Tedford (KC9ZHV) <br>
Email: <a href="mailto:lorentedford@gmail.com">lorentedford@gmail.com</a><br>
Phone: 618-553-0806<br>
Fax: 16185512755<br>
<a href="http://www.lorentedford.com">http://www.lorentedford.com</a><br>
<a href="http://kc9zhv.com">http://kc9zhv.com</a></p>
<p dir="ltr">Sent from Droid Turbo from Verizon wireless network</p>
<div class="gmail_quote">On May 2, 2016 10:00 AM, "Brent Weatherall" <<a href="mailto:va3bfw@gmail.com">va3bfw@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the cron script to try Loren. Hopefully the daily restart of ezstream will cure any issues.</div><div class="elided-text"><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 25, 2016 at 3:57 PM Loren Tedford <<a href="mailto:lorentedford@gmail.com" target="_blank">lorentedford@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here is what i did to get ezstream working I will be updating this forum as well as to my fix for ezstream locking open randomly basicly it kinda goes like this..<div><br></div><div><a href="http://forum.kc9zhv.com/index.php/topic,23.0.html" target="_blank">http://forum.kc9zhv.com/index.php/topic,23.0.html</a><br></div><div><br></div><div><br></div><div>crontab -e </div><div><div>* */12 * * * sh /etc/asterisk/stopez.sh</div></div><div><br></div><div><br></div><div>script that i use to reset ezstream..</div><div><div>root@server:/etc/asterisk# cat stopez.sh</div><div>#!/bin/bash</div><div>kill -9 $(pgrep ezstream)&</div><div>sleep 2s</div><div>kill -9 pgrep ezstream</div><div>sleep 2s</div><div>/usr/sbin/asterisk -rx "module reload"</div></div><div><br></div><div><br></div><div>now to restart asterisk i run this customized script.</div><div><div>root@server:/etc/asterisk# cat restart.sh</div><div>#!/bin/bash</div><div>kill -9 $(pgrep ezstream)&</div><div>kill -9 pgrep ezstream</div><div>service asterisk stop</div><div>sleep 1s</div><div>killall asterisk</div><div>kill -9 $(pgrep ezstream)&</div><div>service asterisk stop</div><div>sleep 1s</div><div>service asterisk start</div></div><div><br></div><div><br></div><div>So far I have had no issues with ezstream since i did this..</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:arial;font-size:small">Loren Tedford (KC9ZHV) <br>Email: <a href="mailto:lorentedford@gmail.com" style="color:rgb(17,85,204)" target="_blank">lorentedford@gmail.com</a></div><div style="font-family:arial;font-size:small"><a href="http://www.lorentedford.com/" style="color:rgb(17,85,204)" target="_blank">http://www.lorentedford.com</a></div><div style="font-family:arial;font-size:small"><a href="http://www.kc9zhv.com" target="_blank">http://www.kc9zhv.com</a></div><div style="font-family:arial;font-size:small"><a href="http://forum.kc9zhv.com" target="_blank">http://forum.kc9zhv.com</a></div><div style="font-family:arial;font-size:small"><a href="http://hub.kc9zhv.com" target="_blank">http://hub.kc9zhv.com</a></div><div style="font-family:arial;font-size:small"><span style="font-family:arial,sans-serif"><a href="http://www.newwavesucks.com" target="_blank">http://www.newwavesucks.com</a></span><br></div><div style="font-family:arial;font-size:small"><a href="http://forum.newwavesucks.com" target="_blank">http://forum.newwavesucks.com</a></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 25, 2016 at 12:10 PM, Brent Weatherall <span dir="ltr"><<a href="mailto:va3bfw@gmail.com" target="_blank">va3bfw@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br>I've recently setup an allstar hub node and decided to stream it via broadcastify.<div><br>Setup has gone well - I'm running debian, with the allstar node running without issue, as well as streaming now being delivered via Broadcastify.</div><div><br></div><div>I've ran in to an issue where the ezstream process will occasionally pin at 100%. I can kill it fine, and asterisk gracefully resumes by creating a new working output stream.</div><div><br>Has anyone else encountered this cpu pinned usage? Will I have to set up something to monitor the process to kill it, so it restarts?</div><div><br></div><div>Thanks in advance for any suggestions</div><div>VA3BFW - Brent</div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@ohnosec.org" target="_blank">App_rpt-users@ohnosec.org</a><br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" rel="noreferrer" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" rel="noreferrer" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. <br></blockquote></div><br></div>
</blockquote></div>
</div></blockquote></div>