HelloOur kamailio proxy (version 1.5.2 ) crashed today due to a segmentation fault:Feb 22
16:52:10 AW-PROXY-01 kernel: kamailio[3667]: segfault at 000000000000000b rip
00002ab2b47bf93f rsp 00007ffff62dd270 error 6Apparently due to lack of private
memory:[root@AW-PROXY-01 log]# cat proxy.log | grep ERROR | grep dbFeb 22 16:22:10
AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamailio[3667]:
ERROR:db_unixodbc:db_unixodbc_convert_rows: no private memory left
Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamailio[3667]:
ERROR:db_unixodbc:db_unixodbc_convert_result: converting rows failed
Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamailio[3667]:
ERROR:db_unixodbc:db_unixodbc_store_result: failed to convert result
Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamailio[3667]:
ERROR:core:db_do_query: error while storing result
Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamailio[3667]:
ERROR:db_unixodbc:db_unixodbc_fetch_result: no private memory left
Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamailio[3667]:
ERROR:htable:ht_db_load_table: Error while fetching result
I was hoping to see a core file somewhere but I haven't found one yet. I did not have
the line "disable_core_dump=no" set on the config file because supposedly is set
to no by default:
From the online guide for my version:
////////////////////
Disable_core_dumpCan be 'yes' or 'no'. By default core dump limits are set
to unlimited or
a high enough value. Set this config variable to 'yes' to disable core dump-ing
(will set core limits to 0).Default value is 'no'.
///////////////////How can I make sure that a core file is created after a situation like
this? Where will it be created?
How can I check the status of the private memory? I use the "kamctl fifo
get_statistics all" but I don't know which one relates to "private
memory":
Example:shmem:total_size = 2147483648
shmem:used_size = 16860928
shmem:real_used_size = 17033968
shmem:max_used_size = 19174528
shmem:free_size = 2130449680
shmem:fragments = 1850I know that with so little information is hard to diagnose, but if
anybody has an idea as to what else I can do I greatly appreciate it.
Thank you in advancefborot