[SR-Users] Core file issue

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 5 09:29:38 CEST 2013


Hello,

probably still some OS setting, the file could be too big.

You can try by setting lower values for kamailio private/shared memory, 
then the file should be smaller.

Cheers,
Daniel

On 7/4/13 6:57 PM, Krishna Kurapati wrote:
> Hi,
>
> I am having the problem with core file generation on ubuntu
>
> For some reason the core file is not complete even though ulimit is 
> set to unlimited
>
> $ullmit -a
>
> core file size          (blocks, -c) unlimited               <----- 
> Unlimitd
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 15891
> max locked memory       (kbytes, -l) 64
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 1024
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> real-time priority              (-r) 0
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 15891
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
>
>
> But when core is generated, and I try to open gdb, it is complaining 
> that the core file is smaller
>
> $sudo gdb /usr/local/sbin/kamailio core
> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.launchpad.net/gdb-linaro/>...
> Reading symbols from /usr/local/sbin/kamailio...done.
> BFD: Warning: /home/krishna/corefiles/core is truncated: expected core 
> file size >= 2164264960, found: 176357376.
> [New LWP 2547]
> Cannot access memory at address 0x7fe56e85d2a8
> Cannot access memory at address 0x7fe56e85d2a0
>
>
> What could be going wrong?
>
> Thanks
> Krish Kura
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130705/6182d15a/attachment.html>


More information about the sr-users mailing list