[App_rpt-users] rc.updatenodelist

Steve N4IRS szingman at msgstor.com
Tue Dec 15 20:59:07 UTC 2015


DIAL starts rc.updatenodelist once in rc.local. Never say never, but I 
can't see how it's running more then one instance.

Steve

On 12/15/2015 3:51 PM, Loren Tedford wrote:
> Actually i am using Ubuntu Server 64 bit however this problem has been 
> found in as i mentioned earlier in a reply in Debian and in Centos.. 
> Centos at first i didnt think the problem existed however after 
> looking into it deeper it did exist and similar scenario with debian 
> on my dial distro out at the repeater system.. I primarily use ubuntu 
> though on the rest of my servers ie home server and data center along 
> with my test server.. The only dial distro i have at moment is running 
> my two repeaters which are located off site. My centos version was 
> running on a netbook seemed to run great other than the zombie process 
> as i explained earlier in my email..
>
> Loren Tedford (KC9ZHV)
> Email: lorentedford at gmail.com <mailto:lorentedford at gmail.com>
> Main Line:1-631-686-8878 Option 1 for Loren.
> Fax Line 1:1-618-551-2755
> http://www.lorentedford.com <http://www.lorentedford.com/>
> http://www.kc9zhv.com
> http://hub.kc9zhv.com
>
> On Tue, Dec 15, 2015 at 2:46 PM, kk6ecm <kk6ecm at gmail.com 
> <mailto:kk6ecm at gmail.com>> wrote:
>
>     Which version are you using (Debian or CentOS), and how is it
>     decreasing memory?
>
>     Thanks
>     Bob
>     kk6ecm
>
>     Sent from my iPhone
>
>     On Dec 15, 2015, at 11:12 AM, Loren Tedford
>     <lorentedford at gmail.com <mailto:lorentedford at gmail.com>> wrote:
>
>>     Greetings!!
>>
>>     I found an issue here today with rc.updatenodelist for some
>>     reason their was multiple pids with multiple instances of this
>>     running on my server so here is what i did to fix this problem.
>>
>>     in side /etc/asterisk/ folder i created a directory called
>>     scripts Example mkdir scripts
>>     then inside this directory i created a script called
>>     nodelistupdate.sh Example nano nodelistupdate.sh
>>
>>     Once nano has opened up here is what i put inside the script.
>>     #!/bin/sh
>>     killall /usr/local/bin/rc.updatenodelist
>>     sleep 2s
>>     killall rc.updatenodelist
>>     sleep 4s
>>     /usr/local/bin/rc.updatenodelist
>>
>>
>>     ## Exit nano by ctrl x and saving changes with a y
>>
>>     Next i updated crontab-e to point to my directory and location of
>>     my script
>>     */30 * * * * sh /etc/asterisk/scripts/nodelistupdate.sh
>>
>>
>>     This so far has worked for me and has decreased memory by almost
>>     half on my server.. I hope this helps some one out that is having
>>     issues with this process running away with its self 73's Have a
>>     Merry Christmas!!
>>
>>     Loren Tedford (KC9ZHV)
>>     Email: lorentedford at gmail.com <mailto:lorentedford at gmail.com>
>>     Main Line:1-631-686-8878 <tel:1-631-686-8878> Option 1 for Loren.
>>     Fax Line 1:1-618-551-2755 <tel:1-618-551-2755>
>>     http://www.lorentedford.com <http://www.lorentedford.com/>
>>     http://www.kc9zhv.com
>>     http://hub.kc9zhv.com
>>     _______________________________________________
>>     App_rpt-users mailing list
>>     App_rpt-users at ohnosec.org <mailto:App_rpt-users at ohnosec.org>
>>     http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>>
>>     To unsubscribe from this list please visit
>>     http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and
>>     scroll down to the bottom of the page. Enter your email address
>>     and press the "Unsubscribe or edit options button"
>>     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.
>
>
>
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20151215/4fa0bd5b/attachment.html>


More information about the App_rpt-users mailing list