Re: Getting traffic_server to dump core

2011-08-27 Thread Rayson Ho
Hi Alan, I could only find 3 places that reset the flag to PR_SET_DUMPABLE... I was wondering if the control flows into mgmt/LocalManager.cc (removeRootPriv(), restoreRootPriv()... as main() calls listenForProxy() after calling setup_coredump()) and other places that calls seteuid but without res

Re: Getting traffic_server to dump core

2011-08-27 Thread Rayson Ho
There's also the setuid(2)/seteuid(2)/setguid(2)/seteguid(2) issue on Linux (the kernel does not dump core setXid programs). There are a few places that trafficserver calls those system calls (eg. in runAsUser()). There are 2 ways of working around this: 1) In Sun Grid Engine (now the commercial