Friends,
Voicemail suddenly stopped the work.
Whenever the Voicemail receives a connection, at the moment when it should start recording, it causes a bug in Asterisk that does not appear in the logs and Asterisk died with segmentation fault.
I have no idea what is going on.
Somebody help me here?
I think, you want: upgrade your Asterisk to a recent stable or check/upgrade your hardware or debug your core file. there’s a little chance, that your configs are too complicate/buggy
imho, there can’t be standard recipe, sorry
whats you OS and Asterisk versions?
[quote=“wowks”]I think, you want: upgrade your Asterisk to a recent stable or check/upgrade your hardware or debug your core file. there’s a little chance, that your configs are too complicate/buggy
imho, there can’t be standard recipe, sorry
whats you OS and Asterisk versions?[/quote]
Thank you for your tips.
I use:
CentOS 5.3 x86_64
Asterisk 1.6.0.9 x86_64
Dell Vostro 220s with Intel Core 2 Duo 3Ghz, 4GB RAM.
I use the AsteriskNOW RPM packages from packages.digium.com
I have exactly the same problem with :
gentoo x86_64
a refresh install with asterisk 1.6.1.1 and freepbx 2.5.1 just updated.
freepbx.org/trac/attachment/ … 2/logs.txt
The last stable package in portage tree is 1.2.32
No 1.4, and I’d like to install something more recent on my new server.
[code]asterisk invoked oom-killer: gfp_mask=0x1280d2, order=0, oomkilladj=0
Pid: 15181, comm: asterisk Not tainted 2.6.27-openvz-briullov.1-r1 #11
Call Trace:
[] out_of_memory+0xb1/0x197
[] __alloc_pages_internal+0x3c7/0x47b
[] handle_mm_fault+0x257/0x732
[] do_page_fault+0x3ff/0x7c7
[] vma_merge+0x147/0x260
[] mprotect_fixup+0x3fd/0x503
[] __up_write+0x21/0x10f
[] error_exit+0x0/0x51
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
CPU 1: hi: 0, btch: 1 usd: 0
DMA32 per-cpu:
CPU 0: hi: 186, btch: 31 usd: 173
CPU 1: hi: 186, btch: 31 usd: 136
Normal per-cpu:
CPU 0: hi: 186, btch: 31 usd: 183
CPU 1: hi: 186, btch: 31 usd: 155
Active:1123104 inactive:812992 dirty:6840 writeback:106239 unstable:0
free:10355 slab:72474 mapped:4730 pagetables:7644 bounce:0
DMA free:10028kB min:12kB low:12kB high:16kB active:0kB inactive:0kB present:9112kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 2981 8021 8021
DMA32 free:24232kB min:4256kB low:5320kB high:6384kB active:1691688kB inactive:1124624kB present:3053248kB pages_scanned:208 all_unreclaimable? no
lowmem_reserve[]: 0 0 5040 5040
Normal free:7160kB min:7196kB low:8992kB high:10792kB active:2800728kB inactive:2127344kB present:5160960kB pages_scanned:662 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 34kB 28kB 316kB 532kB 564kB 4128kB 3256kB 2512kB 31024kB 02048kB 14096kB = 10028kB
DMA32: 724kB 738kB 5816kB 4332kB 2664kB 16128kB 10256kB 1512kB 21024kB 22048kB 24096kB = 24296kB
Normal: 1524kB 88kB 716kB 132kB 264kB 1128kB 0256kB 0512kB 01024kB 12048kB 1*4096kB = 7216kB
123118 total pagecache pages
108462 pages in swap cache
Swap cache stats: add 500015, delete 391553, find 3/5
Free swap = 0kB
Total swap = 1999992kB
2359296 pages RAM
322977 pages reserved
59621 pages shared
2005403 pages non-shared
asterisk invoked oom-killer: gfp_mask=0x1280d2, order=0, oomkilladj=0
Pid: 15181, comm: asterisk Not tainted 2.6.27-openvz-briullov.1-r1 #11
Call Trace:
[] oom_kill_process+0x52/0x1fb
[] select_bad_process+0x8b/0xfb
[] out_of_memory+0x155/0x197
[] __alloc_pages_internal+0x3c7/0x47b
[] handle_mm_fault+0x257/0x732
[] do_page_fault+0x3ff/0x7c7
[] vma_merge+0x147/0x260
[] mprotect_fixup+0x3fd/0x503
[] __up_write+0x21/0x10f
[] error_exit+0x0/0x51
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
CPU 1: hi: 0, btch: 1 usd: 0
DMA32 per-cpu:
CPU 0: hi: 186, btch: 31 usd: 173
CPU 1: hi: 186, btch: 31 usd: 136
Normal per-cpu:
CPU 0: hi: 186, btch: 31 usd: 158
CPU 1: hi: 186, btch: 31 usd: 163
Active:1123104 inactive:812992 dirty:6840 writeback:105610 unstable:0
free:10384 slab:72474 mapped:4730 pagetables:7644 bounce:0
DMA free:10028kB min:12kB low:12kB high:16kB active:0kB inactive:0kB present:9112kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 2981 8021 8021
DMA32 free:24232kB min:4256kB low:5320kB high:6384kB active:1691688kB inactive:1124624kB present:3053248kB pages_scanned:208 all_unreclaimable? no
lowmem_reserve[]: 0 0 5040 5040
Normal free:7276kB min:7196kB low:8992kB high:10792kB active:2800728kB inactive:2127344kB present:5160960kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 34kB 28kB 316kB 532kB 564kB 4128kB 3256kB 2512kB 31024kB 02048kB 14096kB = 10028kB
DMA32: 724kB 738kB 5816kB 4332kB 2664kB 16128kB 10256kB 1512kB 21024kB 22048kB 24096kB = 24296kB
Normal: 1694kB 118kB 916kB 132kB 264kB 1128kB 0256kB 0512kB 01024kB 12048kB 14096kB = 7340kB
123118 total pagecache pages
108462 pages in swap cache
Swap cache stats: add 500015, delete 391553, find 3/5
Free swap = 0kB
Total swap = 1999992kB
2359296 pages RAM
322977 pages reserved
59619 pages shared
2005391 pages non-shared
Out of memory: kill process 2355 (asterisk) or a child
Killed process 2355 (asterisk)
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
CPU 1: hi: 0, btch: 1 usd: 0
DMA32 per-cpu:
CPU 0: hi: 186, btch: 31 usd: 173
CPU 1: hi: 186, btch: 31 usd: 136
Normal per-cpu:
CPU 0: hi: 186, btch: 31 usd: 167
CPU 1: hi: 186, btch: 31 usd: 169
Active:1123104 inactive:812992 dirty:6840 writeback:104981 unstable:0
free:10384 slab:72445 mapped:4730 pagetables:7644 bounce:0
DMA free:10028kB min:12kB low:12kB high:16kB active:0kB inactive:0kB present:9112kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 2981 8021 8021
DMA32 free:24232kB min:4256kB low:5320kB high:6384kB active:1691688kB inactive:1124624kB present:3053248kB pages_scanned:208 all_unreclaimable? no
lowmem_reserve[]: 0 0 5040 5040
Normal free:7276kB min:7196kB low:8992kB high:10792kB active:2800728kB inactive:2127344kB present:5160960kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 34kB 28kB 316kB 532kB 564kB 4128kB 3256kB 2512kB 31024kB 02048kB 14096kB = 10028kB
DMA32: 724kB 738kB 5816kB 4332kB 2664kB 16128kB 10256kB 1512kB 21024kB 22048kB 24096kB = 24296kB
Normal: 1694kB 118kB 916kB 132kB 264kB 1128kB 0256kB 0512kB 01024kB 12048kB 14096kB = 7340kB
123118 total pagecache pages
108462 pages in swap cache
Swap cache stats: add 500015, delete 391553, find 3/5
Free swap = 0kB
Total swap = 1999992kB
2359296 pages RAM
322977 pages reserved
59627 pages shared
2005377 pages non-shared
------------[ cut here ]------------
WARNING: at kernel/bc/io_acct.c:257 ub_io_release_context+0x3f/0xc0()
Modules linked in: simfs vznetdev vzrst vzcpt vzdquota vzmon vzdev coretemp w83627ehf hwmon_vid hwmon i2c_i801 snd_hda_intel
Pid: 0, comm: swapper Not tainted 2.6.27-openvz-briullov.1-r1 #11
Call Trace:
[] warn_on_slowpath+0x51/0x77
[] tcp_transmit_skb+0x683/0x6c2
[] read_tsc+0x9/0x1c
[] getnstimeofday+0x52/0xad
[] sched_clock_cpu+0x123/0x12b
[] read_tsc+0x9/0x1c
[] ub_io_release_context+0x3f/0xc0
[] free_hot_cold_page+0x77/0x197
[] __pagevec_free+0x29/0x3b
[] release_pages+0x177/0x189
[] blk_rq_map_sg+0x109/0x255
[] pagevec_move_tail+0xdf/0xf2
[] rotate_reclaimable_page+0x5a/0x5e
[] end_page_writeback+0x14/0x3d
[] end_swap_bio_write+0x5b/0x66
[] raid_end_bio_io+0x34/0x83
[] raid1_end_write_request+0x1fd/0x221
[] __end_that_request_first+0x181/0x28d
[] blk_end_io+0x26/0x9a
[] scsi_end_request+0x27/0x82
[] scsi_io_completion+0x185/0x395
[] scsi_device_unbusy+0x63/0x7d
[] blk_done_softirq+0x62/0x6f
[] __do_softirq+0xa3/0x15b
[] call_softirq+0x1c/0x28
[] do_softirq+0x2c/0x68
[] irq_exit+0x81/0xc7
[] do_IRQ+0x13d/0x15e
[] ret_from_intr+0x0/0xa
[] mwait_idle+0x3c/0x3f
[] cpu_idle+0x88/0xd0
—[ end trace 68311499e6536643 ]—
OOM killed process asterisk (pid=2358, ve=0) exited, free=1912088 gen=1.[/code]
Asterisk crashes trying to read new voicemail messages . It was a hard one to find . Voicemail uses odbc to connect to mysql where the messages get stored. Solved the issue by deleting the troublesome message from the database .
In fact no, that is an asterisk issue : issues.asterisk.org/view.php?id=15428