It appears that resource limits (which include the maximum size of a core dump file) are set by PAM on login. The settings for these limits are in /etc/security/limits.conf, which on my system (which is unmodified) is comments only. A quick look at the source code suggests that the default core dump limit is 0 (zero), which means no dump at all is created (even though the message suggests otherwise).
In summary: edit /etc/security/limits.conf, set the core limit to be non-zero (measured in kilobytes), and log in again.
I hope that works!
Software, web, and programming tips: C++, Java, C, Linux, Windows, Cygwin, Firefox, Vim, WWW, RSS
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Sunday, October 28, 2007
Ubuntu - core dump
From https://answers.launchpad.net/ubuntu/+question/10616
Tuesday, October 9, 2007
Sunday, August 5, 2007
Compile Pidgin for Ubuntu 7.04
Download source: http://www.pidgin.im/download/
Install dependencies:
For MSN and GoogleTalk:
Compile:
Install dependencies:
sudo apt-get install gettext libglib2-dev libgtk2.0-dev libxml2-dev
For MSN and GoogleTalk:
sudo apt-get install libnss-dev libnspr-dev
Compile:
./configure
make
sudo make install
make install clean
Monday, April 30, 2007
UNIX/Linux - Build essentials
In order to build stuff in Ubuntu, I needed to install the build-essentials:
Who knew?
sudo apt-get install build-essential
Who knew?
Thursday, February 15, 2007
Linux - Reinstalled Kubuntu
A few days ago, I wanted to install the new subversion client for Kubuntu because the old one didn't have the 'svn diff -c' option. I guess I shouldn't have because it depends on a newer cpp package, which the system depends on it. So after installing the new cpp package, my thesis wouldn't compile. I tried installing the old cpp but it kept using the new one. So last night I reinstalled Kubuntu. I updated all the packages and everything looks good. Hopefully, I will be able to work on my thesis tonight.
Subscribe to:
Posts (Atom)