Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've edited /etc/security/limits.conf and change the first line to

#<domain> #<type> #<item> #<value>
*         soft    core    unlimited

but the vmware.log of VMware Workstation still says:

No core dump taken. The core dump size limit is zero.

Is there any other setting I should modify? Thanks.

P.S.: I'm using Ubuntu 11.04 64 bit, 2.6.38-generic.

share|improve this question
What ulimit -a says? And syslog report something? Have you logged in again after editing the file? I would also try hard core. – enzotib Jul 21 '11 at 5:28
Thank you, enzotib. The 'ulimit -a' says the 'core file size (blocks, -c) 0'. So I guess the my modification in the limits.conf didn't work. I tried hard core (by changing the <type> from 'soft' to 'hard'), but it didn't work either. the core file size still be 0. – Landy Jul 22 '11 at 2:02

I am guessing that you are running the crashing process as root. If that is the case, change the domain from '*' to 'root'. The limit.conf lines that contain the wildcard (a.k.a. '*') does not affect the 'root' account.

share|improve this answer

/etc/security/limits.conf sets the limits, not the defaults. To actually use it you have to run ulimit -c unlimited in the shell you are using.

As with any shell commands to be run in every shell, this can be put in, for example, ~/.bashrc (per user) or /etc/bash.bashrc (all users).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.