kk6ecm at gmail.com
Tue Dec 15 15:46:38 EST 2015
Which version are you using (Debian or CentOS), and how is it decreasing memory?
Sent from my iPhone
> On Dec 15, 2015, at 11:12 AM, Loren Tedford <lorentedford at gmail.com> wrote:
> 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.
> killall /usr/local/bin/rc.updatenodelist
> sleep 2s
> killall rc.updatenodelist
> sleep 4s
> ## 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
> Main Line:1-631-686-8878 Option 1 for Loren.
> Fax Line 1:1-618-551-2755
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> 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...
More information about the App_rpt-users