Hi,

Thanks for the input. I will try your suggestions. By slowing down the server takes longer and longer to respond to prompts such as retrieving voice mail. I am recompiling my install this weekend as I have had a continued problem with logs (see other post) and this might be related to the problem. I will use your command to see if 'asterisk.pid' inflates over time...

Thanks Again

Tzafrir Cohen wrote:

On Wed, Dec 14, 2005 at 08:49:06AM -0700, Chuck Bunn wrote:
Hi,

I am planning on restarting asterisk nightly as I seem to be experiencing some sort of memory leak (Asterisk slows down over time).

This is not an indication of a memory leak. The size of the asterisk
process:

 ps `cat /var/run/asterisk/asterisk.pid` -o vsize -o rss

Do those inflate over time?

I have reviewed the Asterisk suggestions for management and one item is the routine rebooting of Asterisk. Since I have Asterisk 1.2.1 what is the recommend way to implement an automatic stop and start of asterisk

asterisk -rx 'restart now' from a daily cron job?

Mind you, this is a bad patch and *NOT A FIX*.

(there are changes in 1.2 with reload and restart) and is this enough or should I restart the hardware as well??

If you suspect a user-space memory leak than restarting the application
should free that memory.

BTW: what do you mean by "slow down"?


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to