[asterisk-users] restart asterisk daily

Anthony Francis anthonyf at rockynet.com
Thu Feb 14 21:29:42 CST 2008


Al lists wrote:
> Always rely on free -m to see how much free memory you have not top.
> in terms of memory leak, i have asterisk running on servers with 
> uptime of 400 days (CentOs), if there was any leak, i'm guessing i 
> would have crashed server long time ago.
>
> On Thu, Feb 14, 2008 at 4:23 PM, Doug Bailey <dbailey at digium.com 
> <mailto:dbailey at digium.com>> wrote:
>
>     If you want to flush your disk cache to see how much memory is
>     being eaten cache pages, try this:
>      echo 3 >/proc/sys/vm/drop_caches
>
>     ----- "ast erisk" <asteriskbr99 at gmail.com
>     <mailto:asteriskbr99 at gmail.com>> wrote:
>     > _______________________________________________
>     > -- Bandwidth and Colocation Provided by
>     http://www.api-digital.com --
>     >
>     > asterisk-users mailing list
>     > To UNSUBSCRIBE or update options visit:
>     >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>       http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
You will see asterisk behave its worst with multiple queues and heavy 
dialplan logic. I restart my boxes with queues everynight at midnight 
just to reset the queue stats displayed with show queue.



More information about the asterisk-users mailing list