Commit Graph

5 Commits

Author SHA1 Message Date
pat.thompson 9cf9130509 Use LOG(CRIT) when existing so a diagnostic message is printed to the console before exiting.
Also clean up code slightly.
2014-03-31 12:08:20 +02:00
dgotwisner 06343d3812 Changed logger to use getpid() and gettid() instead of pthread_self(), as
pthread_self() just returns a pointer to an opaque data structure used by
pthreads, and the other two give information that is useful to relate to top,
ps, etc.
Accidently changed indent in SelfDetect::Exit(). Sorry Michael.
Found as a result of working through bug 1608.
2014-03-31 12:02:24 +02:00
dgotwisner 74ab41ae30 Add code to save various /proc files to a file when we crash (with core
generation). Tied to 2 configuration variables.
2014-03-31 11:16:25 +02:00
dgotwisner 3a2602c75d Remove "hack" and put in correct signal number define. 2014-03-31 11:01:19 +02:00
Michael Iedema 414179aa82 - merging in Dave's selfDetect branch so we can limit our components to only a single instance
- small changes to log messages, passing signal information through to the log and also echoing failed starts to to cout
- a HACK was needed to avoid signal 17, Dave can smooth this out in a more intelligent way than my workaround
- ticket #1549
2014-03-31 10:59:57 +02:00