[Kamailio-Users] Force core dump

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 31 14:35:31 CEST 2009


do not forget to cc the mailing list ...


On 03/31/2009 02:44 PM, catalina oancea wrote:
> Hello
> I did that. I have:
>
> ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 38400
> max locked memory       (kbytes, -l) 32
> 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) 10240
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 38400
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
> [root at voipnow2 ~]# ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 38400
> max locked memory       (kbytes, -l) 32
> 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) 10240
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 38400
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
>
> I still see 'core was not generated' in kamailio log. Should I look
> for a core dump anyway? Where do I find it?
>   

if the message is 'core was not generated' then no core file around. Do 
you get any other error message before signal 11?

What is the kamailio version on operating system?

Cheers,
Daniel

>
>
>
>
>
>
> 2009/3/31 Daniel-Constantin Mierla <miconda at gmail.com>:
>   
>> Hello,
>>
>> set: 'ulimit -c unlimited'
>>
>> Cheers,
>> Daniel
>>
>>
>> On 03/31/2009 02:08 PM, catalina oancea wrote:
>>     
>>> Hello
>>>
>>> Can anybody please help me on how to force a core dump if a child
>>> crashes? I see this:
>>>
>>> /usr/sbin/kamailio[12328]: INFO:core:handle_sigs: child process 12379
>>> exited by a signal 11
>>> /usr/sbin/kamailio[12328]: INFO:core:handle_sigs: core was not generated
>>> /usr/sbin/kamailio[12328]: INFO:core:handle_sigs: terminating due to
>>> SIGCHLD
>>> /usr/sbin/kamailio[12393]: INFO:core:sig_usr: signal 15 received
>>>
>>> And if I run with gdb, it says 'Program exited normally'
>>>
>>> Has anybody managed to make a core dump in this case?
>>>
>>> Thanks
>>> Catalina
>>>
>>> _______________________________________________
>>> Kamailio (OpenSER) - Users mailing list
>>> Users at lists.kamailio.org
>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>
>>>       
>> --
>> Daniel-Constantin Mierla
>> SIP Router Masterclass - Kamailio (OpenSER) Training
>> http://www.asipto.com/index.php/sip-router-masterclass/
>>
>>
>>     

-- 
Daniel-Constantin Mierla
SIP Router Masterclass - Kamailio (OpenSER) Training
http://www.asipto.com/index.php/sip-router-masterclass/





More information about the sr-users mailing list