linux/Documentation
Neil Horman a293980c2e exec: let do_coredump() limit the number of concurrent dumps to pipes
Introduce core pipe limiting sysctl.

Since we can dump cores to pipe, rather than directly to the filesystem,
we create a condition in which a user can create a very high load on the
system simply by running bad applications.

If the pipe reader specified in core_pattern is poorly written, we can
have lots of ourstandig resources and processes in the system.

This sysctl introduces an ability to limit that resource consumption.
core_pipe_limit defines how many in-flight dumps may be run in parallel,
dumps beyond this value are skipped and a note is made in the kernel log.
A special value of 0 in core_pipe_limit denotes unlimited core dumps may
be handled (this is the default value).

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Reported-by: Earl Chew <earl_chew@agilent.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:21:00 -07:00
..
2009-04-07 08:12:38 +02:00
2007-07-19 10:04:47 -07:00
2008-02-14 00:16:13 -05:00
2008-10-16 11:21:30 -07:00
2009-06-22 10:12:35 +01:00
2008-02-03 15:54:28 +02:00
2009-06-20 01:10:38 -07:00
2009-09-20 12:27:42 +02:00
2009-09-10 10:46:55 +03:00
2009-09-19 01:55:27 -04:00
2008-01-11 18:22:30 -06:00
2007-05-09 08:57:56 +02:00
2009-06-18 13:04:04 -07:00
2009-08-23 10:32:40 +02:00
2008-04-29 02:49:47 -04:00
2006-11-30 04:58:40 +01:00
2009-09-23 06:46:41 -07:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2008-11-12 17:17:18 -08:00
2007-10-19 11:53:34 -07:00
2008-11-14 10:39:26 +11:00
2009-09-15 17:04:38 -07:00
2006-11-30 04:58:40 +01:00
2009-09-23 07:39:48 -07:00
2008-03-24 19:22:19 -07:00
2007-10-18 14:37:32 -07:00
2009-07-01 22:36:22 +02:00
2009-08-28 15:21:12 -04:00
2008-10-20 15:43:10 +02:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2008-08-12 16:07:30 -07:00
2009-03-31 15:18:37 +11:00
2008-11-12 17:17:17 -08:00
2006-06-27 17:32:47 -07:00
2005-06-21 18:46:32 -07:00
2009-04-14 09:00:23 +10:00