How to simulate crash to aquire coredump?
Hi
We are running an ldap server on RHEL 6.. its run as user "user1" in .bash_profile we have set Code:
ulimit -c unlimited the system crashed (we think) and we had to restart the service. but we did not see any core dump file generated in home directory of user1. Can we write some program and put it in crontab for "user1" which will crash in say 10 sec or so and then we can see if core dump file is generated or not? We are not sure if our coredump settings are right or not.. when we login as "user1" and do "ulimit -a" we get Quote:
When we login as root we get Quote:
How can we test our core dump? Thing to note is : when we run a command of ldap as "user1" (which has a known bug) and gives us a segmentation fault (core dumped) .. we get the file in home directory |
there are signals which cause coredump, for example kill -3 will do this.
|
All times are GMT -5. The time now is 10:21 AM. |