我想调试一个失败的服务SIGPIPE
。所以我安装了一个信号处理程序SIGPIPE
并调用abort()
它以获得核心转储。
但我没有得到。我已经准备sysctl -w kernel.core_pattern=/tmp/core
好core
进入并且tmp
我设置了两者/etc/security/limits.conf
ulimit -c unlimited
那么,我怎样才能得到一个core
?
我的 xinetd-service 文件如下所示:
service netmaumau
{
socket_type = stream
protocol = tcp
port = 8899
type = UNLISTED
flags = KEEPALIVE
disable = no
wait = yes
user = heiko
instances = 1
cps = 1 10
server = /long/path/to/nmm-server
server_args = -a
log_on_success = PID HOST EXIT
log_on_failure = HOST
}