nscd 服务在没有核心转储文件的情况下崩溃。
ulimit -c 是无限的。
有人说这是因为 nscd 在 /etc/nscd.conf 中设置了“server-user”时使用了“setuid”。
然后我在 /etc/nscd.conf 中的“server-user”行的开头添加了一个“#”来删除它,然后重新启动服务。
现在它以 root 身份运行,可以通过“ps -ef | grep nscd”检查。
但是,以下命令仍然无法使 nscd 生成核心转储文件:kill -ABRT nscd-pid 或 kill -s SIGSEGV nscd-pid
谁能告诉我为什么以及如何?提前致谢!