如何强制进程将核心转储到RHEL 6上?
我试着杀-3,但是这个过程还在运行。
杀死-SIGSEGV会杀死进程,但是没有生成核心:
terminate called after throwing an instance of 'omni_thread_fatal'
EVServices: ./../../../rw/db/dbref.h:251: T *RWDBCountedRef<T>::operator->() const [with T = RWDBHandleImp]: Assertion `(impl_) != 0' failed.
/evaluate/ev_dev87/shl/StartProcess.sh[69]: wait: 35225: Killed
Thu Dec 5 11:14:03 EST 2013 Exited EVServices, pid=35225, with ERROR returncode=265 signal=SIGKILL请告诉我,我还能尝试什么来迫使一个进程到核心。
发布于 2013-12-05 17:20:47
使用SIGABRT生成核心转储:kill -6 <pid>
这要求允许正在运行的进程编写核心转储,在运行该程序之前,在与运行程序相同的shell中发出ulimit -c unlimited。
https://stackoverflow.com/questions/20406335
复制相似问题