All, Is it possible to get core dump for ser-0.8.14 processes ? Thanks Gaurav
On Mar 12, 2007 at 10:36, Gaurav Kulshreshtha gaurav@sunrocket.com wrote:
All, Is it possible to get core dump for ser-0.8.14 processes ?
Yes, just make sure you don't have any limits for the core file (ulimit -c unlimited before starting ser) and that you start ser with a working directory (the -w switch) in which it is allowed to dump core (by default, if -w is not used ser will change its working dir. to /).
You should also run ser under the same user as the one that started it (don't use ser -u some_other_user). If you don't and ser suids to some other user, the linux kernel will prevent it from dumping core due to security reasons.
Andrei
On Wed, Mar 14, 2007 at 06:22:51PM +0100, Andrei Pelinescu-Onciul wrote:
You should also run ser under the same user as the one that started it (don't use ser -u some_other_user). If you don't and ser suids to some other user, the linux kernel will prevent it from dumping core due to security reasons.
On Linux 2.6 kernels, this restriction can be disabled by setting the sysctl variable "fs.suid_dumpable" to 1.
Regards