using named pipes for core files?
From: Average GG (averagegg_at_hotmail.com)
Date: 09/29/04
- Next message: Jose Maria Lopez Hernandez: "Re: customized ip stack over ethernet"
- Previous message: Mikko Rauhala: "Re: Forking Java GUI Apps"
- Next in thread: Kasper Dupont: "Re: using named pipes for core files?"
- Reply: Kasper Dupont: "Re: using named pipes for core files?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Jose Maria Lopez Hernandez: "Re: customized ip stack over ethernet"
- Previous message: Mikko Rauhala: "Re: Forking Java GUI Apps"
- Next in thread: Kasper Dupont: "Re: using named pipes for core files?"
- Reply: Kasper Dupont: "Re: using named pipes for core files?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|