Lan*_*ndy 9 configuration kernel
我已经编辑/etc/security/limits.conf并将第一行更改为
#<domain> #<type> #<item> #<value>
* soft core unlimited
Run Code Online (Sandbox Code Playgroud)
但是vmware.logVMware Workstation 的仍然说:
No core dump taken. The core dump size limit is zero.
Run Code Online (Sandbox Code Playgroud)
还有其他设置我应该修改吗?谢谢。
我使用的是 Ubuntu 11.04 64 位,2.6.38-generic。
/etc/security/limits.conf设置限制,而不是默认值。要实际使用它,您必须ulimit -c unlimited在您正在使用的 shell 中运行。
与在每个 shell 中运行的任何 shell 命令一样,可以将其放入,例如~/.bashrc(每个用户)或/etc/bash.bashrc(所有用户)。