No subject


Wed Dec 21 17:12:16 CET 2011


////////////////////
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 ge=
t_statistics all" but I don't know which one relates to "private memory":
Example:shmem:total_size =3D 2147483648
shmem:used_size =3D 16860928
shmem:real_used_size =3D 17033968
shmem:max_used_size =3D 19174528
shmem:free_size =3D 2130449680
shmem:fragments =3D 1850I know that with so little information is hard to d=
iagnose=2C but if anybody has an idea as to what else I can do I greatly ap=
preciate it.
Thank you in advancefborot    =20
 		 	   		  =

--_0d6581f4-d5b0-4727-880e-ec70ee6ac272_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
</head>
<body class=3D'hmmessage'><div dir=3D'ltr'>


<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
<div dir=3D"ltr">&nbsp=3BHello<pre class=3D"code">Our kamailio proxy (versi=
on 1.5.2 ) crashed today due to a segmentation fault:</pre><pre class=3D"co=
de">Feb 22 16:52:10 AW-PROXY-01 kernel: kamailio[3667]: segfault at 0000000=
00000000b rip 00002ab2b47bf93f rsp 00007ffff62dd270 error 6</pre><pre class=
=3D"code">Apparently due to lack of private memory:</pre><pre class=3D"code=
">[root at AW-PROXY-01 log]# cat proxy.log | grep ERROR | grep db</pre><pre cl=
ass=3D"code">Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sb=
in/kamailio[3667]: ERROR:db_unixodbc:db_unixodbc_convert_rows: no private m=
emory left<br>Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/s=
bin/kamailio[3667]: ERROR:db_unixodbc:db_unixodbc_convert_result: convertin=
g rows failed<br>Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-di=
r/sbin/kamailio[3667]: ERROR:db_unixodbc:db_unixodbc_store_result: failed t=
o convert result<br>Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install=
-dir/sbin/kamailio[3667]: ERROR:core:db_do_query: error while storing resul=
t<br>Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kamai=
lio[3667]: ERROR:db_unixodbc:db_unixodbc_fetch_result: no private memory le=
ft<br>Feb 22 16:22:10 AW-PROXY-01 /usr/local/kamailio-install-dir/sbin/kama=
ilio[3667]: ERROR:htable:ht_db_load_table: Error while fetching result<br>&=
nbsp=3B<br>&nbsp=3BI was hoping to see a core file somewhere but I haven't =
found one yet. I did not have the line "disable_core_dump=3Dno" set on the =
config file because supposedly is set to no by default:<br>From the online =
guide for my version:<br>////////////////////<br>Disable_core_dump</pre><pr=
e class=3D"code">Can be 'yes' or 'no'. By default core dump limits are set =
to unlimited or<br>a high enough value. Set this config variable to 'yes' t=
o disable core dump-ing<br>(will set core limits to 0).</pre><pre class=3D"=
code">Default value is 'no'.<br>///////////////////</pre><pre class=3D"code=
">How can I make sure that a core file is created after a situation like th=
is? Where will it be created?<br>How can I check the status of the private =
memory? I use the "kamctl fifo get_statistics all" but I don't know which o=
ne relates to "private memory":<br>Example:</pre><pre class=3D"code">shmem:=
total_size =3D 2147483648<br>shmem:used_size =3D 16860928<br>shmem:real_use=
d_size =3D 17033968<br>shmem:max_used_size =3D 19174528<br>shmem:free_size =
=3D 2130449680<br>shmem:fragments =3D 1850</pre><pre class=3D"code">I know =
that with so little information is hard to diagnose=2C but if anybody has a=
n idea as to what else I can do I greatly appreciate it.<br>Thank you in ad=
vance</pre><pre class=3D"code">fborot&nbsp=3B</pre><pre class=3D"code">&nbs=
p=3B</pre><pre class=3D"code">&nbsp=3B</pre><pre class=3D"code">&nbsp=3B</p=
re><pre class=3D"code">&nbsp=3B</pre></div>
 		 	   		  </div></body>
</html>=

--_0d6581f4-d5b0-4727-880e-ec70ee6ac272_--



More information about the sr-users mailing list