Re: [asterisk-users] restart asterisk daily

2008-02-15 Thread Rilawich Ango
I have multiple queues in my case. Do you mean multiple queues is one of the reason to consume memory? How to only reset the queue stats? 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

Re: [asterisk-users] restart asterisk daily

2008-02-14 Thread Doug Bailey
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 [EMAIL PROTECTED] wrote: ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com --

Re: [asterisk-users] restart asterisk daily

2008-02-14 Thread Al lists
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 [EMAIL

Re: [asterisk-users] restart asterisk daily

2008-02-14 Thread Erik Anderson
On Thu, Feb 14, 2008 at 8:38 PM, Al lists [EMAIL PROTECTED] wrote: Always rely on free -m to see how much free memory you have not top. You could install and use htop - it's a much more functional (and informative) version of top. It shows the difference between shared/buffer/cache memory.

Re: [asterisk-users] restart asterisk daily

2008-02-14 Thread Anthony Francis
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,

Re: [asterisk-users] restart asterisk daily

2008-02-14 Thread Tzafrir Cohen
On Thu, Feb 14, 2008 at 09:32:04PM -0600, Erik Anderson wrote: On Thu, Feb 14, 2008 at 8:38 PM, Al lists [EMAIL PROTECTED] wrote: Always rely on free -m to see how much free memory you have not top. You could install and use htop - it's a much more functional (and informative) version of

Re: [asterisk-users] restart asterisk daily

2008-02-14 Thread Erik Anderson
On Thu, Feb 14, 2008 at 9:37 PM, Tzafrir Cohen [EMAIL PROTECTED] wrote: It also consumes more CPU. True, a fraction more. If you have that little overhead on your server, though, that this would cause a problem, you probably should upgrade your hardware, IMHO. -eriik

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread randulo
On Feb 13, 2008 8:48 AM, Rilawich Ango [EMAIL PROTECTED] wrote: Actually, I donno it is a memory leak or not. I have a server only running asterisk. As time goes by, the free memory shown in the top is decreased. After I restart the asterisk, the free memory comes I observed the same

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread Tzafrir Cohen
On Wed, Feb 13, 2008 at 03:48:14PM +0800, Rilawich Ango wrote: Actually, I donno it is a memory leak or not. I have a server only running asterisk. As time goes by, the free memory shown in the top is decreased. After I restart the asterisk, the free memory comes again. That's why I wonder

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread Tzafrir Cohen
On Wed, Feb 13, 2008 at 02:31:11PM +0100, randulo wrote: On Feb 13, 2008 9:29 AM, Tzafrir Cohen [EMAIL PROTECTED] wrote: Gee, I only have 7 MB free! I must reboot to free some memory! And that Asterisk is using so much memory! Do I detect a tiny bit of sarcasm here? Someone from Digium (or

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread randulo
On Feb 13, 2008 9:29 AM, Tzafrir Cohen [EMAIL PROTECTED] wrote: Gee, I only have 7 MB free! I must reboot to free some memory! And that Asterisk is using so much memory! Do I detect a tiny bit of sarcasm here? Someone from Digium (or elsewhere) might be able to jump in and explain the asterisk

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread Tzafrir Cohen
On Wed, Feb 13, 2008 at 03:02:23PM +0100, Haan Patrick wrote: which distribution do you use? Maybe a Fedora 7 Debian Testing here. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread Atis Lezdins
On 2/13/08, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Wed, Feb 13, 2008 at 03:48:14PM +0800, Rilawich Ango wrote: Actually, I donno it is a memory leak or not. I have a server only running asterisk. As time goes by, the free memory shown in the top is decreased. After I restart the

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread ast erisk
So that´s why I´ve always get a red bar on home screen of the Trixbox? Phisical memory is always at top most use, near 100% (green bar turns red on high level of memory use), and below it there is Kernel / Application, Buffers, Cached memory uses. tks, On Feb 13, 2008 12:51 PM, Atis

Re: [asterisk-users] restart asterisk daily

2008-02-13 Thread Haan Patrick
which distribution do you use? Maybe a Fedora 7 greez patrick -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tzafrir Cohen Gesendet: Mittwoch, 13. Februar 2008 14:46 An: asterisk-users@lists.digium.com Betreff: Re: [asterisk-users] restart

Re: [asterisk-users] restart asterisk daily

2008-02-12 Thread Alex Balashov
Matt Riddell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rilawich Ango wrote: Hi all, I found that there will be a memory leak if asterisk running day by day without restart. Is it good to restart asterisk service daily? What is the better way to restart it daily like apache?

Re: [asterisk-users] restart asterisk daily

2008-02-12 Thread Marc Charbonneau
I found that there will be a memory leak if asterisk running day by day without restart. Is it good to restart asterisk service daily? What is the better way to restart it daily like apache? Probably depends on the version of Asterisk, but I don't restart daily From one in production used

Re: [asterisk-users] restart asterisk daily

2008-02-12 Thread Matt Riddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rilawich Ango wrote: Hi all, I found that there will be a memory leak if asterisk running day by day without restart. Is it good to restart asterisk service daily? What is the better way to restart it daily like apache? What makes you think

[asterisk-users] restart asterisk daily

2008-02-12 Thread Rilawich Ango
Hi all, I found that there will be a memory leak if asterisk running day by day without restart. Is it good to restart asterisk service daily? What is the better way to restart it daily like apache? ango ___ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] restart asterisk daily

2008-02-12 Thread Rilawich Ango
Actually, I donno it is a memory leak or not. I have a server only running asterisk. As time goes by, the free memory shown in the top is decreased. After I restart the asterisk, the free memory comes again. That's why I wonder if regular restart asterisk is necessary. Use a crontab to restart

Re: [asterisk-users] restart asterisk daily

2008-02-12 Thread Atis Lezdins
On 2/13/08, Rilawich Ango [EMAIL PROTECTED] wrote: Hi all, I found that there will be a memory leak if asterisk running day by day without restart. Is it good to restart asterisk service daily? What is the better way to restart it daily like apache? ango I have cron script that restarts