How to dump core on crash?

Alan DeKok aland at ox.org
Tue Oct 11 00:32:26 CEST 2005


Martin Pauly <pauly at hrz.uni-marburg.de> wrote:
> - Look under /proc/<freerad-pid>/cwd to figure out the
> current working directory of the main freerad process,
> it's always '/'.
> 
> So where should I expect to find a core dump?

  If you've set "user" or "group" in radiusd.conf, you won't get a
core file.

  I'd suggest running the server in debugging mode, and redirecting
the output to /dev/null.  That way you control which directory it runs
in, and you're guaranteed to get a core file (assuming ulimit is set)

  Alan DeKok.




More information about the Freeradius-Users mailing list