I have an application that I'm running as a daemon. This application crashes from time to time, and I'd like to get the core file to debug it.
My questions are:
- In which script should I put the ulimt -c unlimited comand so it'll apply to the entire system (including daemons)?
- In which directory will the core file be located?
- Can I control the directory in which the core will be located?