<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
probably still some OS setting, the file could be too big.<br>
<br>
You can try by setting lower values for kamailio private/shared
memory, then the file should be smaller.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 7/4/13 6:57 PM, Krishna Kurapati
wrote:<br>
</div>
<blockquote
cite="mid:CAOzCjAfpxOreyT2zpt87BQoAz72xK03SgBb7w6yz2RWC-hjXHA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div style="">I am having the problem with core file generation
on ubuntu</div>
<div style=""><br>
</div>
<div style="">For some reason the core file is not complete even
though ulimit is set to unlimited</div>
<div style=""><br>
</div>
<div style="">$ullmit -a</div>
<div style=""><br>
</div>
<div style="">
<div>core file size (blocks, -c) unlimited
<----- Unlimitd</div>
<div>data seg size (kbytes, -d) unlimited</div>
<div>scheduling priority (-e) 0</div>
<div>file size (blocks, -f) unlimited</div>
<div>pending signals (-i) 15891</div>
<div>max locked memory (kbytes, -l) 64</div>
<div>max memory size (kbytes, -m) unlimited</div>
<div>open files (-n) 1024</div>
<div>pipe size (512 bytes, -p) 8</div>
<div>POSIX message queues (bytes, -q) 819200</div>
<div>real-time priority (-r) 0</div>
<div>stack size (kbytes, -s) 8192</div>
<div>cpu time (seconds, -t) unlimited</div>
<div>max user processes (-u) 15891</div>
<div>virtual memory (kbytes, -v) unlimited</div>
<div>file locks (-x) unlimited</div>
<div><br>
</div>
<div><br>
</div>
<div style="">But when core is generated, and I try to open
gdb, it is complaining that the core file is smaller</div>
<div style=""><br>
</div>
<div style="">$sudo gdb /usr/local/sbin/kamailio core</div>
<div>GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04</div>
<div>Copyright (C) 2012 Free Software Foundation, Inc.</div>
<div>License GPLv3+: GNU GPL version 3 or later <<a
moz-do-not-send="true"
href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></div>
<div>This is free software: you are free to change and
redistribute it.</div>
<div>There is NO WARRANTY, to the extent permitted by law.
Type "show copying"</div>
<div>and "show warranty" for details.</div>
<div>This GDB was configured as "x86_64-linux-gnu".</div>
<div>For bug reporting instructions, please see:</div>
<div><<a moz-do-not-send="true"
href="http://bugs.launchpad.net/gdb-linaro/">http://bugs.launchpad.net/gdb-linaro/</a>>...</div>
<div>Reading symbols from /usr/local/sbin/kamailio...done.</div>
<div>BFD: Warning: /home/krishna/corefiles/core is truncated:
expected core file size >= 2164264960, found: 176357376.</div>
<div>[New LWP 2547]</div>
<div>
Cannot access memory at address 0x7fe56e85d2a8</div>
<div>Cannot access memory at address 0x7fe56e85d2a0</div>
<div><br>
</div>
<div><br>
</div>
<div style="">What could be going wrong?</div>
<div style=""><br>
</div>
<div style="">Thanks</div>
<div style="">Krish Kura</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
</body>
</html>