using named pipes for core files?

From: Average GG (averagegg_at_hotmail.com)
Date: 09/29/04


Date: 29 Sep 2004 09:10:32 -0700

I'm having trouble with not having enough disk space for very large core files.
What I would rather do is have named pipes (called core) be routed to a central
server that reads and preserves the core files.
I have had no luck with this and I suspect it is due to the kernel
using O_NOFOLLOW in do_coredump().
Does anyone know if this is possible (using 2.4.20 or thereabouts)?

I am creating a named pipe (0600) called core and then have a reader blocking
on an open of it, writing to a new file, and then closing the new file.
I have set kernel.core_uses_pid = 0. The core reader sees the open but
never gets anything on a read.

tks
AGG



Relevant Pages

  • dont dump core dumps
    ... core files in backup tapes is a waste of time and space, ... Forbidding the creation of core files by means such as "sysctl ...
    (freebsd-hackers)
  • Re: core files and security
    ... sh> tools to look through a core dump and extract, ... That the malicious user runs crack or whatever using those ... To my knowledge, crack itself doesn't examine core files, so ...
    (comp.unix.aix)
  • Re: clean core dumps from the system
    ... Recently I notice some users have accumulated core dumps (like "core. ... identify core dump files for removal? ... have a look at ulimit -c (limits size of core files, ... 'man 5 core' shows that yes, core.{4 digits] is, or can be standard. ...
    (linux.redhat)
  • Re: Java core dump size
    ... innocuous java applet can quickly bring a system to its knees by ... dumping core and filling the root filesystem on a standard configuration. ... to uniquely name and locate your core files. ... I can't restrict ulimit on this system. ...
    (comp.unix.sco.misc)
  • Support for named pipes under Windows?
    ... Are there any Tcl extensions that allow communication over named pipes ... I noticed the core itself uses anonymous pipes to ... implement command channels but there did not seem to be any support ...
    (comp.lang.tcl)