The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
core dumps pupp SUN Solaris 3 05-21-2009 07:44 PM
AIX core dumps bean66 High Level Programming 4 08-08-2008 06:42 PM
Using GDB to analyse different CORE dumps nsdeeps UNIX for Advanced & Expert Users 2 04-16-2008 12:10 AM
strcmp core dumps annie High Level Programming 6 02-26-2006 10:23 AM
Generating core dumps handak9 SUN Solaris 4 09-08-2004 04:07 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-15-2009
tsurko tsurko is offline
Registered User
  
 

Join Date: Jun 2007
Location: Sofia, Bulgaria
Posts: 35
enabling core dumps for daemon processes

Hello,
I am debugging a program which works as daemon. It sigfaults, unfortunately I'm unable to generate core dump file. Here is what I am doing:
Code:
tsurko@bastila:~$ ulimit -c unlimited
tsurko@bastila:~$ ulimit -c
unlimited
tsurko@bastila:~$ cat /etc/sysctl.conf | grep 'core_pattern'
kernel.core_pattern = "/var/log/dumps/core.%e.%p"
tsurko@bastila:~$ ls -l /var/log | grep dumps
drwxrwxrwt 2 root      root    4096 2009-10-04 12:34 coredumps
drwxrwxrwx 2 root      root    4096 2009-10-15 02:22 dumps
I'm compiling the application with -g to generate debug symbols but finally when it sigfaults no coredump file is generated neither in the directory specified above, nor in the directory where the bin is located. I've also checked in / (it is the working direcotry of the daemon process - no good).
What I am missing?
  #2 (permalink)  
Old 10-15-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 363
have you checked for other limits in the pam configs?
Sponsored Links
Reply

Bookmarks

Tags
coredump, daemon process, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0