I am currently using the latest version of FreePBX Distro and I am experiencing an issue on multiple, identical servers (with multiple clients) where the server software frequently crashes throughout the day and requires a hard reboot.
I have looked up this problem in the community and it seems to be related to a memory leak, the resolution being to upgrade/patch Asterisk.
I have two questions:
-How can I verify the crash is caused by a memory leak?
-If upgrading or patching Asterisk is the resolution, how do I successfully apply it for FreePBX Distro?
After a backup/restore and a reinstall using the full iso of Stable-1.812.210.57(Release Date-05/04/12) I am still experiencing crashes on two production systems.
Which is annoying, but I’m going to leave my emotions out of it.
Please keep in mind this is an isolated problem. We have been stepping up our distro conversions. Below please see my busiest system. It processes 1000 calls an hour, 250 extensions and it runs on a dual core AMD with 2G of RAM and doesn’t even break a sweat. This also should show you the state of a stable machine.
PRI 10.5.36.91 N 5060 Unmonitored
293 sip peers [Monitored: 244 online, 45 offline Unmonitored: 3 online, 1 offline]
[root@chagrin-backup ~]#
[root@chagrin-backup ~]# cat /etc/asterisk/freepbxdistro-version
1.812.210.58-1
[root@chagrin-backup ~]#
[root@chagrin-backup ~]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 104
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3000+
stepping : 2
cpu MHz : 800.000
[root@chagrin-backup ~]# cat /proc/meminfo
MemTotal: 1943708 kB
MemFree: 869864 kB
Buffers: 150840 kB
Cached: 614364 kB
[root@chagrin-backup ~]# cat /proc/vmstat
nr_anon_pages 57927
nr_mapped 7609
nr_file_pages 191314
nr_slab 16165
nr_page_table_pages 642
nr_dirty 235
nr_writeback 0
nr_unstable 0
nr_bounce 0
pgpgin 607007
pgpgout 6152863
pswpin 0
pswpout 0
pgalloc_dma 1
pgalloc_dma32 0
pgalloc_normal 213038
pgalloc_high 5484788
pgfree 5915781
chagrin-backup*CLI> cdr mysql status
Connected to asteriskcdrdb on socket file default using table cdr for 1 hours, 27 minutes, 27 seconds.
Wrote 1066 records since last restart and 198 records since last reconnect.
chagrin-backup*CLI>